Re: [hatari-devel] Compiling Mercurial version of Hatari

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 30/10/13 02:54, Bob Carpenter a écrit :
I saw some floppy-related Hatari changes so I thought I would try to recompile the latest copy and see how it worked. Unfortunately, when I try to compile with Xcode 5.0.1, I get the following set of errors:

Undefined symbols for architecture x86_64:

  "_crc32", referenced from:

      _unzReadCurrentFile in unzip.o

     (maybe you meant: _crc32_reset, _crc32_add_byte )

  "_inflate", referenced from:

      _unzReadCurrentFile in unzip.o

  "_inflateEnd", referenced from:

      _unzCloseCurrentFile in unzip.o

  "_inflateInit2_", referenced from:

      _unzOpenCurrentFile in unzip.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


When I tried compiling just using configure, I was stopped because the linker did not see the SDL framework. That is probably because I only have the SDL framework installed and I do not have the SDL development libraries loaded on my system. However, I have never had a problem compiling using Xcode in the past. I did make sure to use the Xcode project that was generated by cake instead of copying over my own version.


If those of you who are compiling this on Linux or Windows are not having a problem compiling Hatari, then this question is directed at Jerome since I know he compiles Hatari using Xcode as well.


Missing libzip library, add -lz in linker options.

Is there any way to have XCode 3 with 10.9 ? I do not want to use one day Xcode 4+5....


Jerome


Bob C




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/