Subject: pkg/23267: compile error in parallel/mpi-ch
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 10/25/2003 21:49:48
>Number:         23267
>Category:       pkg
>Synopsis:       compile error in parallel/mpi-ch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 25 12:50:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 1.6ZD
>Organization:
>Environment:
System: NetBSD firefly.localdomain 1.6ZD NetBSD 1.6ZD (FIREFLY) #250: Sat Oct 25 20:20:02 JST 2003 hiratuka@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY i386
Architecture: i386
Machine: i386
>Description:
	Compile error happen in parallel/mpi-ch. But make is continued.
	Therefore, installation of this package becomes incomplete. This is
	part of error message.

/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc  -c noncontig_coll2.c
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc  -o  noncontig_coll2 noncontig_coll2.o  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpif77  -o  fperf fperf.f  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib
f77: -R/usr/pkg/lib: linker input file unused because linking not done
f77: -R/usr/X11R6/lib: linker input file unused because linking not done
/usr/lib/libg2c.so: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
fperf.o: In function `MAIN__':
fperf.o(.text+0x2c5): undefined reference to `mpi_file_open__'
fperf.o(.text+0x2db): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x311): undefined reference to `mpi_file_write__'
fperf.o(.text+0x33b): undefined reference to `mpi_file_close__'
fperf.o(.text+0x36e): undefined reference to `mpi_file_open__'
fperf.o(.text+0x384): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x3ba): undefined reference to `mpi_file_read__'
fperf.o(.text+0x3e4): undefined reference to `mpi_file_close__'
fperf.o(.text+0x5eb): undefined reference to `mpi_file_open__'
fperf.o(.text+0x601): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x637): undefined reference to `mpi_file_write__'
fperf.o(.text+0x641): undefined reference to `mpi_file_sync__'
fperf.o(.text+0x672): undefined reference to `mpi_file_close__'
fperf.o(.text+0x6a5): undefined reference to `mpi_file_open__'
fperf.o(.text+0x6bb): undefined reference to `mpi_file_seek__'
fperf.o(.text+0x6f1): undefined reference to `mpi_file_read__'
fperf.o(.text+0x70f): undefined reference to `mpi_file_close__'
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/romio/test
*** Error code 1

Stop.
make: stopped in /tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/examples/test

Making in directory perftest
/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/bin/mpicc -DHAVE_CONFIG_H -I. -I/tmp/pkgsrc/parallel/mpi-ch/work/mpich-1.2.5/examples/perftest -I.    -O3 -O2 -DUSE_SOCKLEN_T -DHAVE_MPICHCONF_H -c mpptest.c

>How-To-Repeat:
	cd ${PKGSRCDIR}/parallel/mpi-ch
	make

>Fix:
	Sorry, I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: