can't compile ethernet bridge utilities

knetknight - mrb - pop knetknight at myrealbox.com
Mon Nov 24 13:40:22 UTC 2003


I'm trying to build the bridge 0.9.6 binaries as downloaded from the source
files at http://bridge.sourceforge.net. I've successfully built these
binaries numerous times on redhat 7.3 and other distros but attempts to
build them on Fedora bomb with the following during 'make'. (./configure
seems to work just fine) I've placed comments in the output below to show
where it deviates from my normal experience. I've tried 'export CC=gcc32'
just before the ./configure step but that didn't help. Any insight is
appreciated, thank you.

for x in libbridge brctl doc; do (cd $x && make ); done
make[1]: Entering directory `/usr/src/bridge-utils/libbridge'
gcc -Wall -g -I/usr/src/linux/include -c libbridge_compat.c
gcc -Wall -g -I/usr/src/linux/include  -c libbridge_devif.c
gcc -Wall -g -I/usr/src/linux/include  -c libbridge_if.c
gcc -Wall -g -I/usr/src/linux/include  -c libbridge_init.c
gcc -Wall -g -I/usr/src/linux/include  -c libbridge_misc.c
## the following section is where the make process deviates from my normal
experience.
libbridge_misc.c: In function `__tv_to_jiffies':
libbridge_misc.c:33: warning: implicit declaration of function `sysconf'
libbridge_misc.c:33: error: `_SC_CLK_TCK' undeclared (first use in this
function)
libbridge_misc.c:33: error: (Each undeclared identifier is reported only
once
libbridge_misc.c:33: error: for each function it appears in.)
libbridge_misc.c: In function `__jiffies_to_tv':
libbridge_misc.c:40: error: `_SC_CLK_TCK' undeclared (first use in this
function)
make[1]: *** [libbridge_misc.o] Error 1
make[1]: Leaving directory `/usr/src/bridge-utils/libbridge'
make[1]: Entering directory `/usr/src/bridge-utils/brctl'
gcc -Wall -g -g -O2 -I../libbridge -I/usr/src/linux/include  -c brctl.c
gcc -Wall -g -g -O2 -I../libbridge -I/usr/src/linux/include  -c brctl_cmd.c
gcc -Wall -g -g -O2 -I../libbridge -I/usr/src/linux/include  -c brctl_disp.c
gcc brctl.o brctl_cmd.o brctl_disp.o  -L ../libbridge -lbridge -o brctl
/usr/bin/ld: cannot find -lbridge
collect2: ld returned 1 exit status
make[1]: *** [brctl] Error 1
## end of deviation
make[1]: Leaving directory `/usr/src/bridge-utils/brctl'
make[1]: Entering directory `/usr/src/bridge-utils/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/bridge-utils/doc'





More information about the users mailing list