Re: ppp on 2.6.18

mohammed shareef
2008-06-16T15:10:04Z

Dear James,

i did the following as u said:

./configure --target=arm-linux --enable-arm --prefix=/root/Desktop/pppbuild

make CC=arm-linux-gcc LD=arm-linux-ld

it compiles without any error;

but when i do:
make install i get the following error:

install -d -m 755 /root/Desktop/pppbuild/sbin
install -d -m 755 /root/Desktop/pppbuild/share/man/man8
cd chat; make install
make[1]: Entering directory `/root/Desktop/ppp-2.4.4/chat'
mkdir -p /root/Desktop/pppbuild/sbin /root/Desktop/pppbuild/share/man/man8
install -s -c chat /root/Desktop/pppbuild/sbin
strip: Unable to recognise the format of the input file
`/root/Desktop/pppbuild/sbin/chat'
install: strip process terminated abnormally
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/Desktop/ppp-2.4.4/chat'
make: *** [install-progs] Error 2

thank you

On Mon, Jun 16, 2008 at 8:08 PM, James Chapman <jchapman@katalix.com> wrote:
> mohammed shareef wrote:
>>
>> I downloaded a 2.4.4 ppp package and did the following to compile it
>> for my omap-osk:
>>
>> ./configure --host=arm-linux --prefix=/root/Desktop/pppbuild
>> make
>> make install
>
> The configure script isn't one that supports cross compilation,
> unfortunately. So it is likely that you built files for your native desktop
> system.
>
> To cross compile, do
> make CC=arm-linux-gcc LD=arm-linux-ld
>
> but make sure that your compiler uses its own version of the system headers,
> not your desktop versions.
>
>
> --
> James Chapman
> Katalix Systems Ltd
> http://www.katalix.com
> Catalysts for your Embedded Linux software development
>
>