Le vendredi 31 août 2007 à 11:48 -0500, Rex Dieter a écrit : > 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 > Thanks Rex, I tried to change : if( Instr && Instr->IsVirtualFile ) Fp = virtualDirCallback.open( filename, UPNP_READ ); else Fp = fopen( filename, "rb" ); by if( Instr && Instr->IsVirtualFile ) Fp = virtualDirCallback.(open)( filename, UPNP_READ ); else Fp = fopen( filename, "rb" ); but the same error stil remain. An idea ? Thanks Eric -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list