Article View: news.software.nn
Article #6948Re: nn port to DEC Alpha OSF/1 ?
From: Bill Tutt
Date: Sat, 31 Dec 1994 06:56
Date: Sat, 31 Dec 1994 06:56
90 lines
3715 bytes
3715 bytes
In <3dvda7$c5q@news.cs.brandeis.edu> cos@cs.brandeis.edu (Ofer Inbar) writes: >rassilon@cs.simpson.edu (Bill Tutt) writes: >>I've had no trouble getting nn to work with OSF/1. In fact >>here are my relavent.h files: >Thanks. I tried the .h files you gave me, and it was an improvement, >although it still doesn't really work. This one may be pretty easy to >fix, though... I don't have time now, I will try again next week, but >I wanted to follow up before your article expired just in case... :) >During the make, I get a few of these (on several different files): >gcc -Iconf -c macro.c >macro.c: In function `m_define': >macro.c:404: warning: cast to pointer from integer of different size >The offending line in this case is: > return type == 0 ? (char *)macro[cur_m] : (char *)(K_MACRO | cur_m); >It finally dies on this: >gcc -Iconf -c dir.c >dir.c: In function `list_directory': >dir.c:57: warning: assignment from incompatible pointer type >dir.c:58: dereferencing pointer to incomplete type >*** Exit 1 >Stop. >It might work if I just went through and changed all the casts... >But there's probably some other type inconsistency I'd cause then. >>config.h: >>#define NOV >Hmm, I'm compiling without NOV, I wonder if that makes a difference >here. Could, I dont know.. I havent tried using nn 6.5.0b3 with network_database >>/* #define NETWORK_DATABASE */ >On the other hand, I do need NETWORK_DATABASE... >>#define NNTP >Yup, both of us are using NNTP. >>#include "s-ultrix.h" >Strange that you're working from s-ultrix.h rather than the supplied >s-osf1.h, which is what I first tried. Any reason for that? Anyway, >I tried your s-ultrix.h this time. >>#include "m-template.h" >Again, any reason you started from the template rather than the >supplied m-alpha.h? Anyway, I tried your m- file this time. Yes, there is a reason for that.. I got 6.4.18 working by modifying s-ultrix.h and m-template.h to fit OSF/1's needs, and me being extremely lazy didnt notice said s-osf1.h and m-alpha.h. >> * Define NETWORK_BYTE_ORDER if the machine's int32's are >> * already in network byte order, i.e. m68k based. >> */ >>#define NETWORK_BYTE_ORDER /* */ >Hmmm, the supplied m-alpha.h specifically had this: >#ifdef NETWORK_DATABASE >#undef NETWORK_BYTE_ORDER >#include <netinet/in.h> >#endif /* NETWORK DATABASE */ >Does anyone know what the byte sex of an Alpha's int is? Hmm... I'ld go with what m-alpha.h says for NETWORK_BYTE_ORDER Like I said, all I did was basically bring in the files from my nn-6.4.18 source tree. Let me know how it turns out. (Now if only nn didnt take so long to start. Reading an active file with 10,000 newsgroups in it over a 56k link is no party. :( ) Bill Tutt rassilon@cs.simpson.edu
Technical Details
Message-ID:
<3e2vat$ah5@insosf1.infonet.net>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!howland.reston.ans.net!swiss.ans.net!solaris.cc.vt.edu!insosf1.infonet.net!cs.simpson.edu!rassilonReferences:
<3d78td$1le@news.cs.brandeis.edu> <3d7rc4$c9p@larch.cc.swarthmore.edu> <3dcdfk$gqo@news.cs.brandeis.edu> <3dcgae$lh1@insosf1.infonet.net> <3dvda7$c5q@news.cs.brandeis.edu>Show Full Headers
Complete Article Headers
Message-ID: <3e2vat$ah5@insosf1.infonet.net> Subject: Re: nn port to DEC Alpha OSF/1 ? Date: Sat, 31 Dec 1994 06:56:29 +0000 From: rassilon@cs.simpson.edu (Bill Tutt) References: <3d78td$1le@news.cs.brandeis.edu> <3d7rc4$c9p@larch.cc.swarthmore.edu> <3dcdfk$gqo@news.cs.brandeis.edu> <3dcgae$lh1@insosf1.infonet.net> <3dvda7$c5q@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!howland.reston.ans.net!swiss.ans.net!solaris.cc.vt.edu!insosf1.infonet.net!cs.simpson.edu!rassilon Newsgroups: news.software.nn Organization: Simpson College Lines: 90 NNTP-Posting-Host: cs.simpson.edu X-Newsreader: NN version 6.5.0 #4 (NOV)