Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Make Error: io_romio_ad_wait.c
From: Jeremy Espenshade (jeremy.espenshade_at_[hidden])
Date: 2009-01-18 20:59:58

Hi all,
I am attempting to cross compile OpenMPI 1.2.8 for a PowerPC 440 linux 2.6
target on an x86-based CentOS 5.2 build machine. Configure works fine with
the following command settings (with or without fortran) where
CROSS_COMPILE=ppc_4xx- and points to a DENX ELDK cross compile environment.
I have successfully built and deployed several applications including
OpenSSH, so the cross compiler appears to be solid.

./configure CC=${CROSS_COMPILE}gcc
--exec-prefix=/home/jeremy/xilinx/workspace/rfs/ --host=powerpc-linux
--build=i686-linux --disable-strip --disable-mpi-f90 --disable-mpi-f77

And when I 'make all', it fails with the following output:

libtool: compile: ppc_4xx-gcc -DHAVE_CONFIG_H -I. -I../../adio/include
-I../../../../../../../opal/include -I../../../../../../../ompi/include
-O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread
-DHAVE_ROMIOCONF_H -I../../include -MT io_romio_ad_wait.lo -MD -MP -MF
.deps/io_romio_ad_wait.Tpo -c io_romio_ad_wait.c -fPIC -DPIC -o
io_romio_ad_wait.c: In function 'ADIOI_GEN_IOComplete':
io_romio_ad_wait.c:59: warning: passing argument 1 of 'aio_suspend' makes
pointer from integer without a cast
io_romio_ad_wait.c:59: warning: passing argument 2 of 'aio_suspend' makes
integer from pointer without a cast
io_romio_ad_wait.c:59: error: too few arguments to function 'aio_suspend'
io_romio_ad_wait.c:62: error: 'tmp1' undeclared (first use in this function)
io_romio_ad_wait.c:62: error: (Each undeclared identifier is reported only
io_romio_ad_wait.c:62: error: for each function it appears in.)
make[5]: *** [io_romio_ad_wait.lo] Error 1
make[5]: Leaving directory
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeremy/Desktop/openmpi-1.2.8/ompi'
make: *** [all-recursive] Error 1

I've attached the config.log, config.out, and make.out output records. I
would appreciate any suggestions that you may have.