Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Newbie: configure: error: cannot run test program while cross compiling
@ 2015-01-02  5:03 Ernest L Williams
  2015-01-02  9:33 ` Yann E. MORIN
  0 siblings, 1 reply; 5+ messages in thread
From: Ernest L Williams @ 2015-01-02  5:03 UTC (permalink / raw)
  To: buildroot

Hi
I am working with the hdf5 package and having trouble getting past the 
configuration stage :(
hdf5 builds fine for my host machine but fails configuration when i try 
to build for
"x86_64-buildroot-linux-uclibc"


Oops,
package/pkg-generic.mk:172: recipe for target 
'/home/ernesto/packages/buildroot-2014.11/buildroot-uclibc-x86_64/output/build/hdf5-1.8.14/.stamp_configured' 
failed

The hdf5 package uses autotools

Any ideas on what I should pursue?

By the way,  why does "package/pkg-generic.mk" show up in the output below?
I am using auto-tools.


checking if libtool needs -no-undefined flag to build shared libraries... no
checking if configure should try to set up large file support... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking if large (64-bit) files are supported on this system.... 
configure: error: in 
`/home/ernesto/packages/buildroot-2014.11/buildroot-uclibc-x86_64/output/build/hdf5-1.8.14':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
package/pkg-generic.mk:172: recipe for target 
'/home/ernesto/packages/buildroot-2014.11/buildroot-uclibc-x86_64/output/build/hdf5-1.8.14/.stamp_configured' 
failed
make: *** 
[/home/ernesto/packages/buildroot-2014.11/buildroot-uclibc-x86_64/output/build/hdf5-1.8.14/.stamp_configured] 
Error 1
[ernesto at localhost buildroot-uclibc-x86_64]$

Cheers,
Ernesto

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

end of thread, other threads:[~2015-01-02 18:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-02  5:03 [Buildroot] Newbie: configure: error: cannot run test program while cross compiling Ernest L Williams
2015-01-02  9:33 ` Yann E. MORIN
2015-01-02 16:25   ` Williams
2015-01-02 17:26     ` Yann E. MORIN
2015-01-02 18:46       ` Ernest Williams

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