[sudo-users] Sudo Comiplation for HP-PA Risc 1.1
Ruchi Verma
ver.ruchi at gmail.com
Fri May 16 03:39:56 EDT 2008
Hi ,
I have also observed something now :
i used the following flags :
CFLAGS=-mpa-risc-1-1 LDFLAGS=-mpa-risc-1-1
After running "make" , the object files are created for PA_Risc 1.1 however
the executables are still created for PA-Risc 2.0
# file visudo.o
visudo.o: PA-RISC1.1 relocatable object
# file visudo
visudo: PA-RISC2.0 shared executable dynamically linked -not
stripped
#
Please suggest.
On 5/16/08, Ruchi Verma <ver.ruchi at gmail.com> wrote:
>
> Thanks Todd, however I have to comiple sudo as per some specifications like
> the ones mentioned below :
>
> ./configure --prefix=/opt/soe/local/sudo-1.6.9 \
> --exec-prefix=/opt/soe/local/sudo-1.6.9 \
> --sysconfdir=/opt/soe/local/etc \
> --with-pam \
> --with-timedir=/var/run/sudo \
> --mandir=/opt/soe/local/sudo-1.6.9/man \
> --with-CC=gcc
>
> Thats why i want something to worlk on my machine itself. Absence of a
> PA-Risc 1.1 machine is causing the problems. I am looking for some gcc
> options which could create a installation tar ball compatible for PA-risc1.1
>
> Regards.
>
>
> On 5/14/08, Todd C. Miller <Todd.Miller at courtesan.com> wrote:
>>
>> In message <33df27e70805140753mfd6694cx14e61545aa44267d at mail.gmail.com>
>> so spake "Ruchi Verma" (ver.ruchi):
>>
>> > * 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 env.c
>> > Assembler messages:
>> > Can't open +DAportable for reading: No such file or directory
>> >
>> > The C compiler which i am using is :
>> >
>> > # swlist | grep -i gcc
>> > gcc 3.4.3 gcc
>> > libgcc 4.2.3 libgcc
>>
>> Gcc must be using the GNU assembler instead of the HP one. You are
>> probably better off just using the HP package. If for some reason
>> that doesn't work for you I can probably build you an installation
>> tarball from one of the testdrive.hp.com machines.
>>
>> - todd
>>
>
>
More information about the sudo-users
mailing list