🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7987

Re: nn 6.5.1 build error in 'db.c' with CACHE_PURPOSE is defined

#7987
From: R. Stewart Ellis
Date: Sun, 15 Sep 1996 00:00
47 lines
2417 bytes
cdewick@jedi.apana.org.au (Craig Dewick) writes:

 >In <5141e4$fls@jedi.apana.org.au> cdewick@jedi.apana.org.au (Craig Dewick) writes:


 >>When attempting to build nn-6.5.1 on this machine, a Sun 4/380 running 
 >>SunOS 4.1.4 with gcc-2.6.3, I encountered a problem with 'db.c'.

 >Ok, I tried commenting out 'CACHE_PURPOSE' and 'db.c' compiled without any
 >errors. 

 >However, now I've found another one which I think might be 
 >platform-specific....

 >In libnov.c, on line 403, there is a reference to 'memmove', but SunOS
 >does not support memmove. How should I work around this? 

I no longer have SunOS running on anything.  This has been discussed.  I
think there is a config statement that is supposed to conditionalize memmove.

Also, I posted or mailed the maintainer that memmove is included in SunOS IF
you use /usr/5bin/cc in preference to /usr/bin/cc.  I can no longer check
this, but I believe it is true.

 >Everything else builds fine, except for 'nn' failing to link properly 
 >because of the memmove problem I've just described.

I believe you should be able to get this to work without my hack above.  You
did properly define the s- and m- files in config.h?


 >Regards,

 >Craig.
 >-- 
 >            Craig Dewick. Send email to 'cdewick@jedi.apana.org.au'
 >         Point a web browser at 'http://jedi.apana.org.au/~cdewick' to
 >       access my collection of Sun information and links to other places.

-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt.Inst. ()  /   _____  ______
  Flint, MI 48504    Free speech and free software!  /\ /        / /  /  / /
  Web admin:  http://www.gmi.edu/      ellis@gmi.edu   /________/ /  /  / /

Technical Details
Message-ID: <51i4op$nuu@news.eecs.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <5141e4$fls@jedi.apana.org.au> <51cvke$2ii@jedi.apana.org.au>

Show Full Headers
Complete Article Headers
Message-ID: <51i4op$nuu@news.eecs.umich.edu>
Subject: Re: nn 6.5.1 build error in 'db.c' with CACHE_PURPOSE is defined
Date: Sun, 15 Sep 1996 00:00:00 +0000
From: ellis@nova.gmi.edu (R. Stewart Ellis)
References: <5141e4$fls@jedi.apana.org.au> <51cvke$2ii@jedi.apana.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 180800960
Organization: GMI Engineering&Management Institute, Flint, MI
Newsgroups: news.software.nn