Yep. there is two things to do:
a) either you remove flags arch flags, then Kannel will be compiled for your machine:
b) you tell compiler to look libgcc from the right place:
    "-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"

Please tell if this works. It would be good to fix this before the new release.

Aarno

On 12 Jan 2006, at 10:27, Cesar Gutierrez Corea wrote:

Hello,

I was trying to compile Kannel CVS in my PowerBook G4 (Mac OS X 10.4) and gmake report this:

gcc -D_REENTRANT=1 -I. -Igw -DDARWIN=1 -L/Developer/SDKs/ MacOSX10.4u.sdk/usr/lib -I/Developer/SDKs/MacOSX10.4u.sdk/usr/ include -arch ppc -arch i386 -I/usr/include/libxml2 -I/usr/include/ openssl -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread - liconv -L/usr/lib -lxml2 -lz -lpthread -liconv -lm -L/usr/lib - lcrypto -lssl
/usr/bin/ld: for architecture i386
/usr/bin/ld: warning /usr/lib/libgcc_s.1.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded) /usr/bin/ld: warning fat file: /usr/lib/system/ libmathCommon.A.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: Undefined symbols:
_fegetround referenced from libSystem expected to be defined in / usr/lib/system/libmathCommon.A.dylib
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccyJEXm4.out (No such file or directory)
make: *** [wmlscript/wmlsc] Error 1

It seems that is trying to create an Universal Binay (i386 and PowerPC).

Does anybody run Kannel on Mac OS X? I would like to have Kannel in my development machine.


--
Cesar Gutierrez Corea
Software Engineer
[EMAIL PROTECTED]





Reply via email to