sudo compiling error

mackay at kodak.com mackay at kodak.com
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.
"/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2.1/include/sys/param.h"
This looks like a GCC install for Solaris 2.4
You may want to get a gcc for 2.6...

-Scott






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

To:   sudo-users at courtesan.com
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\"
-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

____________________________________________________________
sudo-users mailing list <sudo-users at courtesan.com>
For list information, options, or to unsubscribe, visit:
http://www.courtesan.com/mailman/listinfo/sudo-users








More information about the sudo-users mailing list