[MacPorts] #34474: missing linker flag -lwx_osx_cocoau_stc-2.9

MacPorts noreply at macports.org
Wed May 16 12:03:25 PDT 2012


#34474: missing linker flag -lwx_osx_cocoau_stc-2.9
--------------------------------------------+-------------------------------
 Reporter:  mojca.miklavec.lists@…          |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:                                       
Component:  ports                           |     Version:  2.1.0                                
 Keywords:                                  |        Port:  wxWidgets-devel                      
--------------------------------------------+-------------------------------
 Compiling Poedit from trunk fails due to a missing flag
 -lwx_osx_cocoau_stc-2.9 (among other problems). This might be an upstream
 issue in wxWidgets, I just wanted to write it down before I forget the
 details.

 After I added the flag manually, latest version of Poedit compiled just
 fine with wxWidgets-devel.

 Failure log:
 {{{
 > make V=1
 Making all in src
 /usr/bin/llvm-g++-4.2  -pipe -O2 -arch x86_64 -I/opt/local/lib/wx/include
 /osx_cocoa-unicode-2.9 -I/opt/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64
 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -Wall -Wextra
 "-DPOEDIT_PREFIX=\"/opt/local\""  -L/opt/local/lib -arch x86_64 -o poedit
 attentionbar.o catalog.o edapp.o edframe.o fileviewer.o parser.o
 isocodes.o prefsdlg.o propertiesdlg.o progressinfo.o digger.o gexecute.o
 summarydlg.o findframe.o commentdlg.o transmem.o transmemupd.o
 transmemupd_wizard.o manager.o chooselang.o export_html.o icons.o
 pl_evaluate.o editlbox.o edlistctrl.o cat_sorting.o utility.o
 userdefaults.o spellchecker.o compiled_xrc.o  -L/opt/local/lib
 -framework IOKit -framework Carbon -framework Cocoa -framework
 AudioToolbox -framework System -framework OpenGL -framework QuickTime
 -lwx_osx_cocoau_xrc-2.9 -lwx_osx_cocoau_webview-2.9
 -lwx_osx_cocoau_html-2.9 -lwx_osx_cocoau_qa-2.9 -lwx_osx_cocoau_adv-2.9
 -lwx_osx_cocoau_core-2.9 -lwx_baseu_xml-2.9 -lwx_baseu_net-2.9
 -lwx_baseu-2.9  -framework Foundation -framework AppKit
 ld: warning: ignoring file
 /System/Library/Frameworks//QuickTime.framework/QuickTime, file was built
 for unsupported file format which is not the architecture being linked
 (x86_64)
 Undefined symbols for architecture x86_64:
   "_wxSTCNameStr", referenced from:
       FileViewer::FileViewer(wxWindow*, wxString const&, wxArrayString
 const&, unsigned long)in fileviewer.o
   "wxStyledTextCtrl::wxStyledTextCtrl(wxWindow*, int, wxPoint const&,
 wxSize const&, long, wxString const&)", referenced from:
       FileViewer::FileViewer(wxWindow*, wxString const&, wxArrayString
 const&, unsigned long)in fileviewer.o
   "wxStyledTextCtrl::SetReadOnly(bool)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::SetLexer(int)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::MarkerDeleteAll(int)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::MarkerAdd(int, int)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::TextHeight(int)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::ScrollToLine(int)", referenced from:
       FileViewer::ShowReference(wxString const&)  in fileviewer.o
   "wxStyledTextCtrl::MarkerDefine(int, int, wxColour const&, wxColour
 const&)", referenced from:
       FileViewer::SetupTextCtrl()       in fileviewer.o
   "wxStyledTextCtrl::StyleSetSpec(int, wxString const&)", referenced from:
       FileViewer::SetupTextCtrl()       in fileviewer.o
   "wxStyledTextCtrl::SetMarginType(int, int)", referenced from:
       FileViewer::SetupTextCtrl()       in fileviewer.o
   "wxStyledTextCtrl::TextWidth(int, wxString const&)", referenced from:
       FileViewer::SetupTextCtrl()       in fileviewer.o
   "wxStyledTextCtrl::SetMarginWidth(int, int)", referenced from:
       FileViewer::SetupTextCtrl()       in fileviewer.o
 ld: symbol(s) not found for architecture x86_64
 collect2: ld returned 1 exit status
 make[1]: *** [poedit] Error 1
 make: *** [all-recursive] Error 1
 }}}

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


More information about the macports-tickets mailing list