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 -> xmailer compile fail

Reply to this topicStart new topicStart Poll

> xmailer compile fail
oscar
Posted: Jun 5 2001, 01:43 AM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 27
Joined: 5-June 01



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
PM
Top
davide
Posted: Jun 6 2001, 11:27 PM
Quote Post


Junior Member
**

Group: Members
Posts: 26
Member No.: 3
Joined: 27-February 01



Add -lnsl to LDFLAGS inside the Makefile.sso



- Davide


PM
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll