CVS compilation problem on RH 7.3?

Neal linuxer at ptd.net
Thu Jun 13 01:17:09 CEST 2002


On Wed, 12 Jun 2002 15:34:25 -0400
Stephane Paltani <spaltani at head-cfa.harvard.edu> wrote:

> Hi *,
> 
> 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\"
> -DXFCE_LOCALE_DIR=\"/usr/local/share/locale\" -DXFCE_CONFDIR=\"/etc/X11/xfce\"
> -I/usr/X11R6/include -g -O2 -Wall -Wno-implicit-int -c snprintf.c -MT
> snprintf.lo
> -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[2]: *** [snprintf.lo] Error 1
> make[2]: Leaving directory `/export/sources/xfce-20020612/libs'
> make[1]: *** [all-recursive] Error 1
> make[1]: 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?
> 
> Thanks,
> Stephane

Stepahne,
If I recall, the same thing happened with I tried to compile after upgrading to RH7.3.  You most likely need the latest autoconf.  I grabbed the latest one for RH from rpmfind.net.  It's 2.53.5.


-- 
Neal
Registered Linux User #159445 running  
RedHat 7.3/ext3 and XFce, Athlon800 Desktop
RedHat 7.3/ext3 and XFce, Toshiba Laptop 2140XCDS



More information about the Xfce mailing list