[MacPorts] #36551: openmotif @2.3.3 -- Undefined symbols for architecture x86_64: "_main"

MacPorts noreply at macports.org
Tue Oct 9 22:52:46 PDT 2012


#36551: openmotif @2.3.3 -- Undefined symbols for architecture x86_64:   "_main"
----------------------+--------------------------------
 Reporter:  ggpolo@…  |      Owner:  macports-tickets@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.1.2
 Keywords:  linker    |       Port:  openmotif
----------------------+--------------------------------
 Hello,

 After some time without upgrading, I decided to do so yesterday and moved
 everything I could to +universal. Apparently, most of it went fine except
 for openmotif (which I need for geomview). I searched for related tickets
 and the best one I found was #24237, but all of the openmotif deps were
 built with +universal (except for xbitmaps).

 I get the following linker error when running "port install openmotif
 +universal":
 {{{
 /usr/bin/clang -fno-strict-aliasing -arch x86_64 -arch i386 -Wall -g -fno-
 strict-aliasing
 -Wno-unused -Wno-comment -fno-tree-ter -I/opt/local/include
 -I/opt/local/include/freetype2
 -arch x86_64 -arch i386 -o wmluiltok wmluiltok.o  -L/opt/local/lib
 /opt/local/lib/libXp.dylib
 /opt/local/lib/libXext.dylib /opt/local/lib/libXft.dylib
 /opt/local/lib/libfontconfig.dylib
 /opt/local/lib/libiconv.dylib /opt/local/lib/libexpat.dylib
 /opt/local/lib/libfreetype.dylib -lbz2
 /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib
 /opt/local/lib/libxcb.dylib
 /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib
 /opt/local/lib/libjpeg.dylib
 /opt/local/lib/libpng15.dylib -lz

 Undefined symbols for architecture x86_64:
   "_main", referenced from:
      -u command line option
 ld: symbol(s) not found for architecture x86_64
 }}}

 Any ideas ? I got Xcode 4.5.1 and OS X 10.8.2. The same problem happens if
 I opt to perform openmotif -universal.

 Thanks for your time.

-- 
Ticket URL: <https://trac.macports.org/ticket/36551>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list