🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23666

Re: Compiling Diablo under Solaris

#23666
From: Forrest J. Cavalier III
Date: Tue, 25 Nov 1997 00:00
40 lines
1926 bytes
In article <347A5E91.FA74673@dojo.epix.net>, 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:

Change diablo/lib/defs.h to have:
     #include <strings.h>
which is where Solaris declares the bcopy() and friends.

And could someone tell me why getpagesize() is not declared anywhere
in Solaris 2.5?  It is supposed to be in unistd.h, it IS in libc,
but a grep on everything in include and include/sys comes up empty.

The manpage for getpagesize says #include <unistd.h>.

Solaris 2.6 has the declaration in unistd.h

I couldn't find any DejaNews references on this.

Anyway, if you don't like the warning, then simply place the
declaration into defs.h
	extern int getpagesize(void);

Forrest Cavalier, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <65ehf2$g10$2@news1.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
References: <347A5E91.FA74673@dojo.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <65ehf2$g10$2@news1.epix.net>
Subject: Re: Compiling Diablo under Solaris
Date: Tue, 25 Nov 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
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: 292511034
Organization: Mib Software
Newsgroups: news.software.nntp