[MacPorts] #46349: gildas: undefined symbols

MacPorts noreply at macports.org
Sun Dec 28 23:10:46 PST 2014


#46349: gildas: undefined symbols
------------------------------+-------------------------------
  Reporter:  ricky.nilsson@…  |      Owner:  sebastien.maret@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  gildas           |
------------------------------+-------------------------------

Comment (by ryandesign@…):

 I tried blacklisting Apple gcc, llvm-gcc, and the old version of clang in
 Snow Leopard that uses llvm-g++ as its C++ compiler, as in the attached
 patch. This now failed with this different error:

 {{{
 :info:build /usr/bin/cpp  -P -traditional -C  -DIEEE="ieee"
 -DBITS64="bits64" -DDARWIN="darwin" -DFORTRAN2003_PP -DGFORTRAN="gfortran"
 -DGFORTRAN_VERSION="492" -DCFITSIO="yes" -DATM2009="atm2009" -DPNG="yes"
 -DGAG_USE_GTK -DGAG_USE_POSIX -DGAG_USE_PYTHON -DGAG_USE_THREADS
 -DGAG_USE_UNDERSCORE   -I/Volumes/Data/macports/snowleopard/include
 astro.f90 | grep -v \#pragma > built/x86_64-darwin-gfortran/astro.f90
 :info:build /Volumes/Data/macports/snowleopard/bin/gfortran-mp-4.9 -c
 -fimplicit-none -Wuninitialized -Wunused-variable -Wunused-label -Os
 -I./ -I./built/x86_64-darwin-gfortran
 -I/Volumes/Data/macports/snowleopard/var/macports/build/_Volumes_Data_macports_dports_science_gildas/gildas/work
 /gildas-src-jul14c/integ/x86_64-darwin-gfortran/include -Wrealloc-lhs-all
 -J./built/x86_64-darwin-gfortran -pipe -fno-backslash -fno-range-check
 -fno-second-underscore -fPIC -O built/x86_64-darwin-gfortran/astro.f90 -o
 built/x86_64-darwin-gfortran/astro.o
 :info:build /Volumes/Data/macports/snowleopard/bin/gfortran-mp-4.9
 -Wl,-commons,use_dylibs   -L/Volumes/Data/macports/snowleopard/lib
 -Wl,-headerpad_max_install_names  built/x86_64-darwin-gfortran/astro.o  -o
 /Volumes/Data/macports/snowleopard/var/macports/build/_Volumes_Data_macports_dports_science_gildas/gildas/work
 /gildas-src-jul14c/integ/x86_64-darwin-gfortran/bin/astro \
 :info:build
 -L/Volumes/Data/macports/snowleopard/var/macports/build/_Volumes_Data_macports_dports_science_gildas/gildas/work
 /gildas-src-jul14c/integ/x86_64-darwin-gfortran/lib
 -L/Volumes/Data/macports/snowleopard/lib
 -L/Volumes/Data/macports/snowleopard/Library/Frameworks/Python.framework/Versions/2.7/lib
 -L/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/
 -lastro -latm -latm2009 -lstdc++ -lgreg -lsic  -lggtk -lgtv -lgcont
 -lgchar  -lggui -lgcore -lgio -lgwcs -lgmath -lgsys -lginc -lslatec
 -framework Accelerate -lcfitsio -lpython2.7 -lutil -lpng -lz
 -L/Volumes/Data/macports/snowleopard/lib -lgtk-x11-2.0 -lgdk-x11-2.0
 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor
 -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo
 -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0
 -lfontconfig -lfreetype -lgthread-2.0 -lglib-2.0 -lintl
 -L/Volumes/Data/macports/snowleopard/lib -lpng16   -lm -ldl
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_astro_pack_set_", referenced from:
 :info:build       _main in astro.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: error: ld returned 1 exit status
 }}}

 I'm not sure what to make of this one. Sebastien, do you have any idea?

-- 
Ticket URL: <https://trac.macports.org/ticket/46349#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list