🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7390

Problems Making Suck-2.6.2

#7390
From: Butch Kemper
Date: Wed, 08 May 1996 00:00
57 lines
2992 bytes

I am having difficulties making suck-2.6.2 under Solaris 2.3.  The
problems I am having are:

     1.  During the compile of chkhistory_db.c, GCC-2.7.2 gives a warning
         message for each line in dbz.h.  The message is

          warning: function declaration isn't a prototype

     2.  During the link for such, LD is unable to locate the symbols 

         Undefined                       first referenced
         symbol                             in file
         socket                              both.o
         recv                                both.o
         gethostbyname                       both.o
         send                                both.o
         gethostbyaddr                       both.o
         dbmclose                            chkhistory_db.o
         inet_addr                           both.o
         inet_ntoa                           both.o
         dbminit                             chkhistory_db.o
         dbzfetch                            chkhistory_db.o
         connect                             both.o

         I have -linn defined and a pointer to the INND lib.  If I add
         -lsocket after -linn, I get:

        Undefined                       first referenced
        symbol                             in file
        gethostbyname                       both.o  (/usr/lib/libnsl.so.1?)
        gethostbyaddr                       both.o  (/usr/lib/libnsl.so.1?)
        dbmclose                            chkhistory_db.o
                                              (/usr/lib/libnsl.so.1?)
        inet_addr                           both.o  (/usr/lib/libnsl.so.1?)
        inet_ntoa                           both.o  (/usr/lib/libnsl.so.1?)
        dbminit                             chkhistory_db.o
                                              (/usr/lib/libnsl.so.1?)
        dbzfetch                            chkhistory_db.o

        This doesn't look right but if I add -lnsl after -lsocket, I get:

        Undefined                       first referenced
        symbol                             in file
        dbzfetch                            chkhistory_db.o

I am doing something wrong but it is not clear to me.

Please help.

-- 
Butch Kemper                            Free sound advice available
Networks 'R Us                          "95% sound and 5% advice"
Texas A&M University                    Refunds cheerfully provided

Technical Details
Message-ID: <butch.kemper-0805961123360001@butch.tamu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <butch.kemper-0805961123360001@butch.tamu.edu>
Subject: Problems Making Suck-2.6.2
Date: Wed, 08 May 1996 00:00:00 +0000
From: butch.kemper@tamu.edu (Butch Kemper)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 153756490
Organization: Texas A&M University
Newsgroups: news.software.nntp