Newsgroups: comp.parallel.mpi
From: lee-d@cs.buffalo.edu (Chain-Wu Lee)
Subject: MPICH on Linux Compilation error?
Organization: University at Buffalo
Date: 26 Dec 1996 01:50:22 GMT
Message-ID: <59slku$e3r@prometheus.acsu.buffalo.edu>

I am trying to compile mpich on my linux box (kernel 2.0.27) and I got the 
following error messages, does anybody know how to solve the problem? Thanks
a lot!

-----------------------------------------------------------------------------
making mpir in directory src/profile
ar crl ../../lib/LINUX/ch_p4/libfmpi.a pcontrolf.o	
ranlib lib/LINUX/ch_p4/libfmpi.a
Testing that MPI applications can be linked...
make --no-print-directory linktest
( cd examples/test/pt2pt; make --no-print-directory linktest )
/mnt/mpich/lib/LINUX/ch_p4/mpicc   -c overtake.c
/mnt/mpich/lib/LINUX/ch_p4/mpicc   -c test.c
/mnt/mpich/lib/LINUX/ch_p4/mpicc  -o overtake overtake.o test.o 
/mnt/mpich/lib/LINUX/ch_p4/libmpi.a(initutil.o): In function `MPIR_Init':
initutil.o(.text+0x180): undefined reference to `p4_proc_info'
/mnt/mpich/lib/LINUX/ch_p4/libmpi.a(chflow.o): In function `MPID_SendFlowPacket':
chflow.o(.text+0x9c): undefined reference to `p4_get_my_id'
chflow.o(.text+0xa6): undefined reference to `send_message'
/mnt/mpich/lib/LINUX/ch_p4/libmpi.a(chinit.o): In function `MPID_CH_Abort':
chinit.o(.text+0x144): undefined reference to `p4_error'
/mnt/mpich/lib/LINUX/ch_p4/libmpi.a(chhetero.o): In function `MPID_CH_Init_hetero':
chhetero.o(.text+0x2e3): undefined reference to `p4_int_max_op'
chhetero.o(.text+0x305): undefined reference to `p4_global_op'
/mnt/mpich/lib/LINUX/ch_p4/libmpi.a(p4priv.o): In function `MPID_P4_Init':
p4priv.o(.text+0x14): undefined reference to `p4_initenv'
p4priv.o(.text+0x1c): undefined reference to `p4_get_my_id'
p4priv.o(.text+0x33): undefined reference to `p4_set_hard_errors'
p4priv.o(.text+0x3b): undefined reference to `p4_create_procgroup'
p4priv.o(.text+0x63): undefined reference to `p4_set_hard_errors'
p4priv.o(.text+0x6b): undefined reference to `p4_get_my_id'
p4priv.o(.text+0x77): undefined reference to `p4_num_total_slaves'
p4priv.o(.text+0xa8): undefined reference to `p4_broadcastx'
p4priv.o(.text+0xed): undefined reference to `p4_recv'
p4priv.o(.text+0x10f): undefined reference to `p4_msg_free'
p4priv.o(.text+0x14c): undefined reference to `p4_error'
p4priv.o(.text+0x154): undefined reference to `p4_get_my_id'
p4priv.o(.text+0x1cf): undefined reference to `p4_broadcastx'
p4priv.o(.text+0x218): undefined reference to `p4_recv'
			.......


