[MacPorts] #38011: Openmotif 2.3.4_1 fails to build on Mac 10.8.2

MacPorts noreply at macports.org
Sun Feb 10 06:56:09 PST 2013


#38011: Openmotif 2.3.4_1 fails to build on Mac 10.8.2
-----------------------------+--------------------------------
 Reporter:  ozisik@…         |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.1.3
 Keywords:  openmotif 2.3.4  |       Port:
-----------------------------+--------------------------------
 The first error was that clang could not find "wmluiltok.o". Therefore, I
 manually added the correct address for it.

 The new error is as follows when I try to run the clang command from
 shell:
 $ sudo /usr/bin/clang -O2 -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
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_openmotif/openmotif/work/motif-2.3.4/tools/wml/wmluiltok.o
 -L/opt/local/lib /opt/local/lib/libXp.dylib /opt/local/lib/libXext.dylib
 /opt/local/lib/libiconv.dylib /opt/local/lib/libXft.dylib
 /opt/local/lib/libfontconfig.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:
      implicit entry/start for main executable
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)

 I am not sure what are the undefined symbols for architecture x86_64 are.
 Any ideas?

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


More information about the macports-tickets mailing list