Operating System - HP-UX
1835177 Members
2066 Online
110077 Solutions
New Discussion

Re: Mismatched machine types - make'ing sudo

 
S.Rider
Regular Advisor

Mismatched machine types - make'ing sudo

I get the following error when make'ing sudo. Anyone seen this before? The server is a L3000 so I'm pretty sure it's not an Itanium box. 8-)

# make
/bin/sh ./libtool --mode=link cc -o sudo_noexec.la sudo_noexec.lo -avoi
d-version -rpath /usr/libexec
/usr/bin/ld -b +h sudo_noexec.sl +b /usr/libexec -o .libs/sudo_noexec.sl .libs/
sudo_noexec.o -lc
ld: Mismatched machine types. Expected EM_PARISC but found EM_IA_64 in file .lib
s/sudo_noexec.o
Fatal error.
*** Error exit code 1
Ride Boldly Ride, but watch out for El Dorado's
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Mismatched machine types - make'ing sudo

Shalom,

Based on the error text, I'd say your code is bad. L3000 boxes can be system board switched to IA64 but I assume you'd know about that.

So, the code is no good and I suggest you consider sudo in depot form.

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p12/

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.8p9/

You will get an install error, but if you look at it carefully you can set the suid bit on the file it complains about and it will work just fine.

Sudo may be part of Internet Express from http://software.hp.com

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
S.Rider
Regular Advisor

Re: Mismatched machine types - make'ing sudo

Thanks for the reply Steve. Sudo was installed from the HP depot. I have a problem ticket opened with HP now.
Ride Boldly Ride, but watch out for El Dorado's
S.Rider
Regular Advisor

Re: Mismatched machine types - make'ing sudo

Ended up stumbling onto a fix for this, while experimenting.
Did a "make distclean" before doing the configure / make / make install.
All all was fine.
Ride Boldly Ride, but watch out for El Dorado's