How did you compile libobjc2? The Makefile builds libobjcxx.so and should install it in /usr/local/lib by default.
David On 3 Jul 2012, at 15:59, Reza Primardiansyah wrote: > You're right. There is error there stating that it cannot find > libobjcxx as show below. But my self compiled libobjc2 from trunk > doesn't yield libobjcxx, only libobjc. What step did I miss? > Thanks > > Making all for framework LanguageKitCodeGen... > Linking framework LanguageKitCodeGen ... > /usr/bin/ld: cannot find -lobjcxx > /usr/bin/ld: cannot find -lobjcxx > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > Copying resources into the framework wrapper... > Making all in Runtime ... > Making build-headers for framework LanguageKitRuntime... > > Build Project: LanguageKitRuntime > > Making all for framework LanguageKitRuntime... > make[3]: Nothing to be done for `internal-framework-compile'. > Making all for framework LanguageKit... > make[2]: Nothing to be done for `internal-framework-compile'. > Copying resources into the framework wrapper... > > > On Tue, Jul 3, 2012 at 5:17 PM, David Chisnall <thera...@sucs.org> wrote: >> This sounds like the LanguageKit compile failed, please can you check for >> errors there? >> >> David >> >> On 3 Jul 2012, at 07:36, Reza Primardiansyah wrote: >> >>> Hi, >>> I tried to compile etoile from trunk on ubuntu 12.04 but I had error >>> as shown below. I had compiled GNUstep from trunk. Can anyone give me >>> a hint about what I did wrong? I use clang from ubuntu. >>> >>> Build Project: Compiler >>> >>> Making all for tool edlc... >>> Compiling file main.m ... >>> Linking tool edlc ... >>> ./obj/edlc.obj/main.m.o: In function >>> `-[LKCompilerWarningIgnoringDelegate >>> compiler:generatedError:details:]': >>> /home/reza/Code/Etoile/Languages/Compiler/main.m:44: undefined >>> reference to `kLKHumanReadableDescription' >>> ./obj/edlc.obj/main.m.o: In function `main': >>> /home/reza/Code/Etoile/Languages/Compiler/main.m:204: undefined >>> reference to `ETGetOptionsDictionary' >>> ./obj/edlc.obj/main.m.o: In function `staticCompileScript': >>> /home/reza/Code/Etoile/Languages/Compiler/main.m:136: undefined >>> reference to `defaultStaticCompilterWithFile' >>> ./obj/edlc.obj/main.m.o: In function `jitScript': >>> /home/reza/Code/Etoile/Languages/Compiler/main.m:105: undefined >>> reference to `defaultJIT' >>> ./obj/edlc.obj/main.m.o:(.data.rel.ro.__objc_class_ref_LKCompiler[__objc_class_ref_LKCompiler]+0x0): >>> undefined reference to `__objc_class_name_LKCompiler' >>> clang: error: linker command failed with exit code 1 (use -v to see >>> invocation) >>> make[5]: *** [obj/edlc] Error 1 >>> make[4]: *** [internal-tool-all_] Error 2 >>> make[3]: *** [edlc.all.tool.variables] Error 2 >>> make[2]: *** [internal-all] Error 2 >>> make[1]: *** [internal-all] Error 2 >>> make: *** [internal-all] Error 2 >>> >>> I use clang 3 from ubuntu as shown below >>> >>> $ clang -v >>> Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM >>> 3.0) >>> Target: i386-pc-linux-gnu >>> Thread model: posix >>> >>> _______________________________________________ >>> Etoile-dev mailing list >>> Etoile-dev@gna.org >>> https://mail.gna.org/listinfo/etoile-dev >> >> >> -- Sent from my STANTEC-ZEBRA >> >> >> _______________________________________________ >> Etoile-dev mailing list >> Etoile-dev@gna.org >> https://mail.gna.org/listinfo/etoile-dev > > _______________________________________________ > Etoile-dev mailing list > Etoile-dev@gna.org > https://mail.gna.org/listinfo/etoile-dev -- Sent from my PDP-11 _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev