Skip to contentSkip to conversation

Problems compiling patched bridge-utils

LARTC Esteban Maringolo 2 participants 2 messages Sep 17, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I've applied ``bridge-utils-0.9.5-ipmode-1.diff'' to be able to use my
shaper as bridge and don't lose the netfilter capabilities, the patch applies with no error messages, which makes me supose everything is working fine.

But when i try to recompile the bridge-utils utilities i get the
message transcript below:

esteban@inercia:~/devel/nexusbm/bridge-utils-0.9.5$ make
make -C libbridge
make[1]: Entering directory
`/home/esteban/devel/bridge-shaper/bridge-utils-0.9.5/libbridge'
gcc -Wall -g -c libbridge_devif.c
libbridge_devif.c: In function `br_set_bridge_ip_mode':
libbridge_devif.c:151: `BRCTL_SET_BRIDGE_IP_MODE' undeclared (first use
in this function)
libbridge_devif.c:151: (Each undeclared identifier is reported only once
libbridge_devif.c:151: for each function it appears in.)
make[1]: *** [libbridge_devif.o] Error 1
make[1]: Leaving directory
`/home/esteban/devel/bridge-shaper/bridge-utils-0.9.5/libbridge'
make: *** [libbridge/libbridge.a] Error 2

If I compile the bridge-utils with no patch applied (or with the lower
version diff applied) it compiles seamsly, and I can build a .deb with it too :-)

Any Clue?

Signature · 2 lines
Esteban A. Maringolo
Buenos Aires, Argentina
#1 lore raw

Hello,

Quoted 8 lines · Esteban Maringolo

I've applied ``bridge-utils-0.9.5-ipmode-1.diff'' to be able to use my
shaper as bridge and don't lose the netfilter capabilities, the patch applies with no error messages, which makes me supose everything is working fine.

But when i try to recompile the bridge-utils utilities i get the
message transcript below:

Quoted 8 lines
esteban@inercia:~/devel/nexusbm/bridge-utils-0.9.5$ make
make -C libbridge
make[1]: Entering directory
`/home/esteban/devel/bridge-shaper/bridge-utils-0.9.5/libbridge'
gcc -Wall -g -c libbridge_devif.c
libbridge_devif.c: In function `br_set_bridge_ip_mode':
libbridge_devif.c:151: `BRCTL_SET_BRIDGE_IP_MODE' undeclared (first use
in this function)

May be you need 2.4.19 kernel in /usr/src/linux patched with
bridge-ipmode-2.4.19-2.diff, the user-space stuff is not enough.

Quoted 1 line

Any Clue?

Regards

--
Julian Anastasov <[email protected]>

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/