Opened 12 years ago
Last modified 11 years ago
#38011 closed defect
Openmotif 2.3.4_1 fails to build on Mac 10.8.2 — at Initial Version
Reported by: | ozisik@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | openmotif |
Description
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?