gstf / libspatialite-ios

libspatialite compiled for iOS
55 stars 47 forks source link

fail to build with x86_64 arch (likely) #13

Open gelosi opened 9 years ago

gelosi commented 9 years ago

Here's compilation errors ld: warning: ignoring file /tmp/strip.juXdPa, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x c 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): /tmp/strip.juXdPa ld: warning: -arch not specified ld: warning: ignoring file /tmp/strip.iq1ZV2, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x c 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): /tmp/strip.iq1ZV2

and many of those ld: warning: -arch not specified ld: warning: ignoring file /tmp/strip.XXXXX... warnings above

ld: warning: -arch not specified ld: warning: ignoring file /tmp/strip.WdnFf4, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x c 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (x86_64): /tmp/strip.WdnFf4 libtool: install: chmod 644 /Users/oleg/Dropbox/Work/libspatialite-ios/build/arm64/lib/libspatialite.a libtool: install: ranlib /Users/oleg/Dropbox/Work/libspatialite-ios/build/arm64/lib/libspatialite.a ranlib: object: /Users/oleg/Dropbox/Work/libspatialite-ios/build/arm64/lib/libspatialite.a(version.o) malformed object (string table at offset 0 with a size of 8, overlaps Mach-O headers at offset 0 with a size of 160) make[6]: *** [install-libLTLIBRARIES] Error 1