Re: ppp on 2.6.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mohammed shareef wrote:
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

You need to add STRIP=arm-linux-strip and possibly INSTALL=arm-linux-install to the make install command line. If that fails, hack the -s out of the install command in chat/Makefile and strip the file by hand.

`/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@xxxxxxxxxxx> 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





--
James Chapman
Katalix Systems Ltd
http://www.katalix.com
Catalysts for your Embedded Linux software development

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux