#39302: compiling error when port install wxlua ----------------------------+-------------------------------- Reporter: sunny_98_98@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: install wxlua Port: | ----------------------------+-------------------------------- Comment (by egall@…): The `ld` warnings you copied into the OP are just the beginning of the actual error message; they aren't the error itself: {{{ :info:build ld: warning: ignoring file app_wxlua_lconsole.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: ignoring file app_wxlua_wxlua.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols for architecture i386: :info:build "_main", referenced from: :info:build start in crt1.10.6.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [../bin/lua] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build ld: warning: ignoring file app_wxluaedit_wxledit.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build ld: warning: ignoring file app_wxluaedit_wxluaedit.o, file was built for unsupported file format which is not the architecture being linked (i386) :info:build Undefined symbols for architecture i386: :info:build "_main", referenced from: :info:build start in crt1.10.6.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [../bin/wxlua] Error 1 :info:build Undefined symbols for architecture i386: :info:build "_main", referenced from: :info:build start in crt1.10.6.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [../bin/wxluaedit] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/apps' :info:build make: *** [apps] Error 2 :info:build make: *** Waiting for unfinished jobs.... :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/modules' :info:build make[1]: Nothing to be done for `all'. :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua/modules' :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxLua/wxLua/work/wxLua" && /usr/bin/make -j4 -w all :info:build Exit code: 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/39302#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X