From acrux at enduro.zzn.com  Sun Jun 20 11:47:00 2004
From: acrux at enduro.zzn.com (acrux@enduro.zzn.com)
Date: Sun Jun 20 11:47:03 2004
Subject: [Rd] linux: compilation problems with gcc 3.3.3 and xorg (PR#6992)
Message-ID: <20040620094700.88ED3EAEA@slim.kubism.ku.dk>

Full_Name: acrux
Version: 1.9.0
OS: linux (Crux2.0)
Submission from: (NULL) (151.37.85.179)


info linux distro:
acrux@vesuvio:~$ crux
CRUX version 2.0
acrux@vesuvio:~$ uname -a
Linux vesuvio 2.6.7-ck1-vesuvio #1 Sat Jun 19 12:52:24 CEST 2004 i686 unknown
unknown GNU/Linux
acrux@vesuvio:~$ gcc --ver
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/usr
--enable-languages=c,c++,objc,f77 --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-shared --disable-nls
Thread model: posix
gcc version 3.3.3 (CRUX)


problems during the source compilation, maybe X.org incompatibility:
make[4]: Entering directory `/root/ports/r/work/src/R-1.9.0/src/modules/X11'
/usr/bin/ccache-gcc -I. -I../../../src/include -I../../../src/include -I/usr/X11
     R6/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES
-mieee-fp -f      PIC  -O3 -march=athlon-xp -pipe -fomit-frame-pointer -c
dataentry.c -o dataentry      .lo
In file included from dataentry.c:31:
/usr/X11R6/include/X11/Xlib.h:1400: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1488: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1516: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1520: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1542: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1577: error: parse error before '*' token
/usr/X11R6/include/X11/Xlib.h:1586: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1611: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1661: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1667: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1714: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:1753: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:1994: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2078: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2331: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2341: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2413: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2423: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2581: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2596: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2789: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2856: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:2861: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:2975: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3001: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3012: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3037: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3046: error: parse error before "char"
/usr/X11R6/include/X11/Xlib.h:3059: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3202: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3251: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3283: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3374: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3381: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3401: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3407: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3419: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3429: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3439: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3445: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3546: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3563: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3614: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3657: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3663: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3669: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3675: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3683: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3691: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3699: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3711: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3723: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3770: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3781: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3792: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3803: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3814: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xlib.h:3825: error: parse error before "_Xconst"
In file included from dataentry.c:32:
/usr/X11R6/include/X11/Xutil.h:566: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:606: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst"
/usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst"
dataentry.c: In function `GetKey':
dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible po
     inter type
dataentry.c: In function `GetCharP':
dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible po
     inter type
dataentry.c: In function `doControl':
dataentry.c:1302: warning: passing arg 4 of `XLookupString' from incompatible po
     inter type
make[4]: *** [dataentry.lo] Error 1
make[4]: Leaving directory `/root/ports/r/work/src/R-1.9.0/src/modules/X11'
make[3]: *** [R] Error 2
make[3]: Leaving directory `/root/ports/r/work/src/R-1.9.0/src/modules/X11'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/root/ports/r/work/src/R-1.9.0/src/modules'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/root/ports/r/work/src/R-1.9.0/src'
make: *** [R] Error 1
=======> ERROR: Building '/root/ports/r/r#1.9.0-2.pkg.tar.gz' failed.


[Rd] linux: compilation problems with gcc 3.3.3 and xorg (PR#6992)
acrux@enduro.zzn.com