## FYI  for people that are using mbuni CVS with kannel 1.4.1 ##,

In that way,

Kannel should be compiled with -fPIC which is not the case by default.
I've just recompiled kannel CVS tree, and recompiled mbuni sucessfully.

kannel : ./configure --with-cflags='-fPIC'  should work.

Vincent.


----- Original Message ----- From: "Vincent CHAVANIS" <[EMAIL PROTECTED]>
To: <devel@mbuni.org>
Sent: Friday, October 13, 2006 11:27 AM
Subject: Re: [Devel] [Users] CVS updated to use Kannel 1.4.1


good news !!!

But seems to have some incompatibilities with X86_64

gcc -shared
.libs/mms_billing_shell.o  -L/usr/lib64/mysql -L/usr/lib64 
-L/usr/local/lib/kannel
-lgw -lrt -lresolv -lxml2 -L/usr/lib64/openssl/lib -lmysqlclient_r -lz -lcrypt
-lnsl -lm -lssl -lcrypto -lwap -lgwlib -lpthread -ldl  -Wl,-soname 
-Wl,libmmsc_billing_shell.so.0
-o .libs/libmmsc_billing_shell.so.0.0.0
/usr/bin/ld: /usr/local/lib/kannel/libgwlib.a(gwmem-native.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/kannel/libgwlib.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmmsc_billing_shell.la] Erreur 1

Vincent.

--
Telemaque - 06200 NICE - (FR)
Service Technique/Reseau - NOC
Developpement SMS/MMS/Kiosques
http://www.telemaque.fr/
[EMAIL PROTECTED]
Tel : +33 4 93 97 71 64 (fax 68)


Reply via email to