[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compileproblem cvs 7/9/1999



  Good day, I have a common cold, and am at home..

On Tue, Sep 07, 1999 at 11:50:14AM +0200, Mark Visser wrote:
> Hi,
> 
> Compiling on a Ultra with Solaris 2.6 fails.
> CVS copy from just a few minutes ago.

	Quaint..

> gcc -Wall -g -O2  -DHAVE_CONFIG_H -I./../include -I../include -I..
> -I/usr/local/include    -o smtpserver smtpserver.o rfc821scn.o
> debugreport.o fdstatfs.o wantconn.o policytest.o cfgread.o smtpdata.o
> smtpcmds.o smtphelp.o smtprouter.o smtpchild.o mxverify.o contentpolicy.o
> smtpauth.o zpwmatch.o smtptls.o zpwmatch-pipe.o version.o -L../libs -lzm
> -lzc -lident -lta  -ldb -lgdbm -L/usr/local/include -lwrap  -lresolv
> -lpam -ldl -lxnet
> Undefined                       first referenced
>  symbol                             in file
> yp_get_default_domain
> /usr/local/lib/libwrap.a(hosts_access.o)  (symbol belongs to implicit
> dependency /usr/lib/libnsl.so.1)
> ld: fatal: Symbol referencing errors. No output written to smtpserver
> make[1]: *** [smtpserver] Error 1
> make[1]: Leaving directory `/usr/local/src/zmailer/smtpserver'
> make: *** [all] Error 1
> 
> Older versions compile ok (for example 2.99.51 plain)

	Ok, older versions (like 2.99.51 plain) don't detect -lwrap
	(#include "tcpd.h") so well, and they also don't have Solaris 2.6
	detection ( "-lxnet"  instead of  "-lsocket -lnsl" ).

	How about recompiling your tcp-wrapper library with Solaris
	2.6 libraries ?  Now it looks like that library is compiled
	against Solaris 2.5.1 ...

> Mark
> -------------------------------------------------------------------------
> Mark Visser / Calslaan 26-31              | E-mail: mark@dnd.utwente.nl
> 7522 MC Enschede / Telephone: 053-4895038 | SNT-mail: mark@snt.utwente.nl

-- 
/Matti Aarnio	<mea@nic.funet.fi>