Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18246 closed defect (fixed)

linker error in openmpi port

Reported by: gamperl@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: openmpi

Description

Updating the openmpi results in the following error:

--->  Building openmpi
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && make all " returned error 2
Command output: Making all in mca/rmaps/round_robin
make[2]: Nothing to be done for `all'.
Making all in mca/rmaps/seq
make[2]: Nothing to be done for `all'.
Making all in mca/rml/oob
make[2]: Nothing to be done for `all'.
Making all in mca/routed/binomial
make[2]: Nothing to be done for `all'.
Making all in mca/routed/direct
make[2]: Nothing to be done for `all'.
Making all in mca/routed/linear
make[2]: Nothing to be done for `all'.
Making all in tools/orte-checkpoint
make[2]: Nothing to be done for `all'.
Making all in tools/orte-clean
make[2]: Nothing to be done for `all'.
Making all in tools/orte-iof
/bin/sh ../../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -DNDEBUG -O2 -finline-functions -fno-strict-aliasing  -fvisibility=hidden  -export-dynamic -L/opt/local/lib  -o orte-iof orte-iof.o ../../../orte/libopen-rte.la -lutil  
libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o  -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/.libs/libopen-pal.a -lutil
Undefined symbols:
  "_orte_iof", referenced from:
      _orte_iof$non_lazy_ptr in orte-iof.o
  "_orte_routed", referenced from:
      _orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o)
      _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [orte-iof] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Unable to upgrade port: 1
--->  Activating hdf5 @1.6.8_0
Error: Activating hdf5 @1.6.8_0 failed: Image error: /opt/local/bin/gif2h5 is being used by the active hdf5-18 port.  Please deactivate this port first, or use the -f flag to force the activation.
--->  Activating hdf5 @1.6.8_0
Error: Activating hdf5 @1.6.8_0 failed: Image error: /opt/local/bin/gif2h5 is being used by the active hdf5-18 port.  Please deactivate this port first, or use the -f flag to force the activation.
--->  Building openmpi
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && make all " returned error 2
Command output: Making all in mca/rmaps/round_robin
make[2]: Nothing to be done for `all'.
Making all in mca/rmaps/seq
make[2]: Nothing to be done for `all'.
Making all in mca/rml/oob
make[2]: Nothing to be done for `all'.
Making all in mca/routed/binomial
make[2]: Nothing to be done for `all'.
Making all in mca/routed/direct
make[2]: Nothing to be done for `all'.
Making all in mca/routed/linear
make[2]: Nothing to be done for `all'.
Making all in tools/orte-checkpoint
make[2]: Nothing to be done for `all'.
Making all in tools/orte-clean
make[2]: Nothing to be done for `all'.
Making all in tools/orte-iof
/bin/sh ../../../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -DNDEBUG -O2 -finline-functions -fno-strict-aliasing  -fvisibility=hidden  -export-dynamic -L/opt/local/lib  -o orte-iof orte-iof.o ../../../orte/libopen-rte.la -lutil  
libtool: link: /usr/bin/gcc-4.0 -DNDEBUG -O2 -finline-functions -fno-strict-aliasing -fvisibility=hidden -o orte-iof orte-iof.o  -L/opt/local/lib ../../../orte/.libs/libopen-rte.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build/opal/.libs/libopen-pal.a -lutil
Undefined symbols:
  "_orte_iof", referenced from:
      _orte_iof$non_lazy_ptr in orte-iof.o
  "_orte_routed", referenced from:
      _orte_routed$non_lazy_ptr in libopen-rte.a(hnp_contact.o)
      _orte_routed$non_lazy_ptr in libopen-rte.a(rml_base_contact.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [orte-iof] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Change History (6)

comment:1 Changed 16 years ago by gamperl@…

Cc: gamperl@… added

Cc Me!

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Cc: gamperl@… removed
Owner: changed from macports-tickets@… to mww@…

The reporter is automatically cc'ed.

comment:3 Changed 16 years ago by tobypeterson

Works for me. What version of Xcode Tools do you have installed?

comment:4 Changed 16 years ago by mf2k (Frank Schima)

I see this problem with Xcode 3.1.2 on Mac OS X 10.5.6.

comment:5 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

This is fixed by the upgrade to 1.3.1 in r48410.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.