scotty 2.0.2 compile error on linux 1.2.9/gcc 2.6.3

Bernd Hentig (bernd@finow.snafu.de)
Sun, 10 Dec 1995 12:36:33 +0100 (MET)

The following errors occured last night when I tried to upgrade my scotty
to 2.0.2:
--------------------------------------------------------------------------
gcc -Wall -o scotty scotty.o libscotty.a /home/helpdesk/lib/libtk4.0.a
-L/usr/X11R6/lib -lX11 /home/helpdesk/lib/libtclx.a
/home/helpdesk/lib/libtcl7.4.a -lieee -lm
sunrpc.o(.text+0x314): undefined reference to `etherproc_on_1'
sunrpc.o(.text+0x31e): undefined reference to `etherproc_getdata_1'
sunrpc.o(.text+0x405): undefined reference to `etherproc_off_1'
sunrpc.o(.text+0x56d): undefined reference to `etherproc_getdata_1'
make: *** [scotty] Error 1
--------------------------------------------------------------------------

This is what "nm libscotty.a|grep ether_" says:
--------------------------------------------------------------------------
U _etherproc_getdata_1
U _etherproc_off_1
U _etherproc_on_1
ether_clnt.o:
00000000 T _etherproc_getdata_1
00000180 T _etherproc_getdstdata_1
00000120 T _etherproc_getsrcdata_1
000000c0 T _etherproc_off_1
00000060 T _etherproc_on_1
00000240 T _etherproc_selectdst_1
00000300 T _etherproc_selectlnth_1
000002a0 T _etherproc_selectproto_1
000001e0 T _etherproc_selectsrc_1
U _xdr_etheraddrs
U _xdr_etherstat
ether_xdr.o:
00000360 T _xdr_etheraddrs
00000320 T _xdr_etherhmem
000002c0 T _xdr_etherhmem_node
00000040 T _xdr_etherstat
00000000 T _xdr_ethertimeval
--------------------------------------------------------------------------

These are my configure options:
--------------------------------------------------------------------------
confiugre --with-gcc --with-tclX --prefix=/home/helpdesk
--------------------------------------------------------------------------
(/home/helpdesk is my development home directory, of course)

I'm sure I've made a very stupid mistake; unfortunately my system still
doesn't run ELF binary format (no time to upgrade, this is a "production"
system ;), perhaps this is one of the problems.

Thanx for any help

Bernd

-- 

---------------------------------------------------------------------------- |Bernd Hentig | | Email Voice | | | |Eberswalder Str. 68 |Private|Bernd.Hentig@finow.snafu.de +49 3334 355557 | |16227 Eberswalde |Office |behe@eurofis.com | |Germany |Uni |q4357981@bonsai.fernuni-hagen.de | |/ ----------------------------------------------------------------------------