🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #7997

nn 6.5.1 requires memmove() under SunOS 4.1.4 on 4/380

#7997
From: Craig Dewick
Date: Fri, 20 Sep 1996 00:00
36 lines
2013 bytes

I'm trying to build nn 6.5.1 on this machine, which is a Sun 4/380 running
SunOS 4.1.4 (aka Solaris 1.1.2). I'm using gcc 2.6.3 as my compiler.

When the build process tries to link all the object files together to make
the new 'nn' binary, the linker complains about 'memmove' not being
defined. 

SunOS (at least 4.1.x) does not have 'memmove', so I'm wondering how I can
work around this? It's only used in one place, which is line 403 of
'libnov.c', in the de_digest() function. This section of code is being
compiled in because I have defined DO_NOV_DIGEST in the main configuration
file.

There aren't any #ifdef's in the code to suggest that there should be a
way to use an alternative to memmove by configuring it differently, so I'm
presuming that the author made the assumption that 'memmove' was common
across all Unix platforms.

Have any other Sun users successfully built this new version of nn on
machines running SunOS 4.1.x with DO_NOV_DIGEST defined? I'd be interested
to learn about how you worked around the problem I've described above... 

BTW, with DO_NOV_DIGEST undefined nn builds without any problems.

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.

Technical Details
Message-ID: <51sevj$3c4@jedi.apana.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <51sevj$3c4@jedi.apana.org.au>
Subject: nn 6.5.1 requires memmove() under SunOS 4.1.4 on 4/380
Date: Fri, 20 Sep 1996 00:00:00 +0000
From: cdewick@jedi.apana.org.au (Craig Dewick)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail
X-Deja-AN: 184084970
Organization: Jedi - Fighting for Net.Freedom
Newsgroups: news.software.nn,comp.sys.sun.admin,comp.sys.sun.apps