CVS compilation problem on RH 7.3?
spaltani at head-cfa.harvard.edu
Wed Jun 12 21:34:25 CEST 2002
I have just upgraded (hopefully!) to RedHat 7.3, and I tried to
recompile XFce, which I just downloaded with CVS (xfce-stable).
Compilation failed with the following message:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I../ -I../libs/ -DXFCE_DIR=\"/usr/local/share/xfce\"
-I/usr/X11R6/include -g -O2 -Wall -Wno-implicit-int -c snprintf.c -MT
-MD -MP -MF .deps/snprintf.TPlo -fPIC -DPIC -o .libs/snprintf.lo
snprintf.c: In function `dopr':
snprintf.c:269: `short int' is promoted to `int' when passed through `...'
snprintf.c:269: (so you should pass `int' not `short int' to `va_arg')
snprintf.c:279: `short unsigned int' is promoted to `int' when passed through
snprintf.c:289: `short unsigned int' is promoted to `int' when passed through
snprintf.c:301: `short unsigned int' is promoted to `int' when passed through
make: *** [snprintf.lo] Error 1
make: Leaving directory `/export/sources/xfce-20020612/libs'
make: *** [all-recursive] Error 1
make: Leaving directory `/export/sources/xfce-20020612'
make: *** [all] Error 2
This piece of code has not been changed since the last time I installed
Xfce (3.8.14c) on RedHat 7.2, and it worked fine at the time.
Compiler is still gcc 2.96.
Any idea what could cause this problem? Anybody succeeded in compiling
XFce on RedHat 7.3?
More information about the Xfce