Reply to this topicStart new topicStart Poll

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


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/
inet_addr SysDep.o (symbol belongs to implicit dependency /usr/lib/
gethostbyaddr_r SysDep.o (symbol belongs to implicit dependency /usr/lib/
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

any help would be appreciated.


Oscar Hurtado Morató
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

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