Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-09 Thread Emmanuel CHANSON
Hello, It works using the procedure from Piotr so thanks a lot !!! I don't know what is the diference with the way I run the compiling. Regards, Emmanuel 2010/8/6 Piotr Isajew p...@ex.com.pl that works for me: For kannel: # CFLAGS=-fPIC ./configure --prefix=/usr/local/mbuni # make

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-06 Thread Piotr Isajew
do you recompile mbuni with '-fPIC' too? On Fri, Aug 06, 2010 at 07:24:56AM +0200, Emmanuel CHANSON wrote: When compiling kannel using : ./configure --with-mysql --with-cflags=-fPIC And then mbuni I got the same errors: */usr/bin/ld: /usr/lib64/kannel/libgwlib.a(gwmem-native.o):

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-06 Thread Emmanuel CHANSON
Yes I tried using: For Kannel: # ./configure --with-mysql --with-cflags=-fPIC ... # make rpm For Mbuni # ./configure --with-kannel-dir=/root/rpmbuild/BUILD/kannel-svn/ --with-cflags=-fPIC # make but same error BR, Emmanuel 2010/8/6 Piotr Isajew p...@ex.com.pl do you recompile mbuni with

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-06 Thread Piotr Isajew
I know I have had this problem on x86_64, I'm also sure, that it's solvable somehow (however I don't remember the actual solution). Maybe try: CFLAGS=-fPIC ./configure for both projects instead of --with-cflags option. On Fri, Aug 06, 2010 at 06:34:20PM +1100, Emmanuel CHANSON wrote: Yes I

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-06 Thread Emmanuel CHANSON
Same errors: Note I am using Fedora 13 (x86_64) # make clean # make distclean for both kannel and mbuni before compiling I don't run ./bootstrap for each (is it necessary ?) Then for Kannel: # CFLAGS=-fPIC ./configure --with-mysql Ok # make rpm Ok For Mbuni: # CFLAGS=-fPIC ./configure

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-06 Thread Piotr Isajew
that works for me: For kannel: # CFLAGS=-fPIC ./configure --prefix=/usr/local/mbuni # make make install # echo /usr/local/mbuni/lib /etc/ld.so.conf # ldconfig For mbuni: # CFLAGS=-fPIC ./configure --prefix=/usr/local/mbuni --with-kannel-dir=/usr/local/mbuni # make On Fri, Aug 06, 2010

Re: [Users] Mbuni compilation failed on linux x86_64

2010-08-05 Thread Emmanuel CHANSON
When compiling kannel using : ./configure --with-mysql --with-cflags=-fPIC And then mbuni I got the same errors: */usr/bin/ld: /usr/lib64/kannel/libgwlib.a(gwmem-native.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC*