I'm having trouble building 1.4.3 using PGI 10.9.  I searched the list archives 
briefly but I didn't stumble across anything that looked like the same problem, 
so I thought I'd ask if an expert might recognize the nature of the problem 
here.

The configure command:

./configure --prefix=/release/openmpi-pgi --without-tm --without-sge 
--enable-mpirun-prefix-by-default --enable-contrib-no-build=vt 
--enable-mca-no-build=maffinity --disable-per-user-config-files 
--disable-io-romio --with-mpi-f90-size=small --enable-static --disable-shared 
--with-wrapper-cflags=-Msignextend --with-wrapper-cxxflags=-Msignextend 
CXX=/appserv/pgi/linux86-64/10.9/bin/pgCC 
CC=/appserv/pgi/linux86-64/10.9/bin/pgcc 'CFLAGS=  -O2 -Mcache_align -Minfo 
-Msignextend -Msignextend' 'CXXFLAGS=  -O2 -Mcache_align -Minfo -Msignextend 
-Msignextend' F77=/appserv/pgi/linux86-64/10.9/bin/pgf95 'FFLAGS=-D_GNU_SOURCE  
-O2 -Mcache_align -Minfo -Munixlogical' 
FC=/appserv/pgi/linux86-64/10.9/bin/pgf95 'FCFLAGS=-D_GNU_SOURCE  -O2 
-Mcache_align -Minfo -Munixlogical' 'LDFLAGS= -Bstatic_pgi'

The place where the build eventually dies:

/bin/sh ../../../libtool --tag=CXX   --mode=link 
/appserv/pgi/linux86-64/10.9/bin/pgCC  -DNDEBUG   -O2 -Mcache_align -Minfo 
-Msignextend -Msignextend  -version-info 0:1:0 -export-dynamic  -Bstatic_pgi  
-o libmpi_cxx.la -rpath /release/cfd/openmpi-pgi/lib mpicxx.lo intercepts.lo 
comm.lo datatype.lo win.lo file.lo ../../../ompi/libmpi.la -lnsl -lutil  
-lpthread
libtool: link: tpldir=Template.dir
libtool: link:  rm -rf Template.dir
libtool: link:  /appserv/pgi/linux86-64/10.9/bin/pgCC --prelink_objects 
--instantiation_dir Template.dir   mpicxx.o intercepts.o comm.o datatype.o 
win.o file.o
pgCC-Warning-prelink_objects switch is deprecated
pgCC-Warning-instantiation_dir switch is deprecated
/usr/lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: 
undefined reference to `main'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x49): undefined reference to `ompi_mpi_errors_are_fatal'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x62): undefined reference to `ompi_mpi_errors_return'
mpicxx.o: In function `__sti___9_mpicxx_cc_a6befbec':
(.text+0x7b): undefined reference to `ompi_mpi_errors_throw_exceptions'

Reply via email to