aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: How to compile universal binary libgeoip?  (Read 2959 times)

armadillo

  • Approved Newbie
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 24
How to compile universal binary libgeoip?
« on: July 13, 2008, 06:56:20 PM »

While compile libgeoip-1.4.4 on Mac OS X 10.5 with configure parameters CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"  CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"

however, it says:

ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/H2/H2VTENrBGviv8JlMZWy1Uk+++TI/-Tmp-//ccfBSbSE.out (No such file or directory)
make[1]: *** [geoiplookup] Error 1
make: *** [all-recursive] Error 1

I don't know which non-Uinversal library it links while compile. How to solve this problem? Thanks!
Logged