Menu

#52 [PATCH] 3.1.2 SunOS/Solaris compile fix

open
nobody
None
5
2014-03-26
2009-01-29
Jari Aalto
No

See attachement for this compile error fix.

$ uname -a
SunOS 5.9 Generic_122300-35 sun4u sparc

$ make
...
osd.c: In function `osd_getPid':
osd.c:519: error: `__pid_t' undeclared (first use in this function)
osd.c:519: error: (Each undeclared identifier is reported only once
osd.c:519: error: for each function it appears in.)
osd.c:519: error: syntax error before "pid"
osd.c:522: error: `pid' undeclared (first use in this function)
make[3]: *** [osd.o] Error 1
make[3]: Leaving directory `/mnt/cc/staff-f/jaalto/tmp/compile/src'
make[2]: *** [Headers/flag_codes.gen] Error 2
make[2]: Leaving directory `/mnt/cc/staff-f/jaalto/tmp/compile/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/cc/staff-f/jaalto/tmp/compile'
make: *** [all] Error 2

Discussion

  • Jari Aalto

    Jari Aalto - 2009-01-29
     
  • Chris St John

    Chris St John - 2014-03-26

    Also fixes OSX and appears to have made its way into the brew formula for splint

     

Log in to post a comment.

MongoDB Logo MongoDB