Le vendredi 31 août 2007 à 11:53 +0200, Tanguy Eric a écrit :
When i try to compile a lib in rawhide i obtain this error in
configure
section whereas there is no problem in F-7 :
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: ld.so.conf.d/*.conf: No
such file or directory
GNU/Linux ld.so
Someone could help me to solve this ?
Thanks
Eric
It seems this not the problem.
The problem is :
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../upnp/inc -I./inc
-I../threadutil/inc
-I../ixml/inc -I./src/inc -pthread -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i386
-mtune=generic -fasynchronous-unwind-tables -Os -MT
src/genlib/net/http/libupnp_la-httpreadwrite.lo -MD -MP -MF
src/genlib/net/http/.deps/libupnp_la-httpreadwrite.Tpo -c
src/genlib/net/http/httpreadwrite.c -fPIC -DPIC -o
src/genlib/net/http/.libs/libupnp_la-httpreadwrite.o
src/genlib/net/http/httpreadwrite.c: In function 'http_SendMessage':
src/genlib/net/http/httpreadwrite.c:352: error: expected identifier
before '(' token
make[3]: *** [src/genlib/net/http/libupnp_la-httpreadwrite.lo] Error 1
The same srpm compile fine with F-7 so i can't understand where the
problem come from.
Thanks
Eric