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.
>
>
>
> ----- Original Message ----- 
> From: "Paul Bagyenda" <[EMAIL PROTECTED]>
> To: "Mbuni MMS Gateway Developers" <devel@mbuni.org>
> Cc: "Mbuni MMS Gateway Users List" <users@mbuni.org>
> Sent: Thursday, October 12, 2006 5:32 PM
> Subject: [Users] CVS updated to use Kannel 1.4.1
>
>
>> Hi All,
>>
>>  CVS has been updated to compile with Kannel 1.4.1. The most
>> significant change is that the need to patch Kannel is gone
>> (hopefully for good!)
>>
>> This is the first step towards realising the next release of Mbuni.
>> Testing and bug reports would be most welcome.
>>
>> Thanks
>>
>> Paul
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@mbuni.org
>> http://mbuni.org/mailman/listinfo/users_mbuni.org
>>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel@mbuni.org
> http://mbuni.org/mailman/listinfo/devel_mbuni.org
> 



_______________________________________________
Devel mailing list
Devel@mbuni.org
http://mbuni.org/mailman/listinfo/devel_mbuni.org

Reply via email to