From: Leo I. <leo...@gm...> - 2010-09-14 21:44:35
|
cannot find symbol for -lcrt1.10.5.o is a mistake apple made when writing OS X leopard. On any other system, it looks for crt1.o. However, on Mac OS 10.5, Apple made it look for crt1.*10.5*.o when compiling for Leopard, because the default was to compile for 10.4, for increased compatibility. This is fixed in 10.6 (Snow Leopard). To fix this yourself symbolically link crt1.10.5.o to crt1.o. I think xmlvm is designed for Leopard, so it uses crt1.10.5.o instead of crt1.o. The symbol "undefined reference to main in -lcrt1.10.5.o" says that you are not linking your project into the object file, or you don't have a main function/method. The undefined reference in crt1.o is defined by your main method. If you don't have a main method, then you will get this error. On Tue, Sep 14, 2010 at 2:58 PM, Thomas Holzmann <hol...@gm...> wrote: > Hi, > > I'm really like the idea of XMLVM and therefore wanted to try to > cross-compile one of my Android apps to iOS. > > Everything workes fine until I have to execute the makefile. It says: > > library not found for -lcrt1.10.5.o > > I looked into the Makefile and found out that it is configured to run on > iPhone simulator 3.1. I have the simulators 3.2, 4.0 and 4.1 installed > but not 3.1, so I tried to change it to 3.2 in the Makefile. > After that there was another error (undefined symbols in crt or > something like this). However, it also didn't work. > > So is there a possibility to get XMLVM to work on newer simulators or > does it just work on 3.1 at the moment? > > Thanks! > > Regards, > Thomas > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |