sudo compiling error

Mubaraki, Altaf (DCS) AltafM at exchange.ml.com
Tue Jan 9 13:46:43 EST 2001


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\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -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:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.1/include/sys/param.h:185: warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous definition
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...

Thanks,

Regards

Altaf




More information about the sudo-users mailing list