public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] emerge ppp with crosscompile problem
@ 2006-05-02 14:39 Jakub Ladman
  2006-05-03  9:48 ` Harald Schioeberg
  0 siblings, 1 reply; 9+ messages in thread
From: Jakub Ladman @ 2006-05-02 14:39 UTC (permalink / raw
  To: gentoo-embedded

Hi everyone.
I have this problem
By this script i am trying to emerge ppp ebuild:

trotl ladmanj # cat memerge
#!/bin/bash

ARCH=sh4
ACCEPT_KEYWORDS="-x86 -~x86 sh ~sh"
ROOT="/home/ladmanj/work_projects/sh4prj"
CFLAGS="-Os -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-L${ROOT}/lib -L${ROOT}/usr/lib"
CBUILD=i686-pc-linux-gnu
CHOST=sh4-pc-linux-uclibc
CTARGET=sh4-pc-linux-uclibc
CC=sh4-pc-linux-uclibc-gcc
CXX=sh4-pc-linux-uclibc-g++
PKGDIR=/usr/portage/packages/sh4
USE="-* -X -kde -gnome -glibc uclibc make-symlinks static dhcp"

export ARCH ACCEPT_KEYWORDS CFLAGS CXXFLAGS LDFLAGS ROOT CBUILD CHOST CTARGET 
CC CXX PKGDIR USE

emerge -b $*
trotl ladmanj #  

this is the error i get

gcc -o dhcpc.so -shared dhcpc.o clientpacket.o packet.o socket.o options.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: 
dhcpc.o: Relocations in generic ELF (EM: 42)
dhcpc.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [dhcpc.so] Error 1

When i disable the dhcp use flag, it succesfuly installs everything. But i 
need dhcp support.

Thanks for your help
Best regards
Jakub Ladman
-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-05-03 12:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-02 14:39 [gentoo-embedded] emerge ppp with crosscompile problem Jakub Ladman
2006-05-03  9:48 ` Harald Schioeberg
2006-05-03  9:59   ` Jakub Ladman
2006-05-03 10:42     ` Jakub Ladman
2006-05-03 11:57       ` Harald Schioeberg
2006-05-03 12:09         ` Jakub Ladman
2006-05-03 12:27           ` Harald Schioeberg
2006-05-03 12:41             ` Harald Schioeberg
2006-05-03 13:01         ` wireless

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox