🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5620

help in compiling INN

#5620
From: Susanne DeLay Zirbes
Date: Thu, 24 Mar 1994 15:52
297 lines
13716 bytes
  Please
  need help.  I'm a Unix ignoramous whose 
  VMS weenie friends talked me into running INN over ANU.  So, I'm 
  trying to build INN on my Sun using SunOS 4.  oops, gotta look. 
  
  have found out I had to build the C version of subst.  have gone out 
  and gotten Patch.
  
  have modified config.data to look like this:  [when I got the lint 
  listing that follows and I thought to change the SIZE_T and POINTER 
  configuration parameters, only to get the same lint listing--
  
  CONFIG.data (only including the changed #4 section): 
  ____________________________________________________________________ 
  ##
  ##  4.  C LIBRARY DIFFERENCES
  ##  Use stdargs, varargs, or neither?  Pick VARARGS STDARGS or 
  NONE.
  ##  You need vfprintf and vfsprintf if not NONE. 
  #### =()<VAR_STYLE       @<VAR_STYLE>@>()= 
  VAR_STYLE      VARARGS
  ##  If you don't have <string.h>, set this to "mystring.h" 
  #### =()<STR_HEADER      @<STR_HEADER>@>()=
  STR_HEADER          <string.h>
  ##  If you don't have <memory.h>, set this to "mymemory.h" 
  #### =()<MEM_HEADER      @<MEM_HEADER>@>()=
  MEM_HEADER          <memory.h>
  ##  What is a file offset?  Usually long or off_t.  *Must be long 
  for now!*
  #### =()<OFFSET_T             @<OFFSET_T>@>()= 
  OFFSET_T            long
  ##  What is the type of an object size? Usually size_t or 
  unsigned int.
  #### =()<SIZE_T               @<SIZE_T>@>()= 
  SIZE_T              size_t
  ##  What is the type of a passwd uid and gid, for use in 
  chown(2)?
  #### =()<UID_T           @<UID_T>@>()= 
  UID_T               int
  #### =()<GID_T           @<GID_T>@>()= 
  GID_T               int
  ##  Type of a pid, for use in kill(2). 
  #### =()<PID_T           @<PID_T>@>()= 
  PID_T               int
  ##  Generic pointer, used by memcpy, malloc, etc.  Usually char 
  or void.
  #### =()<POINTER              @<POINTER>@>()= 
  POINTER             void
  ##  Worst-case alignment, in order to shut lint up 
  #### =()<ALIGNPTR        @<ALIGNPTR>@>()=
  ALIGNPTR       int
  ##  What should a signal handler return?  Usually int or void. 
  #### =()<SIGHANDLER      @<SIGHANDLER>@>()=
  SIGHANDLER          void
  ##  Type of variables can be modified in a signal handler? 
  sig_atomic_t
  #### =()<SIGVAR          @<SIGVAR>@>()= 
  SIGVAR         int
  ##  Function that returns no value, and a pointer to it.  Pick 
  int or void
  #### =()<FUNCTYPE        @<FUNCTYPE>@>()= 
  FUNCTYPE       void
  ##  Use BSD4.2 or Posix directory names?  Pick DIRENT or DIRECT. 
  #### =()<DIR_STYLE       @<DIR_STYLE>@>()=
  DIR_STYLE      DIRENT
  ##  Use flock, lockf, or nothing to lock files? 
  ##  Pick FLOCK, LOCKF, FCNTL, or NONE
  #### =()<LOCK_STYLE      @<LOCK_STYLE>@>()= 
  LOCK_STYLE          FLOCK
  ##  Do you have <unistd.h>?  Pick DO or DONT 
  #### =()<HAVE_UNISTD     @<HAVE_UNISTD>@>()= 
  HAVE_UNISTD    DONT
  ##  Do you have setbuffer?  Pick DO or DONT.
  #### =()<HAVE_SETBUFFER       @<HAVE_SETBUFFER>@>()= 
  HAVE_SETBUFFER      DO
  ##  Do you have gettimeofday?  Pick DO or DONT.
  #### =()<HAVE_GETTIMEOFDAY    @<HAVE_GETTIMEOFDAY>@>()= 
  HAVE_GETTIMEOFDAY   DO
  ##  Do you have fchmod?  Pick DO or DONT.
  #### =()<HAVE_FCHMOD          @<HAVE_FCHMOD>@>()= 
  HAVE_FCHMOD         DO
  ##  Do you have setsid()?  Pick DO or DONT.
  #### =()<HAVE_SETSID          @<HAVE_SETSID>@>()= 
  HAVE_SETSID         DONT
  ##  Does your (struct tm) have a tm_gmtoff field?  Pick DO or 
  DONT.
  #### =()<HAVE_TM_GMTOFF       @<HAVE_TM_GMTOFF>@>()= 
  HAVE_TM_GMTOFF      DO
  ##  Does your (struct stat) have a st_blksize field?  Pick DO or 
  DONT.
  #### =()<HAVE_ST_BLKSIZE      @<HAVE_ST_BLKSIZE>@>()= 
  HAVE_ST_BLKSIZE          DO
  ##  Use waitpid instead of wait3?  Pick DO or DONT. 
  #### =()<HAVE_WAITPID         @<HAVE_WAITPID>@>()= 
  HAVE_WAITPID        DONT
  ##  Use "union wait" instead of int?  Pick DO or DONT. 
  #### =()<USE_UNION_WAIT       @<USE_UNION_WAIT>@>()= 
  USE_UNION_WAIT      DO
  ##  How to fork?  Pick fork or vfork. 
  #### =()<FORK            @<FORK>@>()= 
  FORK           vfork
  ##  Do you have <vfork.h>?  Pick DO or DONT. 
  #### =()<HAVE_VFORK      @<HAVE_VFORK>@>()= 
  HAVE_VFORK          DO
  ##  Do you have symbolic links?  Pick DO or DONT. 
  #### =()<HAVE_SYMLINK         @<HAVE_SYMLINK>@>()= 
  HAVE_SYMLINK        DO
  ##  Do you have Unix-domain sockets?  Pick DO or DONT. 
  #### =()<HAVE_UNIX_DOMAIN     @<HAVE_UNIX_DOMAIN>@>()= 
  HAVE_UNIX_DOMAIN    DO
  ##  Does your AF_UNIX bind use sizeof for the socket size?  Pick 
  DO or DONT.
  #### =()<BIND_USE_SIZEOF      @<BIND_USE_SIZEOF>@>()= 
  BIND_USE_SIZEOF          DO
  ##  How should close-on-exec be done?  Pick IOCTL or FCNTL. 
  #### =()<CLX_STYLE       @<CLX_STYLE>@>()=
  CLX_STYLE      IOCTL
  ##  How should non-blocking I/O be done?  Pick IOCTL or FCNTL. 
  #### =()<NBIO_STYLE      @<NBIO_STYLE>@>()=
  NBIO_STYLE          FCNTL
  ##  How should resource-totalling be done?  Pick RUSAGE or TIMES 
  #### =()<RES_STYLE       @<RES_STYLE>@>()=
  RES_STYLE      RUSAGE
  ##  How to get number of available descriptors?
  ##  Pick GETDTAB, GETRLIMIT, SYSCONF, ULIMIT, or CONSTANT. 
  ####  =()<FDCOUNT_STYLE       @<FDCOUNT_STYLE>@>()= 
  FDCOUNT_STYLE       GETDTAB
  ##  If greater than -1, then use [gs]etrlimit to set that many 
  descriptors.
  ##  If -1, then no [gs]etrlimit calls are done. 
  #### =()<NOFILE_LIMIT         @<NOFILE_LIMIT>@>()= 
  NOFILE_LIMIT        -1
  ##  Do you need <time.h> as well as <sys/time.h>?  Pick DO or 
  DONT.
  #### =()<NEED_TIME       @<NEED_TIME>@>()= 
  NEED_TIME      DONT
  ##  What predicate, if any, the <ctype.h> macros need 
  #### =()<CTYPE           @<CTYPE>@>()=
  CTYPE               (isascii((c)) && isXXXXX((c))) 
  #CTYPE              ((c) > 0 && isXXXXX((c))) 
  #CTYPE              isXXXXX((c))
  ##  What's the return type of abort?  Usually int or void. 
  #### =()<ABORTVAL        @<ABORTVAL>@>()=
  ABORTVAL       int
  ##  What's the return type of alarm?  Usually int or unsigned 
  int.
  #### =()<ALARMVAL        @<ALARMVAL>@>()= 
  ALARMVAL       int
  ##  What's the return type of getpid?  Usually int or unsigned 
  int.
  #### =()<GETPIDVAL       @<GETPIDVAL>@>()= 
  GETPIDVAL      int
  ##  What's the return type of sleep?  Usually int or unsigned 
  int.
  #### =()<SLEEPVAL        @<SLEEPVAL>@>()= 
  SLEEPVAL       int
  ##  What's the return type of  qsort?  Usually int or void. 
  #### =()<QSORTVAL        @<QSORTVAL>@>()=
  QSORTVAL       int
  ##  What's the return type of lseek?  Usually long or off_t. 
  #### =()<LSEEKVAL        @<LSEEKVAL>@>()=
  LSEEKVAL       long
  ##  What's the return type of free?  Usually int or void. 
  #### =()<FREEVAL              @<FREEVAL>@>()=
  FREEVAL             int
  ##  What's the return type of exit?  Usually int or void.
  ##  (For gcc (not pedantic ANSI) use "volatile void" in EXITVAL 
  and _EXITVAL.)
  #### =()<EXITVAL              @<EXITVAL>@>()= 
  EXITVAL             void
  ##  What's the return type of _exit?  Usually int or void. 
  #### =()<_EXITVAL        @<_EXITVAL>@>()=
  _EXITVAL       int
  
  ___________________________________________________________________
  
  and, I get the following LINT error listing: 
  ___________________________________________________________________ 
  dbz.c(394): warning: statement not reached
  dbz.c(1246): warning: possible pointer alignment problem 
  dbz.c(1250): warning: possible pointer alignment problem 
  dbz.c(1731): warning: statement not reached
  dbz.c(1733): warning: illegal combination of pointer and integer, 
  op =
  dbz.c(1741): warning: statement not reached 
  dbz.c(1744): warning: statement not reached
  dbz.c(1756): warning: argument value unused in function dbzdebug 
  dbz.c(301): static variable debug unused
  defdist.c(154): warning: possible pointer alignment problem 
  inndcomm.c(73): warning: possible pointer alignment problem 
  inndcomm.c(88): warning: possible pointer alignment problem 
  inndcomm.c(206): warning: illegal pointer combination 
  inndcomm.c(227): warning: possible pointer alignment problem 
  inndcomm.c(257): warning: possible pointer alignment problem 
  inndcomm.c(269): warning: possible pointer alignment problem 
  inndcomm.c(279): warning: possible pointer alignment problem 
  inndcomm.c(286): warning: possible pointer alignment problem 
  inndcomm.c(295): warning: possible pointer alignment problem 
  inndcomm.c(316): warning: possible pointer alignment problem 
  localopen.c(45): warning: possible pointer alignment problem 
  qio.c(76): warning: possible pointer alignment problem qio.c(118): 
  warning: possible pointer alignment problem qio.c(150): warning: 
  possible pointer alignment problem readin.c(61): warning: possible 
  pointer alignment problem xrealloc.c(23): warning: possible 
  pointer alignment problem xwrite.c(22): warning: possible pointer 
  alignment problem malloc, arg. 1 used inconsistently llib-lc(441)  
  ::  dbz.c(743) malloc, arg. 1 used inconsistently llib-lc(441)  :: 
   dbz.c(1233) memchr value used inconsistently   llib-lc(447)  ::  
  dbz.c(1733) free value declared inconsistently llib-lc(275)  ::  
  dbz.c(1242) memchr value declared inconsistently    llib-lc(447)  
  :: dbz.c(1733)
  memcpy value declared inconsistently    llib-lc(449)  :: 
  dbz.c(1037)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  defdist.c(78)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  defdist.c(154)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  defdist.c(155)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  defdist.c(156)
  memset, arg. 1 used inconsistently llib-lc(450)  :: 
  inndcomm.c(73)
  memset, arg. 1 used inconsistently llib-lc(450)  :: 
  inndcomm.c(88)
  malloc value used inconsistently   llib-lc(441)  :: 
  inndcomm.c(206)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(227)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(257)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(269)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(279)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(286)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(295)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  inndcomm.c(316)
  malloc value declared inconsistently    llib-lc(441)  :: 
  inndcomm.c(206)
  memset, arg. 1 used inconsistently llib-lc(450)  :: 
  localopen.c(45)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(193)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(193)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(212)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(212)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(218)
  free, arg. 1 used inconsistently   llib-lc(275)  :: 
  parsedate.y(218)
  free, arg. 1 used inconsistently   llib-lc(275)  ::  qio.c(76) 
  free, arg. 1 used inconsistently   llib-lc(275)  ::  qio.c(77) 
  memchr, arg. 1 used inconsistently llib-lc(447)  ::  qio.c(118) 
  memchr, arg. 1 used inconsistently llib-lc(447)  ::  qio.c(150) 
  free, arg. 1 used inconsistently   llib-lc(275)  ::  readin.c(61) 
  memset, arg. 1 used inconsistently llib-lc(450)  :: 
  remopen.c(79)
  malloc value used inconsistently   llib-lc(441)  :: 
  xmalloc.c(22)
  malloc value declared inconsistently    llib-lc(441)  :: 
  xmalloc.c(22)
  realloc, arg. 1 used inconsistently     llib-lc(538)  :: 
  xrealloc.c(23)
  realloc value used inconsistently  llib-lc(538)  :: 
  xrealloc.c(23)
  realloc value declared inconsistently   llib-lc(538)  :: 
  xrealloc.c(23)
  write, arg. 2 used inconsistently  llib-lc(782)  ::  xwrite.c(22) 
  fprintf returns value which is sometimes ignored 
  _________________________________________________________________
  
  And, I went for the rest of the compilations, even though this lint 
  listing didn't look too cool to me and get a fatal error in the indd 
  build saying '_dbzwritethrough not defined.
  
  So, I'm stupid and at a loss.  Didn't make any great changes in the 
  config file because the Install doc talks about this being meant to 
  build on SunOS.
  
  So, can you help a stupid person out?  Or can you point me to 
  someone who can...
  
  Thanks!
  [ah tech support, one of the joys in life...] 
  -sueZ
  
  "I've always depended on the kindness of strangers" Blanche
S.D.Zirbes   [zirbess@fws.gov]
U.S. Fish and Wildlife Service
  Whose opinions are never meant to reflect on the Service
Technical Details
Message-ID: <Cn6EqB.45w@sacsa3.mp.usbr.gov>
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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!sgigate.sgi.com!sgiblab!swrinde!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!csus.edu!sacsa3.mp.usbr.gov!r6alph.irm.r6.fws.gov!SUEZ

Show Full Headers
Complete Article Headers
Message-ID: <Cn6EqB.45w@sacsa3.mp.usbr.gov>
Subject: help in compiling INN
Date: Thu, 24 Mar 1994 15:52:45 GMT
From: suez@r6alph.irm.r6.fws.gov (Susanne DeLay Zirbes)
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!gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!news.bu.edu!olivea!sgigate.sgi.com!sgiblab!swrinde!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!csus.edu!sacsa3.mp.usbr.gov!r6alph.irm.r6.fws.gov!SUEZ
Newsgroups: news.software.nn
Sender: news@sacsa3.mp.usbr.gov ( News Login Account)
Reply-To: suez@r6alph.irm.r6.fws.gov
Organization: U.S. Fish and Wildlife Service
Lines: 297