🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23639

Re: Compiling Diablo under Solaris

#23639
From: Brett Hawn
Date: Tue, 25 Nov 1997 00:00
57 lines
2570 bytes
you can for the most part ignore the implicit decleration warnings, though
if you want, go get the prototypes for these functions and paste them in the
proper file. 

On the failed part, in the makefile, look for where LIBS is defined and add
-lnsl -socket

this will then compile


On Tue, 25 Nov 1997 00:13:53 -0500, Keith Hermansader <keherma@dojo.epix.net>
 wrote:
>need some help getting Diablo to compile under Solaris & Solaris x86.
>
>so far the same happens with 1.13 and 1.14, what's happening is during
>the compile I get a ton of warnings such as:
>
>warning: implicit declaration of function `getpagesize'
>warning: implicit declaration of function `bcopy'
>warning: implicit declaration of function `bcopy'
>
>by far the most are warnings about bcopy.. when it finally bombs out is
>at:
>
>gcc -g -O2 -Wall -Wstrict-prototypes -I. -Ilib -DVERS=1.14
>obj/util_dicmd.o -Lobj -ldiablo -lm -lnsl -o dbin/dicmd
>Undefined                       first referenced
>symbol                             in file
>socket                              obj/util_dicmd.o
>connect                             obj/util_dicmd.o
>ld: fatal: Symbol referencing errors. No output written to dbin/dicmd
>(all : dbin/dicmd) failed code 1.
>xmake Exit 1
>xmake Exit 1
>
>
>as I said this happens with 1.13 as well as 1.14.. I suspect it's
>Solaris.. same happens compiling on a Sparc E450 running Solaris 2.6/gcc
>2.7.2.3.. maybe a screwed library or two?
>
>machine in question is a P-200, 256M RAM, AHA-2940U controlling the
>root/news/history and an AHA-3940AU controlling the spool usind ODS..
>using solaris x86 2.5.1, all the system patches are up to date save for
>a couple CDE patches, also using gcc 2.7.2.3 which I think is the
>latest..
>
>any ideas?  FWIW 1.13 and 1.14 compiled error free under RH Linux 4.2
>(2.0.32) with gcc 2.7.2.3 on two other machines.. would like to get it
>running on Solaris tho..
>
>keith


-- 

Technical Details
Message-ID: <slrn67kqtd.c9b.blh@staff2.texas.net>
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
References: <347A5E91.FA74673@dojo.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn67kqtd.c9b.blh@staff2.texas.net>
Subject: Re: Compiling Diablo under Solaris
Date: Tue, 25 Nov 1997 00:00:00 +0000
From: blh@texas.net (Brett Hawn)
References: <347A5E91.FA74673@dojo.epix.net>
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: 292444203
NNTP-Posting-Date: Tue, 25 Nov 1997 00:09:02 CST
Reply-To: blh!blh@nospam.texas.net
Newsgroups: news.software.nntp