Compilation problem with rawhide
Rex Dieter
rdieter at math.unl.edu
Fri Aug 31 16:48:24 UTC 2007
Tanguy Eric wrote:
> 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.
Look in httpreadwrite.c, I'll bet there is an "open" call near/before
line 352. You'll likely need to patch to change
open
to
(open)
glibc macro/posix ickiness goin on.
-- Rex
More information about the devel
mailing list