compiling tc on ETRAX (fwd)

Linux Advanced Routing and Traffic Control

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

 



Hello.

I would like to compile iproute2 utility suite for Etrax 100LX processors
(www.axis.com). I compiled it, but after running tc i found a problem. tc
doesn't recognize qdiscs. ex:
 [root@axis /var]67# ./tc qdisc add cbq help
 Unknown qdisc "cbq", hence option "help" is unparsable

I've a look through tc.c and found that tc tries to do
dlopen(q_cbq.so,...) and then dlopen(NULL,...) . the first call fail (it's
normal, q_cbq.so doesn't exist), but dlopen(NULL,...) is opening himself
as library. since q_cbq.o is compiled in, this call shouldn't fail... but
it fails.

Another problem is that I cannot run ltrace or gdb on this box (it's
embedded system). So if tc fails it means that it cannot open itself as
lib. may be tc need some ld mechanism that my box doesn't support...

How can we do tc without q_*, c_* and f_* included and make them as libs?
just link tc without [q¦c¦f]_*.o and ar them to .a or .so? Am i right?

thanks for your help

PoltoS/

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux