[Buildroot] Newbie: building hdf5 for x86 32-bit --configure: error: C compiler cannot create executables

Williams Jr., Ernest L. ernesto at slac.stanford.edu
Wed Jan 7 07:05:59 UTC 2015


Hi

Sent from my iPhone

On Jan 6, 2015, at 10:30 PM, Baruch Siach <baruch at tkos.co.il<mailto:baruch at tkos.co.il>> wrote:

Hi Ernesto,

On Tue, Jan 06, 2015 at 08:39:42PM +0000, Williams Jr., Ernest L. wrote:
Another Newbie question.

I am now trying to build the hdf5 package for a 32-bit target.

I can't seem to track down this error:

checking for i686-buildroot-linux-uclibc-gcc... /afs/slac.stanford.edu/g/lcls/vol9/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/../host/linux-x86_64/i686-linux/usr/bin/ccache<http://slac.stanford.edu/g/lcls/vol9/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/../host/linux-x86_64/i686-linux/usr/bin/ccache> /afs/slac.stanford.edu/g/lcls/vol9/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/../host/linux-x86_64/i686-linux/usr/bin/i686-buildroot-linux-uclibc-gcc<http://slac.stanford.edu/g/lcls/vol9/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/../host/linux-x86_64/i686-linux/usr/bin/i686-buildroot-linux-uclibc-gcc>
checking whether the C compiler works... no
configure: error: in `/afs/slac/g/lcls/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/output/build/hdf5-1.8.14':
configure: error: C compiler cannot create executables
See `config.log' for more details

Use this clue. What do you see in config.log?

Location:
/afs/slac/g/lcls/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/output/build/hdf5-1.8.14/config.log

Yes, I found this in there:
uclibc/sysroot/usr/lib/crt1.o:<http://slac.stanford.edu/g/lcls/vol9/package/linuxRT/buildroot-2014.11/host/linux-x86_64/i686-linux/usr/i686-buildroot-linux-uclibc/sysroot/usr/lib/crt1.o:>undefined reference to symbol '__uClibc_main'

I can't understand why this happening.  Must be something in my environment ?

Meanwhile, I logged into a different 64-bit build host; all is well
I'm back in business :)

However, I will come back to try and solve this mystery

Cheers
Ernesto


make: *** [/afs/slac/g/lcls/package/linuxRT/buildroot-2014.11/buildroot-uclibc-x86/output/build/hdf5-1.8.14/.stamp_configured] Error 77

Thanks in advance for any guidance.

baruch

--
    http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
  - baruch at tkos.co.il<mailto:baruch at tkos.co.il> - tel: +972.2.679.5364, http://www.tkos.co.il -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150107/a25d8a18/attachment-0002.html>


More information about the buildroot mailing list