XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > XMail Server > xmailer compile fail


Posted by: oscar Jun 5 2001, 01:43 AM
I' have a trouble when compile Xmail.
In my screen appear the next dialog:

# /usr/ccs/bin/make -f Makefile.sso
/usr/local/bin/gcc -o XMail BuffSock.o CTRLSvr.o DynDNS.o DNS.o DNSCache.o Errors.o ExtAliases.o FINGSvr.o MailConfig.o MailSvr.o Maildir.o MailDomains.o MD5.o MiscUtils.o LMAILSvr.o POP3GwLink.o POP3Svr.o POP3Utils.o PSYNCSvr.o ResLocks.o SList.o SMAILSvr.o TabIndex.o SMAILUtils.o SMTPSvr.o SMTPUtils.o ShBlocks.o StrUtils.o MessQueue.o QueueUtils.o SvrUtils.o SysDep.o UsrMailList.o UsrAuth.o UsrUtils.o Main.o Base64Enc.o -ldl -lsocket -lpthread -lrt
Undefined first referenced
symbol in file
gethostbyname_r SysDep.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
inet_addr SysDep.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
gethostbyaddr_r SysDep.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to XMail
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `XMail'

I work with a sparc5 ,OS solaris7, GCC of www.sunfreeware.com

any help would be appreciated.

thanks.

Oscar Hurtado Morató
ohurtado@andes.dyser.com.bo

Posted by: davide Jun 6 2001, 11:27 PM
Add -lnsl to LDFLAGS inside the Makefile.sso



- Davide



Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)