Subject: Re: pkg/32453 (pkgsrc/xservers built under 3.0 does not produce Xserver binaries)
To: None <tron@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,>
From: None <tron@netbsd.org>
List: pkgsrc-bugs
Date: 01/06/2006 14:12:43
Synopsis: pkgsrc/xservers built under 3.0 does not produce Xserver binaries
State-Changed-From-To: open->analyzed
State-Changed-By: tron@netbsd.org
State-Changed-When: Fri, 06 Jan 2006 14:12:42 +0000
State-Changed-Why:
I can reproduce the problem. The server builds fails like this:
gcc -c -O2 -ansi -Dasm=__asm -I. -I../include -I../../../exports/include/X11 -I../../../include/extensions -I../../../lib/Xau -I../lbx -I../../.. -I../../../exports/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DDPMSExtension -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -DXFreeXDGA -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DXSERV_t -DTRANS_SERVER -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DINTERNAL_MALLOC -DHASXDMAUTH -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR -DDDXTIME -DUSE_RGB_TXT -DADMPATH=\"/var/log/X\%smsgs\" osinit.c
In file included from ../../../exports/include/X11/Xos.h:154,
from osinit.c:55:
/usr/include/stdlib.h:98: error: parse error before "int"
*** Error code 1 (continuing)
Line 98 of "stdlib.h" looks like this:
__pure int abs(int);
I haven't figured out so far why "__pure" isn't defined.