Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2663] Who's got Solaris 7 intel?



On Thu, Sep 30, 1999 at 01:18:30PM -0700, Carlos Y. Villalpando wrote:
> Ok, our new friend Mr. DCU Netrek server came to me with a compile
> problem for Solaris 2.7 intel:
> 
> gcc -g    -I../ntserv    -c update.c -o update.o
> update.c: In function `BecomeDaemon':
> update.c:464: too many arguments to function `setpgrp'

Yeah, you should be able to turn

> #if defined (linux) || defined(sgi) || (defined(sparc) && defined(sun))

to

> #if defined (linux) || defined(sgi) || defined(sun)

since all Solaris versions on the different platforms are supposed to
provide the same run and compile time environments.  Solaris uses the SysV
version of setpgrp() which takes no args (as opposed to the BSD version
which takes two args).

-- 
Dave Ahn <ahn@vec.wfubmc.edu>        |  "When you were born, you cried and the
                                     |  world rejoiced.  Try to live your life
Virtual Endoscopy Center             |  so that when you die, you will rejoice
Wake Forest Univ. School of Medicine |  and the world will cry."  -1/2 jj^2