Opened 7 years ago

Last modified 4 years ago

#53839 closed defect

nco +gcc6 failing to build with missing symbols from antlr — at Initial Version

Reported by: gnurser (George Nurser) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: takeshi@…
Port: nco

Description

Mac OS 10.12.3, Xcode 8.2.1 with gcc6 @6.3.0_2, openmpi-gcc6

nco build fails at linking stage with missing antlr symbols. First error:

:info:build libtool: link: /opt/local/bin/g++-mp-6 -pipe -Os -Wl,-headerpad_max_install_names -o ncap2 Invoke.o ncap2.o ncap2_utl.o ncap2_att.o sdo_utl.o sym_cls.o fmc_cls.o fmc_all_cls.o fmc_gsl_cls.o prs_cls.o NcapVar.o NcapVarVector.o ncoLexer.o ncoParser.o ncoTree.o nco_gsl.o -L../nco
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_nco/nco/work/nco-4.6.4/src/nco/.libs/libnco.a -L/opt/local/lib -lantlr -lhdf5_hl -lhdf5 -ldl -lz -lxerces-c -lvecLibFort -lexpat -lresolv -lintl -lm -lnetcdf -lcurl -lgsl -lgslcblas -ludunits2 -fopenmp

:info:build Undefined symbols for architecture x86_64:

:info:build "antlr::ASTFactory::create(int, std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:

:info:build ncoParser::dmn_list_p() in ncoParser.o

Change History (1)

Changed 7 years ago by gnurser (George Nurser)

Attachment: main.log added

main.log

Note: See TracTickets for help on using tickets.