Re: [Devel] [Users] CVS updated to use Kannel 1.4.1

2006-10-13 Thread Paul Bagyenda
True. Mbuni 'inherits' Kannel's compile flags.

On Oct 13, 2006, at 13:01, Vincent CHAVANIS wrote:

> 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: 
> 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" 
>> Cc: "Mbuni MMS Gateway Users List" 
>> 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


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


Re: [Devel] [Users] CVS updated to use Kannel 1.4.1

2006-10-13 Thread Loïc Minier
On Fri, Oct 13, 2006, Vincent CHAVANIS wrote:
> 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.

 Yes, x86_64 doesn't support non-PIC for shared libraries.  Kannel
 should default to PIC, but uses an aged autotools collection.

-- 
Loïc Minier <[EMAIL PROTECTED]>

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


Re: [Devel] [Users] CVS updated to use Kannel 1.4.1

2006-10-13 Thread Vincent CHAVANIS
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: 
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" 
> Cc: "Mbuni MMS Gateway Users List" 
> 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


Re: [Devel] [Users] CVS updated to use Kannel 1.4.1

2006-10-13 Thread Vincent CHAVANIS
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" 
Cc: "Mbuni MMS Gateway Users List" 
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