Libgtop compile fail




When compiling libgtop off of CVS today, I got the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/linux -I../../include
-I../../intl -I/opt/gnome/include -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include
-O6 -mpentium -g -Wall -Wno-unused -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -I/usr/X11R6/include
-DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES -I/usr/local/include
-DGTOPLOCALEDIR=\"/opt/gnome/share/locale\" -DLIBGTOP_VERSION=\"0.99.0\"
-DLIBGTOP_SERVER_VERSION=\"3\"
-DLIBGTOP_SERVER=\"/opt/gnome/bin/libgtop_server\" -Wall -W -O6 -mpentium
-g -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wp,-MD,.deps/netload.p -c -fPIC -DPIC netload.c
netload.c:33: netinet/ip_fw.h: No such file or directory
make[3]: *** [netload.lo] Error 1
make[3]: Leaving directory `/net/src/gnome/libgtop/sysdeps/linux'


I'm running a RedHat system with a 2.1.131 kernel and the
glibc-devel-2.0.106-0.981209 RPM from rawhide.  While this file appears in
the older glibc-devel-2.0.7-29 RPM, it is not in the newer version.  I
don't know if this is an oversight on the part of the glibc developers, or
if the file is being depreciated, but switching back to the linux/ip_fw.h
on my machine does not fix the problem.  It instead dies with:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/linux -I../../include
-I../../intl -I/opt/gnome/include -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/lib/glib/include -I/opt/gnome/include
-O6 -mpentium -g -Wall -Wno-unused -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -I/usr/X11R6/include
-DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES -I/usr/local/include
-DGTOPLOCALEDIR=\"/opt/gnome/share/locale\" -DLIBGTOP_VERSION=\"0.99.0\"
-DLIBGTOP_SERVER_VERSION=\"3\"
-DLIBGTOP_SERVER=\"/opt/gnome/bin/libgtop_server\" -Wall -W -O6 -mpentium
-g -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wp,-MD,.deps/netload.p -c -fPIC -DPIC netload.c
In file included from netload.c:33:
/usr/include/linux/ip_fw.h:121: field `fwp_iph' has incomplete type
/usr/include/linux/ip_fw.h:123: field `fwp_tcph' has incomplete type
/usr/include/linux/ip_fw.h:124: field `fwp_udph' has incomplete type
/usr/include/linux/ip_fw.h:125: field `fwp_icmph' has incomplete type
make[2]: *** [netload.lo] Error 1
make[2]: Leaving directory `/net/src/gnome/libgtop/sysdeps/linux'

Any ideas?  Or do I have to downgrade glibc for now?

Thank you very much,
-Gleef



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]