Re: scotty 2.0.2 compile error on linux 1.2.9/gcc 2.6.3

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 13 Dec 1995 12:15:02 +0100

Hi!

bernd@finow.snafu.de (Bernd Hentig) said:

Bernd> The following errors occured last night when I tried to
Bernd> upgrade my scotty to 2.0.2:

[slightly shortened error description]:

Bernd> sunrpc.o(.text+0x314): undefined reference to `etherproc_on_1'

Bernd> This is what "nm libscotty.a|grep ether_" says:
Bernd> ether_clnt.o:
Bernd> 00000060 T _etherproc_on_1

[end of error description]

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

I guess you compiled some modules (e.g. sunrpc.c) in elf format and
some modules in a.out format (a.out symbols are prefixed by an
underscore while elf symbols have no prefix). Please remove all *.o
files (make clean in the toplevel should do this for you) and
recompile. Make sure that the same compiler is used in all
subdirectories.

Juergen