sudo compiling error

mackay at mackay at
Tue Jan 9 14:16:31 EST 2001

From: Scott D. MacKay

Correct me if I am wrong (which *does* happen), but I think the output
messages say it all.
This looks like a GCC install for Solaris 2.4
You may want to get a gcc for 2.6...


"Mubaraki, Altaf (DCS)" <AltafM at> on 01/09/2001 01:46:43 PM

To:   sudo-users at
cc:    (bcc: Scott D. MacKay/943904/EKC)
Subject:  sudo compiling error

Hi all:

I am trying to compile sudo ver 1.6.3p5 on a solaris 2.6 box. When I run
make it aborts while compiling interfaces.c.  Here is the error I get:

gcc -c -I. -I.  -D__EXTENSIONS__ -g -O2 -D_PATH_SUDOERS=\"/etc/sudoers\"
-DSUDOERS_MODE=0440  interfaces.c
In file included from /usr/include/sys/turnstile.h:12,
                 from /usr/include/sys/t_lock.h:20,
                 from /usr/include/sys/vnode.h:37,
                 from /usr/include/sys/stream.h:21,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from interfaces.c:59:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from interfaces.c:59:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `interfaces.o'

Last year, when I first installed sudo (same version) on this machine, the
installation went smoothly. Unfortunately, I had to remove it later on as I
didn't have an OK from my manager. Incidentally, I get the 'warning: NBBY
redefined' while compiling all the objects in SRCS.

Would be obliged to one any who may shed light as to what am I missing...




sudo-users mailing list <sudo-users at>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list