Hi,
I'm trying to cross-compile gmond to run under ELDK
on a embedded MPC855T processor. For those of you
that aren't familiar with the ELDK project, it stands
for Embedded Linux Development Kit, and is an embedded
linux distribution that comes with a cross-compiler
(ppc_8xx-gcc). I went and added ppc_8xx to
config.sub, and ran configure ("./configure --host
ppc_8xx), but when I do a make it errors out here:
ppc_8xx-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I../lib/dnet -g -O2 -Wall -c `test -f 'listen.c' ||
echo './'`listen.c
source='cleanup.c' object='cleanup.o' libtool=no \
depfile='.deps/cleanup.Po'
tmpdepfile='.deps/cleanup.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
ppc_8xx-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I../lib/dnet -g -O2 -Wall -c `test -f 'cleanup.c' ||
echo './'`cleanup.c
source='machine.c' object='machine.o' libtool=no \
depfile='.deps/machine.Po'
tmpdepfile='.deps/machine.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
ppc_8xx-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-I../lib/dnet -g -O2 -Wall -c `test -f 'machine.c' ||
echo './'`machine.c
cpp0: Input file `./machine.c' is a directory
make[3]: *** [machine.o] Error 1
make[3]: Leaving directory
`/orss/software/ganglia/ganglia-monitor-core-2.5.3/gmond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/orss/software/ganglia/ganglia-monitor-core-2.5.3/gmond'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/orss/software/ganglia/ganglia-monitor-core-2.5.3'
make: *** [all] Error 2
Also, when I run "./configure --host ppc_8xx", I get
this problem with the linker, but it seems to figure
it out fine:
checking for ld used by GCC...
/orss/software/eldk/eldk-2.1.0/usr/ppc-linux/bin/ld
checking if the linker
(/orss/software/eldk/eldk-2.1.0/usr/ppc-linux/bin/ld)
is GNU ld... no
checking for
/orss/software/eldk/eldk-2.1.0/usr/ppc-linux/bin/ld
option to reload object files... -r
checking for BSD-compatible nm...
/orss/software/eldk/eldk-2.1.0/usr/bin/ppc_8xx-nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries...
unknown
checking command to parse
/orss/software/eldk/eldk-2.1.0/usr/bin/ppc_8xx-nm -B
output... ok
checking how to run the C preprocessor... ppc_8xx-gcc
-E
checking for ANSI C header files... yes
What am I doing wrong? I would appreciate any
help!!!!!
Thanks,
Jeff Stevens
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com