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, 201
Same errors :(
2010/8/6 Vincent CHAVANIS
>
> just configure kannel --with-cflags='-rdynamic -fPIC'
>
> Vincent.
>
>
> Le 06/08/2010 10:12, Emmanuel CHANSON a écrit :
>
>> Same errors:
>>
>> Note I am using Fedora 13 (x86_64)
>>
>> # make clean
>> # make distclean
>>
>> for both kannel and mbuni
just configure kannel --with-cflags='-rdynamic -fPIC'
Vincent.
Le 06/08/2010 10:12, Emmanuel CHANSON a écrit :
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 ?)
The
I'm not sure what "Fedora factor" could mess here, but:
1) take a look at compilation commands of kannel and mbuni (is -fPIC
flag present in both cases)
2) remove any old installation of kannel before installing new one;
also check ld.so.conf: do newly installed kannel libs directory appear
on th
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 --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 tr
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
> do you recompile mbuni with '-fPIC' too?
>
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): r