[sudo-users] Sudo Comiplation for HP-PA Risc 1.1

Eric Bradley ebradley4 at csc.com
Wed May 14 10:53:26 EDT 2008


Ruchi,
Try going to HP's Internet Express site and pull down the 11iv1 sudo 
compiled by HP and packaged in Software Distributor format. After you pull 
it down it's just a swinstall. Here's the link:

https://h20392.www2.hp.com/portal/swdepot/try.do?productNumber=HPUXIEXP1111

-Ric Bradley




"Ruchi Verma" <ver.ruchi at gmail.com> 
Sent by: sudo-users-bounces at courtesan.com
05/14/2008 09:38 AM

To
"Todd C. Miller" <Todd.Miller at courtesan.com>, sudo-users at sudo.ws
cc

Subject
Re: [sudo-users] Sudo Comiplation for HP-PA Risc 1.1






Hi,

I used the following flags:


# Usually -O and/or -g
*CFLAGS = -Wa +DAportable*

# Flags to pass to the link stage
*LDFLAGS = -Wa +DAportable
*SUDO_LDFLAGS =  $(LDFLAGS)

# Where to install things...
prefix = /opt/soe/local/sudo-1.6.9
"Makefile" 402 lines, 15472 characters





It did not run :



# make
        gcc -c -I. -I.  -Wa +DAportable
-D_PATH_SUDOERS=\"/opt/soe/local/etc/sudoers\"
-D_PATH_SUDOERS_TMP=\"/opt/soe/local/etc/sudoers.tmp\" -DSUDOERS_UID=0
-DSUDOERS_GID=0 -DSUDOERS_MODE=0440  check.c
gcc: +DAportable: No such file or directory
check.c: In function `expand_prompt':
check.c:239: warning: comparison between signed and unsigned
check.c:246: warning: comparison between signed and unsigned
check.c:253: warning: comparison between signed and unsigned
check.c:260: warning: comparison between signed and unsigned
*** Error exit code 1

Stop.



Using the Flags like this also didnt work :



CFLAGS = -Wa,+DAportable

# Flags to pass to the link stage
LDFLAGS = -Wa,+DAportable
SUDO_LDFLAGS =  $(LDFLAGS)





On 5/14/08, Todd C. Miller <Todd.Miller at courtesan.com> wrote:
>
> In message <33df27e70805140551u19a348d7q98340056d5afbcdd at mail.gmail.com>
>        so spake "Ruchi Verma" (ver.ruchi):
>
> Try using -Wa,+DAportable in CFLAGS and LDFLAGS.  That should pass
> the appropriate flag to the assembler.
>
> - todd
>
____________________________________________________________ 
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