[sudo-users] HP-UX 11.23 - make issue

Ladner, Eric (Eric.Ladner) Eric.Ladner at chevron.com
Tue Jan 16 16:43:08 EST 2007


It's not a make issue, it's a compile time issue.

I haven't compiled on 11.23 myself, but I'd suggest this:

$ make clean
$ ./configure (.. Your options  here ..)
$ make

See if the same problem occurs.

If it does, edit the Makefile in the main sudo directory and search for
"-D__10_10_compat_code" in the Makefile and delete it (don't delete the
line, just the characters above).  Run "make clean; make" after editing
the Makefile.  See if it does something else (or worse).

Failing that, I'd go get the 11.23 package from the HP-UX porting
center.

Eric Ladner
Systems Analyst
Pascagoula Refinery

-----Original Message-----
From: sudo-users-bounces at courtesan.com
[mailto:sudo-users-bounces at courtesan.com] On Behalf Of AJ Rebmann
Sent: Tuesday, January 16, 2007 1:16 PM
To: sudo-users at sudo.ws
Subject: [sudo-users] HP-UX 11.23 - make issue

OS: HP-UX 11.23 ia64

Compiler: GCC 4.1.1 ia64 (precompiled depot)

Tried using make that came with the OS and gmake 3.81 ia64 (precompiled
depot)

Sudo source: sudo 1.6.8p12

 

 I ran configure with the -with-ldap and -with-pam. That ran
successfully. Make is where I ran into problems.

 

HP-UX make: 

root@*****# make

        gcc -c -I. -I.  -O2 -D__10_10_compat_code
-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/mp.h:53,

                 from /usr/include/sys/malloc.h:59,

                 from /usr/include/net/netmp.h:51,

                 from /usr/include/net/if.h:59,

                 from interfaces.c:82:

/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete
element type

*** Error exit code 1

 

Stop.

 

Gmake:

root@*****# /usr/local/bin/gmake

gcc -c -I. -I.  -O2 -D__10_10_compat_code
-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/mp.h:53,

                 from /usr/include/sys/malloc.h:59,

                 from /usr/include/net/netmp.h:51,

                 from /usr/include/net/if.h:59,

                 from interfaces.c:82:

/usr/include/machine/sys/getppdp.h:65: error: array type has incomplete
element type

gmake: *** [interfaces.o] Error 1

 

Debugging source code is FAR from my strong point in administration :-)
I'm not sure how to fix this problem. Any suggestions or comments will
be greatly appreciated.

 

 

 

 

 

 

A. J. Rebmann

Midwest ISO

701 City Center Drive

Carmel, IN 46032

Phone: 317.249.5171

Cell: 317.507.1394

Email: arebmann at midwestiso.org

 

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




More information about the sudo-users mailing list