Mbuni CVS & Kannel 1.4.1

"Vincent CHAVANIS" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <07fb01c6eeb1$48d4b740$9600a8c0@vince>
## 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: <[email protected]>
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.