Re: Squid 1.1.22 on SunOS 4.1.4 problem

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 13 Jul 1998 15:04:44 -0600

Luc Dooms writes:

>Hi squid hackers,
>
>Can anybody help me with this one ?
>
>(pls answer @ ldooms@c-cure.be)
>
>Many thanks,
>
>Luc
>
># make all
>make: Warning: Both `makefile' and `Makefile' exists
>Making all in lib...
>Making all in scripts...
>Making all in src...
>gcc -o dnsserver -g dnsserver.o -L../lib -lmiscutil -lm
>-lresolv -lnsl
>ld: Undefined symbol
> _strerror
>collect2: ld returned 2 exit status
>*** Error code 1
>make: Fatal error: Command failed for target `dnsserver'
>Current working directory /data/tools/squid-1.1.22/src
>*** Error code 1
>make: Fatal error: Command failed for target `all

You might have better luck with rearranging the order of the
libraries. For example:

        DNSSERVER_LIBS = -L../lib $(XTRA_LIBS) -lmiscutil

Or, I've also seen problems on SunOS which can be fixed by listing one
library twice:

        DNSSERVER_LIBS = -L../lib -lmiscutil $(XTRA_LIBS) -lmiscutil

Duane W.
Received on Mon Jul 13 1998 - 14:22:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:06 MST