Dammit, that's the change I made to get it to compile on whatever that other platform was. I think I'll actually change it back, because I suspect that one guy's setup was just not right. I'll revert Makefile.PL to link spamc against the same libs perl was linked against. It's overkill, but it's an easier way of making sure that we get the right libs for the particular platform you're on.
C On Mon, 2002-02-18 at 23:05, Uwe Willenbacher wrote: > On Mon, 18 Feb 2002 23:25:11 -0700 (Mountain Standard Time) > Charlie Watts <[EMAIL PROTECTED]> wrote: > >On Mon, 18 Feb 2002, Uwe Willenbacher wrote: > > > >> Sorry to bug you, but I decided today to install the latest greatest > >>dev > >> version of SpamAssassin 2.1, however, I got following compile error: > >> > >> gcc -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE > >> -D_FILE_OFFSET_BITS=64 -O Hi all, > >> spamd/spamc.c \ > >> -o spamd/spamc > >> Undefined first referenced > >> symbol in file > >> socket /var/tmp/ccyc54jJ.o > > > >You probably need "-lnsl" or "-lsocket" or both. > > Thanks, that worked -- I need to edit the Makefile. The "-lnsl" or > "-lsocket" flags where set by "CFLIBS" but not by CFCCFLAGS > > Maybe there is something wrong in the Makefile.PL? > > - Uwe > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk