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

Ruchi Verma ver.ruchi at gmail.com
Wed May 14 10:38:30 EDT 2008


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
>



More information about the sudo-users mailing list