[collectd] Re: Cross-compiling of collectd

Stuart Nicholson stuart at snicholson.net
Wed Dec 14 22:37:30 CET 2005


> what kind of emb system are u using?

Our team is developing a custom board called "mrdig", part of the 
Copperfield-2 system.  mrdig is a compact PCI board with a PowerQuicc 
processor and bi Xilinx FPGA.  We're lead by Chris Huffine at the U.S. Naval 
Research Laboratory in Washington, D.C.  The hardware is developed by 
Aeronix, Inc.

Our project was on the April 2005 cover of Linux Journal, called "Shell 
Scripts in Space."  Multiples of the board are used in the Tacsat-1 and 
Tacsat-2 satellites (both still awaiting launch.)  Although the firmware for 
those systems is frozen and it's too late for collectd-in-space, I'm adding 
it to the current development image for Copperfield-2 products, and 
considering using the collectd/rrdtool tools and data formats for 
telemetry-gathering.


> huh, yes. i run into such -rdynamic problems on solaris/gcc4/binutils 
> already.
> turned out that it was a gcc4 bug and it has been fixed in recent 
> versions.
>
> which gcc/binutils version are u using?

I'm using gcc 3.3.3 as supplied in the Denx developer's distribution. 
ppl-linux-gcc -v reports:

=============================================
Reading specs from
/home2/opt/eldk-3.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
Configured with:
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
 --enable-shared --enable-threads=posix --disable-checking --with-system-zlib
 --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj
 --host=i386-redhat-linux --target=ppc-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1 3.3.3-8)

=============================================


> which collectd version have you used?

I'm building collectd-3.4.0.tar.gz.


> i would bet that libtool (libltdl) handles your case now...

I don't think that libltdl is being used  in that version.


>> 3) Install using `make install DESTDIR=<path-to-root-filesystem-image>'

Yep, fixed me right up.. thanks.


-- Stuart Nicholson 




More information about the Collectd mailing list