Martone Mike <martonem@bah.com> said:
Martone> When I perform a 'make' on the Tcl-DP software I get
Martone> the following output at the end:
Martone> In file included from /usr/include/netinet/in.h:29,
Martone> from dpnetwork.c:55:
Martone> /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/byteorder.h:27:
Martone> conflicting types for `htonl'
Martone> dpInt.h:49: previous declaration of `htonl'
I would suggest to have a look into dpInt.h and try to comment or #if
0 the lines with hton... and ntoh...
With some luck this should help.
Martone> After a configure on Scotty; running a make gets the
Martone> following output:
Martone> cc -o straps straps.o
Martone> Undefined first referenced
Martone> symbol in file
Martone> socket straps.o
Martone> recv straps.o
Martone> [...]
I am not familiar with Solaris 2.x, but i guess a -lsocket (maybe
together with -lnsl) is missing.
You may add to ``snmp/Makefile'' these libs to the ``LIBS = '' line:
add ``-lsocket -lnsl'' (please insert before the comment :-).
You may look into the toplevel Makefile, what the LIBS = entry
contains and simply copy the line.
If this does not help at all, remove the straps target and try to
build the remaining stuff: remove ``straps'' from the ``all: straps
../libscotty.a'' line of snmp/Makefile.
Erik