[milters] Archive

Lists Index Date Thread Search

Article: 357
From: Volker Stolz
Date: 2005-02-21 02:52:30 -0500
Subject: Re: compile problems solaris x86

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

On Sun, Feb 20, 2005 at 03:11:39PM -0600, Josh Johnson wrote:
> gcc -D_REENTRANT -g -I/usr/local/BerkeleyDB.4.2/include 
> -I/usr/local/include -I/export/home/jdj/src/com/snert/include 
> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -R/usr/local/lib 
> -L/export/home/jdj/src/com/snert/lib -owhere-are-you where-are-you.c
> Undefined                       first referenced
>  symbol                             in file
> sendto                              /var/tmp//ccILsb70.o
> socket                              /var/tmp//ccILsb70.o
> setsockopt                          /var/tmp//ccILsb70.o
> recvfrom                            /var/tmp//ccILsb70.o
> ld: fatal: Symbol referencing errors. No output written to where-are-you

You're missing the -lsocket -lnsl on the compiler/linker invocation.
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME

Lists Index Date Thread Search