Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] TCNG compilation problem
@ 2004-03-09 21:51 Alejandro Rios Pena
  0 siblings, 0 replies; only message in thread
From: Alejandro Rios Pena @ 2004-03-09 21:51 UTC (permalink / raw)
  To: lartc

Hi!

I want to install tcng with tcsim, but I get several errors when trying 
to compile it:

cc -g -Wl,-E -o tcsim tcsim.o jiffies.o timer.o command.o var.o host.o 
attr.o lex.yy.o y.tab.o ksvc.o klink.o usvc.o module.o trace.o 
klib/klib.o ulib/ulib.o -lfl -lm -ldl -L../shared -ltcngmisc
ulib/ulib.o(.text+0xf0a): In function `get_addr_1':
/usr/src/tcng/tcsim/ulib/iproute2/lib/utils.c:163: undefined reference 
to `dnet_pton'
ulib/ulib.o(.text+0x13f9): In function `rt_addr_n2a':
/usr/src/tcng/tcsim/ulib/iproute2/lib/utils.c:357: undefined reference 
to `ipx_ntop'
ulib/ulib.o(.text+0x1425):/usr/src/tcng/tcsim/ulib/iproute2/lib/utils.c:362: 
undefined reference to `dnet_ntop'
collect2: ld returned 1 exit status
make[2]: *** [tcsim] Error 1
make[2]: Leaving directory `/usr/src/tcng/tcsim'
make[1]: *** [tcsim] Error 2
make[1]: Leaving directory `/usr/src/tcng/tcsim'
make: *** [all] Error 1


These are the steps I followed:

1. Re-build the kernel with QoS and diffserv support. (version 2.4.24)
2. Apply htb patch to iproute2 source.
3. Modify the Config file on iproute2 sources like this: 
TC_CONFIG_DIFFSERV=y
4. Try to build tcng ...   failed   :(

I guess I just don't understand this part of the iproute2 README:

"KERNEL_INCLUDE should point to correct linux kernel include directory.
ADDLIB should contain inet_* functions, if your libc contains
obsolete resolver library (<4.9.4) and you have no correct libresolv.
ADDLIB should also contain dnet_* functions if you don't have a
libdnet with support for them. If your libdnet does have support,
then comment out that line and uncomment the line to add -ldnet to
LDLIBS. LDLIBS should be empty, if you have no libresolv."

Any help would be appreciated.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-09 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09 21:51 [LARTC] TCNG compilation problem Alejandro Rios Pena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox