This error only shows if I use Makefile instead of Makefile.clang, so I had successfully compiled libobjcxx. (BTW, libobjcxx.so* file is not copied to obj folder, nor it gets copied to /usr/local/lib by make install).But I still get error while compiling Compiler
Making all in Compiler ... 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 On Tue, Jul 3, 2012 at 11:19 PM, David Chisnall <[email protected]> wrote: > Please check that it is passing -no-integrated-as to clang - with it, this > message should not appear. > > David > > On 3 Jul 2012, at 17:00, Reza Primardiansyah wrote: > >> objc_msgSend.x86-32.S: Assembler messages: >> objc_msgSend.x86-32.S:92: Error: junk `.get_pc_thunk.bx' after expression >> objc_msgSend.x86-32.S:96: Error: junk `.get_pc_thunk.bx' after expression >> objc_msgSend.x86-32.S:100: Error: junk `.get_pc_thunk.bx' after expression > > > -- Sent from my Apple II > > > _______________________________________________ > Etoile-dev mailing list > [email protected] > https://mail.gna.org/listinfo/etoile-dev _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
