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
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):
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
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
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
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
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*