Statically linked route program

2007-12-25 8:37:00

Hi. This is the (ususal) summary to my "Statically linked route program"

problem.

This is what I posted:

----- Begin Included Message -----

>From caxwgk Tue Dec 7 10:30:48 1993

Subject: looking for: Statically linked route program

as I'm looking for such a thing for quite a while now and cant find

a place to get the sources, I'm asking the net now.

If somebody can point me to the right ftp server to find the sources

for route, i'm going to get that stuff, compile it under 4.1.3 and

5.2 and tell you how it works.

have a good day. Wolfgang

----- End Included Message -----

I got serveral responses that pointed me to the right direction. All of the

responses (but one) referred to 4.X.

I.

Regarding 4.X the solution is to get the "route.c" file from the Xkernel

distribution. Xkernel was written by Seth Robertson (seth@ctr.columbia.edu)

and is available from ftp.uu.net in pub/window-sys/X/Xkernel and from

many other sites.

I compiled it under 4.1.3. It works OK.

II.

Some people said that they would get BSD source of route and compile that,

but that is too much effort. (On a SUN that sources dont compile without

having the rest of the source tree [includes,libs,....]. Or did somebody

succeed?) Its far easier to use Xkernel.

III.

Problems with 5.2. You can compile that under 5.2 in Source Compatibility

mode, if you first copy /usr/include/sys/mbuf.h from a 4.1.3-host to

/usr/ucbinclude/sys/mbuf.h on your 5.2 host. Dynamic linking works OK

then, but static linking fails. Don`t know why. Maybe I find time after

Christmas (and after a week of skiing :-) to look closer on that.

But: You can:

1.) copy route to /sbin

2.) copy the *.so to (i.e.) /sbin

3.) without having /usr mounted, you can:

( LD_LIBRARY_PATH=/slib; export LD_LIBRARY_PATH;

        /sbin/route add host ${Usrsrvr} ${Router} 2; )

in /etc/rcS for example.

Original Idea about that workaround from: Tim Perala (tperala@d.umn.edu)

Wolfgang

Thanks to:

pln@egret1.Stanford.EDU (Patrick L. Nolan)

Peter Shipley <shipley@tfs.com>

ktm@cs.rice.edu (Ken Marshall)

Peter.Samuel@nms.otc.com.au (Peter Samuel)

bcutter%natas@uunet.UU.NET (Brooks Cutter)

Ron Vasey@issi.com (vasey@issi.com)

Gerhard Hertlein <ln_ghe@pki-nbg.philips.de>

pla_jfi@pki-nbg.philips.de (Karl-Jose Filler)

Comments

Got something to say?

You must be logged in to post a comment.