🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23658

Re: Compiling Diablo under Solaris

#23658
From: Marc Slemko
Date: Tue, 25 Nov 1997 00:00
37 lines
1893 bytes
In <347A5E91.FA74673@dojo.epix.net> Keith Hermansader <keherma@dojo.epix.net> writes:

>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

You need -lsocket on whatever line in the config or makefile that
controls the cflags.


>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?

Solaris has screwed libraries by defualt, but...

Technical Details
Message-ID: <65dq92$9jv$1@scanner.worldgate.com>
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: <65dq92$9jv$1@scanner.worldgate.com>
Subject: Re: Compiling Diablo under Solaris
Date: Tue, 25 Nov 1997 00:00:00 +0000
From: Marc Slemko <marcs@znep.com>
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: 292444204
Organization: WorldGate Inc. http://www.worldgate.com/
Newsgroups: news.software.nntp