All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] compiling tc on ETRAX (fwd)
@ 2002-06-29 15:47 Poltorak Serguei
  2002-06-29 16:16 ` bert hubert
  0 siblings, 1 reply; 2+ messages in thread
From: Poltorak Serguei @ 2002-06-29 15:47 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] compiling tc on ETRAX (fwd)
  2002-06-29 15:47 [LARTC] compiling tc on ETRAX (fwd) Poltorak Serguei
@ 2002-06-29 16:16 ` bert hubert
  0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2002-06-29 16:16 UTC (permalink / raw)
  To: lartc

> 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

tc qdisc add dev eth0 root cbq
what does that say?

> 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...

It has some kind of fallback mechanism for finding qdisc code, but I don't
think it is normally needed.

Regards,

bert


-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-29 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-29 15:47 [LARTC] compiling tc on ETRAX (fwd) Poltorak Serguei
2002-06-29 16:16 ` bert hubert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.