#22815: wxWidgets fails to build with +universal ----------------------------------+----------------------------------------- Reporter: software@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: universal | Port: wxWidgets ----------------------------------+----------------------------------------- Comment(by software@…): User vince had a solution: http://trac.macports.org/attachment/ticket/21530/patch_bk_make_pch.diff, although it does not work right away. I modified to patch to patch the correct file (configure instead of bk_make_pch), however when I run it, compiling wxWidgets fails: ld warning: in monodll_osx_cocoa_toolbar.o, file is not of required architecture ld warning: in monodll_osx_cocoa_tooltip.o, file is not of required architecture ld warning: in monodll_osx_cocoa_window.o, file is not of required architecture ld warning: in monodll_cocoa_aboutdlg.o, file is not of required architecture ld warning: in monodll_osx_cocoa_taskbar.o, file is not of required architecture ld warning: in /opt/local/lib/libSDLmain.a, file is not of required architecture ld warning: in /opt/local/lib/libSDL.dylib, file is not of required architecture [...] ld: symbol(s) not found collect2: ld returned 1 exit status Apparently, this work around is not the correct way to patch this. -- Ticket URL: <http://trac.macports.org/ticket/22815#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS