New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34474 (closed defect: wontfix)

Opened 12 months ago

Last modified 11 months ago

missing linker flag -lwx_osx_cocoau_stc-2.9

Reported by: mojca.miklavec.lists@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.0
Keywords: Cc: jwa@…
Port: wxWidgets-devel

Description

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

Change History

comment:1 Changed 11 months ago by mojca.miklavec.lists@…

Feel free to close this ticket. The author of Poedit said that it was an error in Poedit's code, and the latest version of Poedit compiles without this modification without problems.

comment:2 Changed 11 months ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.