[MacPorts] #38011: Openmotif 2.3.4_1 fails to build on Mac 10.8.2
#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
#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 Resolution: | Keywords: openmotif 2.3.4 Port: | -----------------------+-------------------------------- Comment (by ozisik@…): Solved: I found from other discussions that if you add "%option main" as the first line in wmluiltok.l, then re run "sudo port install openmotif", everything works out. -- Ticket URL: <https://trac.macports.org/ticket/38011#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 Resolution: | Keywords: Port: openmotif | ------------------------+-------------------------------- Changes (by jmr@…): * keywords: openmotif 2.3.4 => * port: => openmotif -- Ticket URL: <https://trac.macports.org/ticket/38011#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 Resolution: | Keywords: Port: openmotif | ------------------------+-------------------------------- Description changed by macsforever2000@…: Old 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?
New 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? -- -- Ticket URL: <https://trac.macports.org/ticket/38011#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 Resolution: | Keywords: Port: openmotif | ------------------------+-------------------------------- Comment (by ryandesign@…): I have openmotif @2.3.4_1+universal installed on OS X 10.8.2 without having had to change anything. Please attach the main.log showing the problem. If you believe a change needs to be made to the software, please attach a patch, and ideally provide a link to the upstream bug report about the problem. -- Ticket URL: <https://trac.macports.org/ticket/38011#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38011: Openmotif 2.3.4_1 fails to build on Mac 10.8.2 -------------------------+-------------------------------- Reporter: ozisik@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: worksforme | Keywords: Port: openmotif | -------------------------+-------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme Comment: No response from reporter and it builds on the buildbot. -- Ticket URL: <https://trac.macports.org/ticket/38011#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts