Hi RE: bridge-utils-1.0.4, linux 2.4.21-241-athlon I'm receiving the following groan when I attempt to build bridge-utils on SUSE 8.1(linux 2.4.21-241-athlon) Any help most appreciated. for x in libbridge brctl doc; do make -C $x ; done make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/libbridge' gcc -Wall -g -I/usr/src/linux/include -c libbridge_devif.c In file included from libbridge_devif.c:28: libbridge_private.h: In function `__tv_to_jiffies': libbridge_private.h:68: `HZ' undeclared (first use in this function) libbridge_private.h:68: (Each undeclared identifier is reported only once libbridge_private.h:68: for each function it appears in.) libbridge_private.h: In function `__jiffies_to_tv': libbridge_private.h:75: `HZ' undeclared (first use in this function) make[1]: *** [libbridge_devif.o] Error 1 make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/libbridge' make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/brctl' gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl.c gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl_cmd.c gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl_disp.c make[1]: *** No rule to make target `../libbridge/libbridge.a', needed by `brctl'. Stop. make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/brctl' make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/doc' cheers gareth
The inline functions in libbridge_private.h expect HZ defined in /usr/include/asm/param.h What does that look like on your system?
Does anyone know where 'HZ' is declared in the 2.4.xx source? Cheers gareth -----Original Message----- From: bridge-bounces@lists.osdl.org [mailto:bridge-bounces@lists.osdl.org] On Behalf Of Gareth Wheelton Sent: 15 August 2004 15:12 To: bridge@lists.osdl.org Subject: [Bridge] SUSE 8.1 build failure Hi RE: bridge-utils-1.0.4, linux 2.4.21-241-athlon I'm receiving the following groan when I attempt to build bridge-utils on SUSE 8.1(linux 2.4.21-241-athlon) Any help most appreciated. for x in libbridge brctl doc; do make -C $x ; done make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/libbridge' gcc -Wall -g -I/usr/src/linux/include -c libbridge_devif.c In file included from libbridge_devif.c:28: libbridge_private.h: In function `__tv_to_jiffies': libbridge_private.h:68: `HZ' undeclared (first use in this function) libbridge_private.h:68: (Each undeclared identifier is reported only once libbridge_private.h:68: for each function it appears in.) libbridge_private.h: In function `__jiffies_to_tv': libbridge_private.h:75: `HZ' undeclared (first use in this function) make[1]: *** [libbridge_devif.o] Error 1 make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/libbridge' make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/brctl' gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl.c gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl_cmd.c gcc -Wall -g -O2 -I../libbridge -I/usr/src/linux/include -c brctl_disp.c make[1]: *** No rule to make target `../libbridge/libbridge.a', needed by `brctl'. Stop. make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/brctl' make[1]: Entering directory `/home/gareth/bridge-utils-1.0.4/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gareth/bridge-utils-1.0.4/doc' cheers gareth