Re: can't compile ethernet bridge utilities

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

 



I solved the problem. Based on information from another post I checked the Makefile and found that it pointed to /usr/src/linux as an include directory... which doesn't exist on my system. I created link /usr/src/linux to point to /usr/src/linux-2.4 and then it worked.

While this fixed the immediate problem I'm still not sure how I was able to compile it on RH73 and Trustix 2.0. I checked both of them and they don't have /usr/src/linux directories or links... but the bridge utilities compiled fine on them anyway. different dependencies maybe???

anyway, at least it works and just wanted to say so.

-----Original Message-----
From: "knetknight - mrb - pop" <knetknight@xxxxxxxxxxxxx>
To: <fedora-list@xxxxxxxxxx>
Date: Mon, 24 Nov 2003 07:40:22 -0600 
Subject: can't compile ethernet bridge utilities

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'


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


****************************************
Interested in securing your e-mail and other communications?
http://www.gnupg.org/download/index.html.en




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux