🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6916

Re: nn port to DEC Alpha OSF/1 ?

#6916
From: Ofer Inbar
Date: Thu, 22 Dec 1994 17:36
55 lines
3713 bytes
speno@cc.swarthmore.edu (John P. Speno) writes:
>>If anyone has gone through the pain of porting nn 6.5 to a DEC Alpha
>>running OSF/1, please let me know what you had to do.  I asked someone
>>who ported nn 6.4 to the Alpha, and he said it was not trivial.
>
>Pain? What pain? The only change I made was adding:
>
>#define HAVE_STDLIB_H
>
>to conf/s-osf.h. Follow the instructions and it works.

Really?  I seem to be having a lot of trouble with inconsistencies
between the data types on the Alpha, and the assumptions nn makes
about types.  I tried adding HAVE_STDLIB_H, but it doesn't make much
of a difference.  I'm following the same instructions and general
procedures I have used to successfully install various versions of nn
6.4 and 6.5 on a variety of Sun, HP, Ultrix, Solbourne, and KSR
machines.  I noticed that the Alpha OSF/1 platform is *not* listed in
the documentations as one that nn is known to be compatible with, BTW.
Here's a typical make on the Alpha, using gcc:

cp xmakefile MF.c
/lib/cpp -DCOMPILER="gcc" -DPREPROC="/lib/cpp"  -DLDEBUG="-s "  -DCDEBUG="" -Iconf MF.c |  sed -e '1,/MAKE WILL CUT HERE/d'  -e '/^#/d'  -e '/^[ \f  ]$/d'  -e '/^[ \/]*[*]/d' |  sed -n -e '/^..*$/p' > ymakefile
rm -f MF.c
make  -f ymakefile all
gcc -Iconf -O -I/usr/include/bsd  -c nn.c
nn.c: In function `display_motd':
nn.c:660: warning: type mismatch in implicit declaration for built-in function `strcpy'
gcc -Iconf -O -I/usr/include/bsd  -c admin.c
admin.c: In function `group_admin':
admin.c:888: warning: type mismatch in implicit declaration for built-in function `strcpy'
admin.c:889: warning: type mismatch in implicit declaration for built-in function `strlen'
gcc -Iconf -O -I/usr/include/bsd  -c proto.c
gcc -Iconf -O -I/usr/include/bsd  -c global.c
global.c:684: warning: `va_start' redefined
/usr/local/lib/gcc-lib/alpha-dec-osf1.3/2.6.2/include/va-alpha.h:32: warning: this is the location of the previous definition
global.c: In function `mk_file_name':
global.c:462: warning: type mismatch in implicit declaration for built-in function `strlen'
global.c: In function `copy_str':
global.c:499: warning: type mismatch in implicit declaration for built-in function `strcpy'
global.c: In function `sys_error':
global.c:760: incompatible types in assignment
global.c:764: incompatible types in assignment
global.c: In function `sys_warning':
global.c:805: incompatible types in assignment
global.c:816: incompatible types in assignment
global.c: In function `log_entry':
global.c:846: incompatible types in assignment
*** Exit 1
Stop.

  --  Cos (Ofer Inbar)  --  cos@cs.brandeis.edu
  --  WBRS (BRiS)  --  WBRS@binah.cc.brandeis.edu  WBRS@brandeis.bitnet
 Brandeis University Computer Science Department         (617) 736-2700
 415 South Street, Waltham MA, 02254-9110        System Admin: 736-2717
Technical Details
Message-ID: <3dcdfk$gqo@news.cs.brandeis.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!solaris.cc.vt.edu!swiss.ans.net!gatech!news-feed-1.peachnet.edu!paperboy.wellfleet.com!noc.near.net!news.cs.brandeis.edu!cos
References: <3d78td$1le@news.cs.brandeis.edu> <3d7rc4$c9p@larch.cc.swarthmore.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3dcdfk$gqo@news.cs.brandeis.edu>
Subject: Re: nn port to DEC Alpha OSF/1 ?
Date: Thu, 22 Dec 1994 17:36:52 +0000
From: cos@cs.brandeis.edu (Ofer Inbar)
References: <3d78td$1le@news.cs.brandeis.edu> <3d7rc4$c9p@larch.cc.swarthmore.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!solaris.cc.vt.edu!swiss.ans.net!gatech!news-feed-1.peachnet.edu!paperboy.wellfleet.com!noc.near.net!news.cs.brandeis.edu!cos
Newsgroups: news.software.nn
Organization: Brandeis University
Lines: 55
NNTP-Posting-Host: cran.cs.brandeis.edu
X-Newsreader: NN version 6.5.0 #3