jeff-

that symbolic link is created by the following line in configure.in

AC_LINK_FILES(gmond/machines/${metric_source}, gmond/machine.c)

the ${metric_source} variable is set in the case statement just above
it.  all you need to do is add your host to the case statement and make
sure it links "linux.c".  i'm surprised it doesn't work as is since
*linux* is being in the case statement... should grab all the platforms
linux runs on.  autoconf might not know how to correctly handle your
platform.

good luck and let me know if there is anyway else i can help.
-matt


On Tue, 2004-03-02 at 08:48, Jeff Stevens wrote:
> I worked on it a little more and see that at the end
> of the configuration I get:
> 
> config.status: creating gmetric/Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: linking ./gmond/machines/ to
> gmond/machine.c
> config.status: executing depfiles commands
> 
> -- Ganglia 2.5.3 --
> Type "make" to compile.
> 
> 
> So it looks like the configuration file doesn't know
> which OS I want to use.  How do you pass this in to
> the configuration?
> 
> Thanks,
>    Jeff Stevens
> 
> 
> --- Jeff Stevens <[EMAIL PROTECTED]> wrote:
> > 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
> > 
> > 
> >
> -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps
> > Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> >
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > Ganglia-general mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what youre looking for faster
> http://search.yahoo.com
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
-- 
mobius strippers never show you their backside
pgp fingerprint A7C2 3C2F 8445 AD3C 135E  F40B 242A 5984 ACBC 91D3

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to