From: Frank Mahler <nhchance@rrzn-user.uni-hannover.de>
Newsgroups: comp.parallel.mpi
Subject: mpich, gcc-2.7.2.3, linux-2.0.35 uncompilable...
Date: Fri, 09 Oct 1998 13:50:14 +0200
Organization: see if I'm online: http://champ.tci.uni-hannover.de/
Message-Id: <361DF876.788A3B31@rrzn-user.uni-hannover.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hi *.mpi :-)

I desperately tried to compile mpich-1.1.1 with gcc-2.7.2.3 on my
linux-2.0.35 box. At home I successfully completed using gcc-2.7.0 and
linux-2.1.115, but at work all went wrong:

I did ./configure -f90nag ; make and all gets well, until it comes to
"make linktest":

Testing that MPI applications can be linked...
make --no-print-directory linktest
( cd examples/test/pt2pt; make --no-print-directory linktest )
/home/mahler/tmp/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES 
-DHAVE_STDLIB_H=1 -DUSE_STDARG   -c overtake.c
/home/mahler/tmp/mpich/lib/LINUX/ch_p4/mpicc -DHAVE_PROTOTYPES 
-DHAVE_STDLIB_H=1 -DUSE_STDARG   -c test.c
/home/mahler/tmp/mpich/lib/LINUX/ch_p4/mpicc  -o overtake overtake.o
test.o 
overtake.o: In function `main':
overtake.o(.text+0x6bc): undefined reference to `MPI_Init'
overtake.o(.text+0x775): undefined reference to `MPI_Abort'
overtake.o(.text+0xad7): undefined reference to `MPI_Finalize'
overtake.o(.text+0xb21): undefined reference to `MPI_Finalize'
test.o: In function `Test_Init':
test.o(.text+0x61): undefined reference to `MPI_Errhandler_create'
test.o: In function `Test_Errors_warn':
test.o(.text+0x3c0): undefined reference to `MPI_Error_string'
/home/mahler/tmp/mpich/lib/LINUX/ch_p4/libmpi.a(isend.o): In function
`MPI_Isend':
isend.o(.text+0x5c): undefined reference to `MPIR_errargcnt'
isend.o(.text+0x66): undefined reference to `MPIR_errargs'
isend.o(.text+0x6c): undefined reference to `MPIR_errargcnt'
isend.o(.text+0xed): undefined reference to `MPIR_errargcnt'
[...]

What went wrong?

TIA,

                    Frank

