From: Alejandro Rios Pena <alerios@unicauca.edu.co>
To: lartc@vger.kernel.org
Subject: [LARTC] TCNG compilation problem
Date: Tue, 09 Mar 2004 21:51:03 +0000 [thread overview]
Message-ID: <404E3C47.3020005@unicauca.edu.co> (raw)
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/
reply other threads:[~2004-03-09 21:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=404E3C47.3020005@unicauca.edu.co \
--to=alerios@unicauca.edu.co \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox