Hi Eric, Le 10 nov. 08 à 08:17, Eric Wasylishen a écrit :
> Hey, seems like when doing the first make of Etoile trunk on a fresh > system where Etoile is not installed, the build stops when trying > trying to link an app to EtoileFoundation: > > Linking framework SmalltalkKit ... > /usr/bin/ld: cannot find -lEtoileFoundation > collect2: ld returned 1 exit status > Creating SmalltalkKit.framework/Versions/0/Resources/Info- > gnustep.plist... > Making all in Compiler... > > Build Project: Compiler > > Making all for tool edlc... > Compiling file main.m ... > Linking tool edlc ... > /usr/bin/ld: cannot find -lEtoileFoundation > collect2: ld returned 1 exit status > make[3]: *** [obj/edlc] Error 1 > make[2]: *** [edlc.all.tool.variables] Error 2 > make[1]: *** [internal-all] Error 2 > make: *** [internal-all] Error 2 > > I tried to make Melodie, and it had the same problem. Doing a make > install of EtoileFoundation fixes things, and I could complete the > build. > > This was with latest svn of everything on Ubuntu 8.10. > Thanks I cannot reproduce the problem on my Ubuntu install (7.10). I know this issue can arise from time to time if you have previously compiled EtoileFoundation with make test=yes. In this case, I get the following ouput: Build Project: Compiler Making all for tool edlc... Compiling file main.m ... Linking tool edlc ... /home/qmathe/reps/testEtoile/Build/libEtoileFoundation.so: undefined reference to `__objc_class_name_UKTestHandler' collect2: ld returned 1 exit status The solution is to do a make clean && make in EtoileFoundation to get rid of the UKTestHandler symbol. However it looks like your issue has nothing to do with that. You might try to delete the Build directory, may be there is a permission issue that prevents EtoileFoundation to be exported into this Build directory when it gets compiled. If you still encounter the problem, could you post the content of the Build directory (ls -l) and the result of compiling Compiler with make messages=yes. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
