Opened 10 years ago

Closed 10 years ago

#12626 closed build error (fixed)

Debug level mismatch with "BUILD=release DEBUG_FLAG=0"

Reported by: Loaden Owned by: vadz
Priority: high Milestone:
Component: build Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

Hi, wx-team!
Here is the configure:

make -f makefile.gcc CPPFLAGS=-Os LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=0 MONOLITHIC=1 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul

Linker failed info:
Warning: .drectve `-export:T.4701 ' unrecognized
ld: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.6165 ' unrecognized
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeEixEj[ZN8wxVectorI14SelectionRangeEixEj]+0xd): undefined reference to `wxTheAssertHandle
r'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeEixEj[
ZN8wxVectorI14SelectionRangeEixEj]+0x43): undefined reference to `wxOnAssert(char
const*, int, char const*, char const*, char const*)'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xe): undefined reference to `wxT
heAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[
ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x69): undefined reference to `wx
TheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x9e): undefined reference to `wx
OnAssert(char const*, int, char const*, char const*, char const*)'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[
ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xff): undefined reference to `wx
OnAssert(char const*, int, char const*, char const*, char const*)'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Sel
ectionRangeEixEj[ZNK8wxVectorI14SelectionRangeEixEj]+0xd): undefined reference to `wxTheAssertHand
ler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Sel
ectionRangeEixEj[
ZNK8wxVectorI14SelectionRangeEixEj]+0x43): undefined reference to `wxOnAssert(cha
r const*, int, char const*, char const*, char const*)'
make: * [..\..\lib\gcc_dll\wxmsw292u.dll] Error 1

But, If use flag "BUILD=debug", can be build success.

make -f makefile.gcc CPPFLAGS=-Os LDFLAGS=-s SHARED=1 BUILD=debug UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=1 MONOLITHIC=1 OFFICIAL_BUILD=1 RUNTIME_LIBS=static >nul

Attachments (1)

fixed_build_error.patch download (1.4 KB) - added by Loaden 10 years ago.

Download all attachments as: .zip

Change History (34)

comment:1 Changed 10 years ago by vadz

This is probably related to using MONOLITHIC=1 as I don't think it happens in "normal" build.

Could you please show the full compiler command line used for compiling Selection.cxx in your build? Please use triple curly braces around the text to prevent it from being mangled by Trac.

Thanks!

comment:2 follow-up: Changed 10 years ago by Loaden

No, If using "MONOLITHIC=0", will produce the same error.

if not exist ..\..\lib\gcc_dll\mswu mkdir ..\..\lib\gcc_dll\mswu
g++ -c -o gcc_mswudll\wxscintilla_Selection.o  -O2 -mthreads  -DHAVE_W32API_H -DNDEBUG -I..\..\src\stc\scintilla\include -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -I..\..\lib\gcc_dll\mswu -I..\..\include  -D__WXMSW__  -D_UNICODE   -Os  -MTgcc_mswudll\wxscintilla_Selection.o -MFgcc_mswudll\wxscintilla_Selection.o.d -MD -MP ../../src/stc/scintilla/src/Selection.cxx
if exist ..\..\lib\gcc_dll\libwxscintilla.a del ..\..\lib\gcc_dll\libwxscintilla.a
ar rcu ..\..\lib\gcc_dll\libwxscintilla.a gcc_mswudll\wxscintilla_AutoComplete.o gcc_mswudll\wxscintilla_CallTip.o gcc_mswudll\wxscintilla_CellBuffer.o gcc_mswudll\wxscintilla_CharClassify.o gcc_mswudll\wxscintilla_ContractionState.o gcc_mswudll\wxscintilla_Decoration.o gcc_mswudll\wxscintilla_Document.o gcc_mswudll\wxscintilla_DocumentAccessor.o gcc_mswudll\wxscintilla_Editor.o gcc_mswudll\wxscintilla_ExternalLexer.o gcc_mswudll\wxscintilla_Indicator.o gcc_mswudll\wxscintilla_KeyMap.o gcc_mswudll\wxscintilla_KeyWords.o gcc_mswudll\wxscintilla_LexAPDL.o gcc_mswudll\wxscintilla_LexASY.o gcc_mswudll\wxscintilla_LexAU3.o gcc_mswudll\wxscintilla_LexAVE.o gcc_mswudll\wxscintilla_LexAbaqus.o gcc_mswudll\wxscintilla_LexAda.o gcc_mswudll\wxscintilla_LexAsm.o gcc_mswudll\wxscintilla_LexAsn1.o gcc_mswudll\wxscintilla_LexBaan.o gcc_mswudll\wxscintilla_LexBash.o gcc_mswudll\wxscintilla_LexBasic.o gcc_mswudll\wxscintilla_LexBullant.o gcc_mswudll\wxscintilla_LexCLW.o gcc_mswudll\wxscintilla_LexCOBOL.o gcc_mswudll\wxscintilla_LexCPP.o gcc_mswudll\wxscintilla_LexCSS.o gcc_mswudll\wxscintilla_LexCaml.o gcc_mswudll\wxscintilla_LexCmake.o gcc_mswudll\wxscintilla_LexConf.o gcc_mswudll\wxscintilla_LexCrontab.o gcc_mswudll\wxscintilla_LexCsound.o gcc_mswudll\wxscintilla_LexD.o gcc_mswudll\wxscintilla_LexEScript.o gcc_mswudll\wxscintilla_LexEiffel.o gcc_mswudll\wxscintilla_LexErlang.o gcc_mswudll\wxscintilla_LexFlagship.o gcc_mswudll\wxscintilla_LexForth.o gcc_mswudll\wxscintilla_LexFortran.o gcc_mswudll\wxscintilla_LexGAP.o gcc_mswudll\wxscintilla_LexGui4Cli.o gcc_mswudll\wxscintilla_LexHTML.o gcc_mswudll\wxscintilla_LexHaskell.o gcc_mswudll\wxscintilla_LexInno.o gcc_mswudll\wxscintilla_LexKix.o gcc_mswudll\wxscintilla_LexLisp.o gcc_mswudll\wxscintilla_LexLout.o gcc_mswudll\wxscintilla_LexLua.o gcc_mswudll\wxscintilla_LexMMIXAL.o gcc_mswudll\wxscintilla_LexMPT.o gcc_mswudll\wxscintilla_LexMSSQL.o gcc_mswudll\wxscintilla_LexMagik.o gcc_mswudll\wxscintilla_LexMarkdown.o gcc_mswudll\wxscintilla_LexMatlab.o gcc_mswudll\wxscintilla_LexMetapost.o gcc_mswudll\wxscintilla_LexMySQL.o gcc_mswudll\wxscintilla_LexNimrod.o gcc_mswudll\wxscintilla_LexNsis.o gcc_mswudll\wxscintilla_LexOpal.o gcc_mswudll\wxscintilla_LexOthers.o gcc_mswudll\wxscintilla_LexPB.o gcc_mswudll\wxscintilla_LexPLM.o gcc_mswudll\wxscintilla_LexPOV.o gcc_mswudll\wxscintilla_LexPS.o gcc_mswudll\wxscintilla_LexPascal.o gcc_mswudll\wxscintilla_LexPerl.o gcc_mswudll\wxscintilla_LexPowerPro.o gcc_mswudll\wxscintilla_LexPowerShell.o gcc_mswudll\wxscintilla_LexProgress.o gcc_mswudll\wxscintilla_LexPython.o gcc_mswudll\wxscintilla_LexR.o gcc_mswudll\wxscintilla_LexRebol.o gcc_mswudll\wxscintilla_LexRuby.o gcc_mswudll\wxscintilla_LexSML.o gcc_mswudll\wxscintilla_LexSQL.o gcc_mswudll\wxscintilla_LexScriptol.o gcc_mswudll\wxscintilla_LexSmalltalk.o gcc_mswudll\wxscintilla_LexSorcus.o gcc_mswudll\wxscintilla_LexSpecman.o gcc_mswudll\wxscintilla_LexSpice.o gcc_mswudll\wxscintilla_LexTACL.o gcc_mswudll\wxscintilla_LexTADS3.o gcc_mswudll\wxscintilla_LexTAL.o gcc_mswudll\wxscintilla_LexTCL.o gcc_mswudll\wxscintilla_LexTeX.o gcc_mswudll\wxscintilla_LexVB.o gcc_mswudll\wxscintilla_LexVHDL.o gcc_mswudll\wxscintilla_LexVerilog.o gcc_mswudll\wxscintilla_LexYAML.o gcc_mswudll\wxscintilla_LineMarker.o gcc_mswudll\wxscintilla_PerLine.o gcc_mswudll\wxscintilla_PositionCache.o gcc_mswudll\wxscintilla_PropSet.o gcc_mswudll\wxscintilla_RESearch.o gcc_mswudll\wxscintilla_RunStyles.o gcc_mswudll\wxscintilla_ScintillaBase.o gcc_mswudll\wxscintilla_Selection.o gcc_mswudll\wxscintilla_Style.o gcc_mswudll\wxscintilla_StyleContext.o gcc_mswudll\wxscintilla_UniConversion.o gcc_mswudll\wxscintilla_ViewStyle.o gcc_mswudll\wxscintilla_WindowAccessor.o gcc_mswudll\wxscintilla_XPM.o
ranlib ..\..\lib\gcc_dll\libwxscintilla.a
g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll gcc_mswudll\monodll_dummy.o gcc_mswudll\monodll_any.o gcc_mswudll\monodll_appbase.o gcc_mswudll\monodll_arcall.o gcc_mswudll\monodll_arcfind.o gcc_mswudll\monodll_archive.o gcc_mswudll\monodll_arrstr.o gcc_mswudll\monodll_base64.o gcc_mswudll\monodll_clntdata.o gcc_mswudll\monodll_cmdline.o gcc_mswudll\monodll_config.o gcc_mswudll\monodll_convauto.o gcc_mswudll\monodll_datetime.o gcc_mswudll\monodll_datetimefmt.o gcc_mswudll\monodll_datstrm.o gcc_mswudll\monodll_dircmn.o gcc_mswudll\monodll_dynarray.o gcc_mswudll\monodll_dynlib.o gcc_mswudll\monodll_dynload.o gcc_mswudll\monodll_encconv.o gcc_mswudll\monodll_evtloopcmn.o gcc_mswudll\monodll_extended.o gcc_mswudll\monodll_ffile.o gcc_mswudll\monodll_file.o gcc_mswudll\monodll_fileback.o gcc_mswudll\monodll_fileconf.o gcc_mswudll\monodll_filefn.o gcc_mswudll\monodll_filename.o gcc_mswudll\monodll_filesys.o gcc_mswudll\monodll_filtall.o gcc_mswudll\monodll_filtfind.o gcc_mswudll\monodll_fmapbase.o gcc_mswudll\monodll_fs_arc.o gcc_mswudll\monodll_fs_filter.o gcc_mswudll\monodll_hash.o gcc_mswudll\monodll_hashmap.o gcc_mswudll\monodll_init.o gcc_mswudll\monodll_intl.o gcc_mswudll\monodll_ipcbase.o gcc_mswudll\monodll_languageinfo.o gcc_mswudll\monodll_list.o gcc_mswudll\monodll_log.o gcc_mswudll\monodll_longlong.o gcc_mswudll\monodll_memory.o gcc_mswudll\monodll_mimecmn.o gcc_mswudll\monodll_module.o gcc_mswudll\monodll_mstream.o gcc_mswudll\monodll_object.o gcc_mswudll\monodll_platinfo.o gcc_mswudll\monodll_powercmn.o gcc_mswudll\monodll_process.o gcc_mswudll\monodll_regex.o gcc_mswudll\monodll_stdpbase.o gcc_mswudll\monodll_sstream.o gcc_mswudll\monodll_stdstream.o gcc_mswudll\monodll_stopwatch.o gcc_mswudll\monodll_strconv.o gcc_mswudll\monodll_stream.o gcc_mswudll\monodll_string.o gcc_mswudll\monodll_stringimpl.o gcc_mswudll\monodll_stringops.o gcc_mswudll\monodll_strvararg.o gcc_mswudll\monodll_sysopt.o gcc_mswudll\monodll_tarstrm.o gcc_mswudll\monodll_textbuf.o gcc_mswudll\monodll_textfile.o gcc_mswudll\monodll_timercmn.o gcc_mswudll\monodll_timerimpl.o gcc_mswudll\monodll_tokenzr.o gcc_mswudll\monodll_translation.o gcc_mswudll\monodll_txtstrm.o gcc_mswudll\monodll_unichar.o gcc_mswudll\monodll_uri.o gcc_mswudll\monodll_ustring.o gcc_mswudll\monodll_variant.o gcc_mswudll\monodll_wfstream.o gcc_mswudll\monodll_wxcrt.o gcc_mswudll\monodll_wxprintf.o gcc_mswudll\monodll_xlocale.o gcc_mswudll\monodll_xti.o gcc_mswudll\monodll_xtistrm.o gcc_mswudll\monodll_zipstrm.o gcc_mswudll\monodll_zstream.o gcc_mswudll\monodll_fswatchercmn.o gcc_mswudll\monodll_fswatcherg.o gcc_mswudll\monodll_basemsw.o gcc_mswudll\monodll_crashrpt.o gcc_mswudll\monodll_debughlp.o gcc_mswudll\monodll_dde.o gcc_mswudll\monodll_dir.o gcc_mswudll\monodll_dlmsw.o gcc_mswudll\monodll_mimetype.o gcc_mswudll\monodll_power.o gcc_mswudll\monodll_regconf.o gcc_mswudll\monodll_registry.o gcc_mswudll\monodll_snglinst.o gcc_mswudll\monodll_stackwalk.o gcc_mswudll\monodll_stdpaths.o gcc_mswudll\monodll_thread.o gcc_mswudll\monodll_timer.o gcc_mswudll\monodll_utils.o gcc_mswudll\monodll_utilsexc.o gcc_mswudll\monodll_fswatcher.o gcc_mswudll\monodll_event.o gcc_mswudll\monodll_fs_mem.o gcc_mswudll\monodll_msgout.o gcc_mswudll\monodll_utilscmn.o gcc_mswudll\monodll_evtloop.o gcc_mswudll\monodll_main.o gcc_mswudll\monodll_mslu.o gcc_mswudll\monodll_volume.o gcc_mswudll\monodll_fs_inet.o gcc_mswudll\monodll_ftp.o gcc_mswudll\monodll_http.o gcc_mswudll\monodll_protocol.o gcc_mswudll\monodll_sckaddr.o gcc_mswudll\monodll_sckfile.o gcc_mswudll\monodll_sckipc.o gcc_mswudll\monodll_sckstrm.o gcc_mswudll\monodll_socket.o gcc_mswudll\monodll_url.o gcc_mswudll\monodll_sockmsw.o gcc_mswudll\monodll_urlmsw.o gcc_mswudll\monodll_activex.o gcc_mswudll\monodll_app.o gcc_mswudll\monodll_bitmap.o gcc_mswudll\monodll_brush.o gcc_mswudll\monodll_caret.o gcc_mswudll\monodll_clipbrd.o gcc_mswudll\monodll_colour.o gcc_mswudll\monodll_cursor.o gcc_mswudll\monodll_data.o gcc_mswudll\monodll_dc.o gcc_mswudll\monodll_dcclient.o gcc_mswudll\monodll_dcmemory.o gcc_mswudll\monodll_dcprint.o gcc_mswudll\monodll_dcscreen.o gcc_mswudll\monodll_dialup.o gcc_mswudll\monodll_dib.o gcc_mswudll\monodll_display.o gcc_mswudll\monodll_enhmeta.o gcc_mswudll\monodll_font.o gcc_mswudll\monodll_fontenum.o gcc_mswudll\monodll_fontutil.o gcc_mswudll\monodll_gdiimage.o gcc_mswudll\monodll_gdiobj.o gcc_mswudll\monodll_gdiplus.o gcc_mswudll\monodll_graphics.o gcc_mswudll\monodll_icon.o gcc_mswudll\monodll_imaglist.o gcc_mswudll\monodll_minifram.o gcc_mswudll\monodll_dataobj.o gcc_mswudll\monodll_dropsrc.o gcc_mswudll\monodll_droptgt.o gcc_mswudll\monodll_oleutils.o gcc_mswudll\monodll_palette.o gcc_mswudll\monodll_pen.o gcc_mswudll\monodll_popupwin.o gcc_mswudll\monodll_printdlg.o gcc_mswudll\monodll_printwin.o gcc_mswudll\monodll_region.o gcc_mswudll\monodll_renderer.o gcc_mswudll\monodll_settings.o gcc_mswudll\monodll_tooltip.o gcc_mswudll\monodll_toplevel.o gcc_mswudll\monodll_utilsgui.o gcc_mswudll\monodll_uxtheme.o gcc_mswudll\monodll_window.o gcc_mswudll\monodll_helpchm.o gcc_mswudll\monodll_helpwin.o gcc_mswudll\monodll_automtn.o gcc_mswudll\monodll_uuid.o gcc_mswudll\monodll_clrpickerg.o gcc_mswudll\monodll_collpaneg.o gcc_mswudll\monodll_filepickerg.o gcc_mswudll\monodll_fontpickerg.o gcc_mswudll\monodll_generic_statusbr.o gcc_mswudll\monodll_prntdlgg.o gcc_mswudll\monodll_msw_accel.o gcc_mswudll\monodll_artmsw.o gcc_mswudll\monodll_msw_bmpbuttn.o gcc_mswudll\monodll_msw_button.o gcc_mswudll\monodll_msw_checkbox.o gcc_mswudll\monodll_msw_choice.o gcc_mswudll\monodll_colordlg.o gcc_mswudll\monodll_combo.o gcc_mswudll\monodll_msw_combobox.o gcc_mswudll\monodll_msw_control.o gcc_mswudll\monodll_msw_dialog.o gcc_mswudll\monodll_dirdlg.o gcc_mswudll\monodll_dragimag.o gcc_mswudll\monodll_filedlg.o gcc_mswudll\monodll_frame.o gcc_mswudll\monodll_msw_gauge.o gcc_mswudll\monodll_headerctrl.o gcc_mswudll\monodll_iniconf.o gcc_mswudll\monodll_msw_listbox.o gcc_mswudll\monodll_msw_listctrl.o gcc_mswudll\monodll_mdi.o gcc_mswudll\monodll_msw_menu.o gcc_mswudll\monodll_menuitem.o gcc_mswudll\monodll_metafile.o gcc_mswudll\monodll_msgdlg.o gcc_mswudll\monodll_nativdlg.o gcc_mswudll\monodll_nativewin.o gcc_mswudll\monodll_msw_notebook.o gcc_mswudll\monodll_access.o gcc_mswudll\monodll_ownerdrw.o gcc_mswudll\monodll_progdlg.o gcc_mswudll\monodll_msw_radiobox.o gcc_mswudll\monodll_msw_radiobut.o gcc_mswudll\monodll_richmsgdlg.o gcc_mswudll\monodll_msw_scrolbar.o gcc_mswudll\monodll_msw_slider.o gcc_mswudll\monodll_msw_spinbutt.o gcc_mswudll\monodll_spinctrl.o gcc_mswudll\monodll_msw_statbmp.o gcc_mswudll\monodll_msw_statbox.o gcc_mswudll\monodll_statusbar.o gcc_mswudll\monodll_msw_statline.o gcc_mswudll\monodll_msw_stattext.o gcc_mswudll\monodll_msw_toolbar.o gcc_mswudll\monodll_msw_textctrl.o gcc_mswudll\monodll_textentry.o gcc_mswudll\monodll_msw_tglbtn.o gcc_mswudll\monodll_treectrl.o gcc_mswudll\monodll_uiaction.o gcc_mswudll\monodll_msw_checklst.o gcc_mswudll\monodll_msw_fdrepdlg.o gcc_mswudll\monodll_fontdlg.o gcc_mswudll\monodll_accelcmn.o gcc_mswudll\monodll_accesscmn.o gcc_mswudll\monodll_anidecod.o gcc_mswudll\monodll_appcmn.o gcc_mswudll\monodll_artprov.o gcc_mswudll\monodll_artstd.o gcc_mswudll\monodll_bmpbase.o gcc_mswudll\monodll_bookctrl.o gcc_mswudll\monodll_btncmn.o gcc_mswudll\monodll_cairo.o gcc_mswudll\monodll_choiccmn.o gcc_mswudll\monodll_clipcmn.o gcc_mswudll\monodll_clrpickercmn.o gcc_mswudll\monodll_colourcmn.o gcc_mswudll\monodll_combocmn.o gcc_mswudll\monodll_cmdproc.o gcc_mswudll\monodll_cmndata.o gcc_mswudll\monodll_containr.o gcc_mswudll\monodll_cshelp.o gcc_mswudll\monodll_ctrlcmn.o gcc_mswudll\monodll_ctrlsub.o gcc_mswudll\monodll_datacmn.o gcc_mswudll\monodll_dcbase.o gcc_mswudll\monodll_dcbufcmn.o gcc_mswudll\monodll_dcgraph.o gcc_mswudll\monodll_dcsvg.o gcc_mswudll\monodll_dlgcmn.o gcc_mswudll\monodll_dndcmn.o gcc_mswudll\monodll_dobjcmn.o gcc_mswudll\monodll_docmdi.o gcc_mswudll\monodll_docview.o gcc_mswudll\monodll_dpycmn.o gcc_mswudll\monodll_dseldlg.o gcc_mswudll\monodll_effects.o gcc_mswudll\monodll_fddlgcmn.o gcc_mswudll\monodll_filectrlcmn.o gcc_mswudll\monodll_filehistorycmn.o gcc_mswudll\monodll_filepickercmn.o gcc_mswudll\monodll_fontpickercmn.o gcc_mswudll\monodll_fldlgcmn.o gcc_mswudll\monodll_fontcmn.o gcc_mswudll\monodll_graphicc.o gcc_mswudll\monodll_fontenumcmn.o gcc_mswudll\monodll_fontmap.o gcc_mswudll\monodll_fontutilcmn.o gcc_mswudll\monodll_framecmn.o gcc_mswudll\monodll_gaugecmn.o gcc_mswudll\monodll_gbsizer.o gcc_mswudll\monodll_gdicmn.o gcc_mswudll\monodll_geometry.o gcc_mswudll\monodll_gifdecod.o gcc_mswudll\monodll_graphcmn.o gcc_mswudll\monodll_headercolcmn.o gcc_mswudll\monodll_headerctrlcmn.o gcc_mswudll\monodll_helpbase.o gcc_mswudll\monodll_iconbndl.o gcc_mswudll\monodll_imagall.o gcc_mswudll\monodll_imagbmp.o gcc_mswudll\monodll_image.o gcc_mswudll\monodll_imagfill.o gcc_mswudll\monodll_imaggif.o gcc_mswudll\monodll_imagiff.o gcc_mswudll\monodll_imagjpeg.o gcc_mswudll\monodll_imagpcx.o gcc_mswudll\monodll_imagpng.o gcc_mswudll\monodll_imagpnm.o gcc_mswudll\monodll_imagtga.o gcc_mswudll\monodll_imagtiff.o gcc_mswudll\monodll_imagxpm.o gcc_mswudll\monodll_layout.o gcc_mswudll\monodll_lboxcmn.o gcc_mswudll\monodll_listctrlcmn.o gcc_mswudll\monodll_matrix.o gcc_mswudll\monodll_menucmn.o gcc_mswudll\monodll_mousemanager.o gcc_mswudll\monodll_nbkbase.o gcc_mswudll\monodll_overlaycmn.o gcc_mswudll\monodll_ownerdrwcmn.o gcc_mswudll\monodll_paper.o gcc_mswudll\monodll_persist.o gcc_mswudll\monodll_pickerbase.o gcc_mswudll\monodll_popupcmn.o gcc_mswudll\monodll_prntbase.o gcc_mswudll\monodll_quantize.o gcc_mswudll\monodll_radiocmn.o gcc_mswudll\monodll_rearrangectrl.o gcc_mswudll\monodll_rendcmn.o gcc_mswudll\monodll_rgncmn.o gcc_mswudll\monodll_settcmn.o gcc_mswudll\monodll_sizer.o gcc_mswudll\monodll_spinctrlcmn.o gcc_mswudll\monodll_srchcmn.o gcc_mswudll\monodll_statbar.o gcc_mswudll\monodll_stattextcmn.o gcc_mswudll\monodll_stockitem.o gcc_mswudll\monodll_tbarbase.o gcc_mswudll\monodll_textcmn.o gcc_mswudll\monodll_textentrycmn.o gcc_mswudll\monodll_toplvcmn.o gcc_mswudll\monodll_treebase.o gcc_mswudll\monodll_uiactioncmn.o gcc_mswudll\monodll_valgen.o gcc_mswudll\monodll_validate.o gcc_mswudll\monodll_valtext.o gcc_mswudll\monodll_wincmn.o gcc_mswudll\monodll_windowid.o gcc_mswudll\monodll_wrapsizer.o gcc_mswudll\monodll_xpmdecod.o gcc_mswudll\monodll_busyinfo.o gcc_mswudll\monodll_generic_buttonbar.o gcc_mswudll\monodll_choicdgg.o gcc_mswudll\monodll_choicbkg.o gcc_mswudll\monodll_combog.o gcc_mswudll\monodll_dcpsg.o gcc_mswudll\monodll_dirctrlg.o gcc_mswudll\monodll_dragimgg.o gcc_mswudll\monodll_filectrlg.o gcc_mswudll\monodll_headerctrlg.o gcc_mswudll\monodll_infobar.o gcc_mswudll\monodll_listbkg.o gcc_mswudll\monodll_logg.o gcc_mswudll\monodll_msgdlgg.o gcc_mswudll\monodll_numdlgg.o gcc_mswudll\monodll_panelg.o gcc_mswudll\monodll_progdlgg.o gcc_mswudll\monodll_printps.o gcc_mswudll\monodll_renderg.o gcc_mswudll\monodll_richmsgdlgg.o gcc_mswudll\monodll_scrlwing.o gcc_mswudll\monodll_selstore.o gcc_mswudll\monodll_spinctlg.o gcc_mswudll\monodll_splitter.o gcc_mswudll\monodll_srchctlg.o gcc_mswudll\monodll_statbmpg.o gcc_mswudll\monodll_stattextg.o gcc_mswudll\monodll_textdlgg.o gcc_mswudll\monodll_tipwin.o gcc_mswudll\monodll_toolbkg.o gcc_mswudll\monodll_treectlg.o gcc_mswudll\monodll_treebkg.o gcc_mswudll\monodll_vlbox.o gcc_mswudll\monodll_vscroll.o gcc_mswudll\monodll_animatecmn.o gcc_mswudll\monodll_bmpcboxcmn.o gcc_mswudll\monodll_calctrlcmn.o gcc_mswudll\monodll_datavcmn.o gcc_mswudll\monodll_hyperlnkcmn.o gcc_mswudll\monodll_aboutdlgg.o gcc_mswudll\monodll_bmpcboxg.o gcc_mswudll\monodll_calctrlg.o gcc_mswudll\monodll_commandlinkbuttong.o gcc_mswudll\monodll_datavgen.o gcc_mswudll\monodll_datectlg.o gcc_mswudll\monodll_editlbox.o gcc_mswudll\monodll_grid.o gcc_mswudll\monodll_gridctrl.o gcc_mswudll\monodll_grideditors.o gcc_mswudll\monodll_gridsel.o gcc_mswudll\monodll_helpext.o gcc_mswudll\monodll_hyperlinkg.o gcc_mswudll\monodll_laywin.o gcc_mswudll\monodll_notifmsgg.o gcc_mswudll\monodll_odcombo.o gcc_mswudll\monodll_propdlg.o gcc_mswudll\monodll_sashwin.o gcc_mswudll\monodll_splash.o gcc_mswudll\monodll_tipdlg.o gcc_mswudll\monodll_wizard.o gcc_mswudll\monodll_taskbarcmn.o gcc_mswudll\monodll_aboutdlg.o gcc_mswudll\monodll_commandlinkbutton.o gcc_mswudll\monodll_hyperlink.o gcc_mswudll\monodll_notifmsg.o gcc_mswudll\monodll_sound.o gcc_mswudll\monodll_taskbar.o gcc_mswudll\monodll_joystick.o gcc_mswudll\monodll_animateg.o gcc_mswudll\monodll_bmpcbox.o gcc_mswudll\monodll_calctrl.o gcc_mswudll\monodll_datecontrols.o gcc_mswudll\monodll_datectrl.o gcc_mswudll\monodll_mediactrlcmn.o gcc_mswudll\monodll_mediactrl_am.o gcc_mswudll\monodll_mediactrl_wmp10.o gcc_mswudll\monodll_mediactrl_qt.o gcc_mswudll\monodll_helpbest.o gcc_mswudll\monodll_helpctrl.o gcc_mswudll\monodll_helpdata.o gcc_mswudll\monodll_helpdlg.o gcc_mswudll\monodll_helpfrm.o gcc_mswudll\monodll_helpwnd.o gcc_mswudll\monodll_htmlcell.o gcc_mswudll\monodll_htmlfilt.o gcc_mswudll\monodll_htmlpars.o gcc_mswudll\monodll_htmltag.o gcc_mswudll\monodll_htmlwin.o gcc_mswudll\monodll_htmprint.o gcc_mswudll\monodll_m_dflist.o gcc_mswudll\monodll_m_fonts.o gcc_mswudll\monodll_m_hline.o gcc_mswudll\monodll_m_image.o gcc_mswudll\monodll_m_layout.o gcc_mswudll\monodll_m_links.o gcc_mswudll\monodll_m_list.o gcc_mswudll\monodll_m_pre.o gcc_mswudll\monodll_m_span.o gcc_mswudll\monodll_m_style.o gcc_mswudll\monodll_m_tables.o gcc_mswudll\monodll_styleparams.o gcc_mswudll\monodll_winpars.o gcc_mswudll\monodll_htmllbox.o gcc_mswudll\monodll_debugrpt.o gcc_mswudll\monodll_dbgrptg.o gcc_mswudll\monodll_xh_animatctrl.o gcc_mswudll\monodll_xh_bmp.o gcc_mswudll\monodll_xh_bmpcbox.o gcc_mswudll\monodll_xh_bmpbt.o gcc_mswudll\monodll_xh_bttn.o gcc_mswudll\monodll_xh_cald.o gcc_mswudll\monodll_xh_chckb.o gcc_mswudll\monodll_xh_chckl.o gcc_mswudll\monodll_xh_choic.o gcc_mswudll\monodll_xh_choicbk.o gcc_mswudll\monodll_xh_clrpicker.o gcc_mswudll\monodll_xh_cmdlinkbn.o gcc_mswudll\monodll_xh_collpane.o gcc_mswudll\monodll_xh_combo.o gcc_mswudll\monodll_xh_comboctrl.o gcc_mswudll\monodll_xh_datectrl.o gcc_mswudll\monodll_xh_dirpicker.o gcc_mswudll\monodll_xh_dlg.o gcc_mswudll\monodll_xh_editlbox.o gcc_mswudll\monodll_xh_filectrl.o gcc_mswudll\monodll_xh_filepicker.o gcc_mswudll\monodll_xh_fontpicker.o gcc_mswudll\monodll_xh_frame.o gcc_mswudll\monodll_xh_gauge.o gcc_mswudll\monodll_xh_gdctl.o gcc_mswudll\monodll_xh_grid.o gcc_mswudll\monodll_xh_html.o gcc_mswudll\monodll_xh_hyperlink.o gcc_mswudll\monodll_xh_listb.o gcc_mswudll\monodll_xh_listbk.o gcc_mswudll\monodll_xh_listc.o gcc_mswudll\monodll_xh_mdi.o gcc_mswudll\monodll_xh_menu.o gcc_mswudll\monodll_xh_notbk.o gcc_mswudll\monodll_xh_odcombo.o gcc_mswudll\monodll_xh_panel.o gcc_mswudll\monodll_xh_propdlg.o gcc_mswudll\monodll_xh_radbt.o gcc_mswudll\monodll_xh_radbx.o gcc_mswudll\monodll_xh_scrol.o gcc_mswudll\monodll_xh_scwin.o gcc_mswudll\monodll_xh_htmllbox.o gcc_mswudll\monodll_xh_sizer.o gcc_mswudll\monodll_xh_slidr.o gcc_mswudll\monodll_xh_spin.o gcc_mswudll\monodll_xh_split.o gcc_mswudll\monodll_xh_srchctrl.o gcc_mswudll\monodll_xh_statbar.o gcc_mswudll\monodll_xh_stbmp.o gcc_mswudll\monodll_xh_stbox.o gcc_mswudll\monodll_xh_stlin.o gcc_mswudll\monodll_xh_sttxt.o gcc_mswudll\monodll_xh_text.o gcc_mswudll\monodll_xh_tglbtn.o gcc_mswudll\monodll_xh_toolb.o gcc_mswudll\monodll_xh_toolbk.o gcc_mswudll\monodll_xh_tree.o gcc_mswudll\monodll_xh_treebk.o gcc_mswudll\monodll_xh_unkwn.o gcc_mswudll\monodll_xh_wizrd.o gcc_mswudll\monodll_xmlres.o gcc_mswudll\monodll_xmladv.o gcc_mswudll\monodll_xmlrsall.o gcc_mswudll\monodll_framemanager.o gcc_mswudll\monodll_dockart.o gcc_mswudll\monodll_floatpane.o gcc_mswudll\monodll_auibook.o gcc_mswudll\monodll_auibar.o gcc_mswudll\monodll_tabmdi.o gcc_mswudll\monodll_advprops.o gcc_mswudll\monodll_editors.o gcc_mswudll\monodll_manager.o gcc_mswudll\monodll_property.o gcc_mswudll\monodll_propgrid.o gcc_mswudll\monodll_propgridiface.o gcc_mswudll\monodll_propgridpagestate.o gcc_mswudll\monodll_props.o gcc_mswudll\monodll_art_internal.o gcc_mswudll\monodll_art_msw.o gcc_mswudll\monodll_art_aui.o gcc_mswudll\monodll_bar.o gcc_mswudll\monodll_ribbon_buttonbar.o gcc_mswudll\monodll_ribbon_control.o gcc_mswudll\monodll_gallery.o gcc_mswudll\monodll_page.o gcc_mswudll\monodll_panel.o gcc_mswudll\monodll_ribbon_toolbar.o gcc_mswudll\monodll_richtextctrl.o gcc_mswudll\monodll_richtextbuffer.o gcc_mswudll\monodll_richtextstyles.o gcc_mswudll\monodll_richtextxml.o gcc_mswudll\monodll_richtexthtml.o gcc_mswudll\monodll_richtextformatdlg.o gcc_mswudll\monodll_richtextsymboldlg.o gcc_mswudll\monodll_richtextstyledlg.o gcc_mswudll\monodll_richtextprint.o gcc_mswudll\monodll_richtextimagedlg.o gcc_mswudll\monodll_stc.o gcc_mswudll\monodll_PlatWX.o gcc_mswudll\monodll_ScintillaWX.o gcc_mswudll\monodll_xml.o gcc_mswudll\monodll_xtixml.o gcc_mswudll\monodll_version_rc.o   -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw29u.a  -s  -lwxtiff -lwxjpeg -lwxpng  -lwxzlib -lwxregexu -lwxexpat    -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet     ..\..\lib\gcc_dll\libwxscintilla.a
Creating library file: ..\..\lib\gcc_dll\libwxmsw29u.a

comment:3 in reply to: ↑ 2 Changed 10 years ago by vadz

  • Status changed from new to confirmed
  • Summary changed from wx2.9.2svn build failed when set flag "BUILD=release DEBUG_INFO=0" to Mingw link fails with "BUILD=release DEBUG_INFO=0 MONOLITHIC=1"

I think the problem is due to missing -DWXUISNGDLL in the compiler command line and I see it here too when using MONOLITHIC=1 (but not without it, are you sure that you also have the problem in this case?).

Could you please try

  • build/msw/makefile.gcc

    a b endif 
    15321532ifeq ($(USE_GUI),1)
    15331533__wxtiff___depname = $(LIBDIRNAME)\libwxtiff$(WXDEBUGFLAG).a
    15341534endif
    1535 ifeq ($(MONOLITHIC),0)
    15361535ifeq ($(SHARED),1)
    15371536__wxscintilla_usingdll_p = -DWXUSINGDLL
    15381537endif
    1539 endif
    15401538ifeq ($(MONOLITHIC),0)
    15411539EXTRALIBS_FOR_BASE =
    15421540endif

and let me know if it helps?

comment:4 Changed 10 years ago by Loaden

Hi, Vadim, After applid this patch, the issue still existed.
Sorry.

comment:5 follow-up: Changed 10 years ago by vadz

Have the error messages changed at least? You should see something about unresolved __imp_wxAssertHandler and such (i.e. with the extra __imp_ prefix. If you don't see this, you must not have rebuilt everything -- I forgot to mention it, but you should do make clean before testing with the new makefile.

comment:6 in reply to: ↑ 5 ; follow-up: Changed 10 years ago by Loaden

Replying to vadz:

Have the error messages changed at least? You should see something about unresolved __imp_wxAssertHandler and such (i.e. with the extra __imp_ prefix. If you don't see this, you must not have rebuilt everything -- I forgot to mention it, but you should do make clean before testing with the new makefile.

I am just removed "build\msw\gcc_mswudll" and "lib\gcc_dll", so i think it realy clean. _
Error info:

Warning: .drectve `-export:T.4701 ' unrecognized
ld: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.6165 ' unrecognized
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Editor.o):Editor.cxx:(.text+0x240d): undefined refere
nce to `_imp___Z7wxQsortPvjjPFiPKvS1_S1_ES1_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeEixEj[__ZN8wxVectorI14SelectionRangeEixEj]+0x9): undefined reference to `_imp__wxTheAssert
Handler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeEixEj[__ZN8wxVectorI14SelectionRangeEixEj]+0x45): undefined reference to `_imp___Z10wxOnAs
sertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xa): undefined reference to `_im
p__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x6a): undefined reference to `_i
mp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xa2): undefined reference to `_i
mp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sele
ctionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x104): undefined reference to `_
imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Sel
ectionRangeEixEj[__ZNK8wxVectorI14SelectionRangeEixEj]+0x9): undefined reference to `_imp__wxTheAsse
rtHandler'
..\..\lib\gcc_dll\libwxscintilla.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Sel
ectionRangeEixEj[__ZNK8wxVectorI14SelectionRangeEixEj]+0x45): undefined reference to `_imp___Z10wxOn
AssertPKciS0_S0_S0_'
make: *** [..\..\lib\gcc_dll\wxmsw292u.dll] Error 1

here is build log:

if not exist ..\..\lib\gcc_dll\mswu mkdir ..\..\lib\gcc_dll\mswu
g++ -c -o gcc_mswudll\wxscintilla_Selection.o  -O2 -mthreads  -DHAVE_W32API_H -DNDEBUG -I..\..\src\stc\scintilla\include -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -I..\..\lib\gcc_dll\mswu -I..\..\include -DWXUSINGDLL -D__WXMSW__  -D_UNICODE   -Os  -MTgcc_mswudll\wxscintilla_Selection.o -MFgcc_mswudll\wxscintilla_Selection.o.d -MD -MP ../../src/stc/scintilla/src/Selection.cxx
if exist ..\..\lib\gcc_dll\libwxscintilla.a del ..\..\lib\gcc_dll\libwxscintilla.a
ar rcu ..\..\lib\gcc_dll\libwxscintilla.a gcc_mswudll\wxscintilla_AutoComplete.o gcc_mswudll\wxscintilla_CallTip.o gcc_mswudll\wxscintilla_CellBuffer.o gcc_mswudll\wxscintilla_CharClassify.o gcc_mswudll\wxscintilla_ContractionState.o gcc_mswudll\wxscintilla_Decoration.o gcc_mswudll\wxscintilla_Document.o gcc_mswudll\wxscintilla_DocumentAccessor.o gcc_mswudll\wxscintilla_Editor.o gcc_mswudll\wxscintilla_ExternalLexer.o gcc_mswudll\wxscintilla_Indicator.o gcc_mswudll\wxscintilla_KeyMap.o gcc_mswudll\wxscintilla_KeyWords.o gcc_mswudll\wxscintilla_LexAPDL.o gcc_mswudll\wxscintilla_LexASY.o gcc_mswudll\wxscintilla_LexAU3.o gcc_mswudll\wxscintilla_LexAVE.o gcc_mswudll\wxscintilla_LexAbaqus.o gcc_mswudll\wxscintilla_LexAda.o gcc_mswudll\wxscintilla_LexAsm.o gcc_mswudll\wxscintilla_LexAsn1.o gcc_mswudll\wxscintilla_LexBaan.o gcc_mswudll\wxscintilla_LexBash.o gcc_mswudll\wxscintilla_LexBasic.o gcc_mswudll\wxscintilla_LexBullant.o gcc_mswudll\wxscintilla_LexCLW.o gcc_mswudll\wxscintilla_LexCOBOL.o gcc_mswudll\wxscintilla_LexCPP.o gcc_mswudll\wxscintilla_LexCSS.o gcc_mswudll\wxscintilla_LexCaml.o gcc_mswudll\wxscintilla_LexCmake.o gcc_mswudll\wxscintilla_LexConf.o gcc_mswudll\wxscintilla_LexCrontab.o gcc_mswudll\wxscintilla_LexCsound.o gcc_mswudll\wxscintilla_LexD.o gcc_mswudll\wxscintilla_LexEScript.o gcc_mswudll\wxscintilla_LexEiffel.o gcc_mswudll\wxscintilla_LexErlang.o gcc_mswudll\wxscintilla_LexFlagship.o gcc_mswudll\wxscintilla_LexForth.o gcc_mswudll\wxscintilla_LexFortran.o gcc_mswudll\wxscintilla_LexGAP.o gcc_mswudll\wxscintilla_LexGui4Cli.o gcc_mswudll\wxscintilla_LexHTML.o gcc_mswudll\wxscintilla_LexHaskell.o gcc_mswudll\wxscintilla_LexInno.o gcc_mswudll\wxscintilla_LexKix.o gcc_mswudll\wxscintilla_LexLisp.o gcc_mswudll\wxscintilla_LexLout.o gcc_mswudll\wxscintilla_LexLua.o gcc_mswudll\wxscintilla_LexMMIXAL.o gcc_mswudll\wxscintilla_LexMPT.o gcc_mswudll\wxscintilla_LexMSSQL.o gcc_mswudll\wxscintilla_LexMagik.o gcc_mswudll\wxscintilla_LexMarkdown.o gcc_mswudll\wxscintilla_LexMatlab.o gcc_mswudll\wxscintilla_LexMetapost.o gcc_mswudll\wxscintilla_LexMySQL.o gcc_mswudll\wxscintilla_LexNimrod.o gcc_mswudll\wxscintilla_LexNsis.o gcc_mswudll\wxscintilla_LexOpal.o gcc_mswudll\wxscintilla_LexOthers.o gcc_mswudll\wxscintilla_LexPB.o gcc_mswudll\wxscintilla_LexPLM.o gcc_mswudll\wxscintilla_LexPOV.o gcc_mswudll\wxscintilla_LexPS.o gcc_mswudll\wxscintilla_LexPascal.o gcc_mswudll\wxscintilla_LexPerl.o gcc_mswudll\wxscintilla_LexPowerPro.o gcc_mswudll\wxscintilla_LexPowerShell.o gcc_mswudll\wxscintilla_LexProgress.o gcc_mswudll\wxscintilla_LexPython.o gcc_mswudll\wxscintilla_LexR.o gcc_mswudll\wxscintilla_LexRebol.o gcc_mswudll\wxscintilla_LexRuby.o gcc_mswudll\wxscintilla_LexSML.o gcc_mswudll\wxscintilla_LexSQL.o gcc_mswudll\wxscintilla_LexScriptol.o gcc_mswudll\wxscintilla_LexSmalltalk.o gcc_mswudll\wxscintilla_LexSorcus.o gcc_mswudll\wxscintilla_LexSpecman.o gcc_mswudll\wxscintilla_LexSpice.o gcc_mswudll\wxscintilla_LexTACL.o gcc_mswudll\wxscintilla_LexTADS3.o gcc_mswudll\wxscintilla_LexTAL.o gcc_mswudll\wxscintilla_LexTCL.o gcc_mswudll\wxscintilla_LexTeX.o gcc_mswudll\wxscintilla_LexVB.o gcc_mswudll\wxscintilla_LexVHDL.o gcc_mswudll\wxscintilla_LexVerilog.o gcc_mswudll\wxscintilla_LexYAML.o gcc_mswudll\wxscintilla_LineMarker.o gcc_mswudll\wxscintilla_PerLine.o gcc_mswudll\wxscintilla_PositionCache.o gcc_mswudll\wxscintilla_PropSet.o gcc_mswudll\wxscintilla_RESearch.o gcc_mswudll\wxscintilla_RunStyles.o gcc_mswudll\wxscintilla_ScintillaBase.o gcc_mswudll\wxscintilla_Selection.o gcc_mswudll\wxscintilla_Style.o gcc_mswudll\wxscintilla_StyleContext.o gcc_mswudll\wxscintilla_UniConversion.o gcc_mswudll\wxscintilla_ViewStyle.o gcc_mswudll\wxscintilla_WindowAccessor.o gcc_mswudll\wxscintilla_XPM.o
ranlib ..\..\lib\gcc_dll\libwxscintilla.a
g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll gcc_mswudll\monodll_dummy.o gcc_mswudll\monodll_any.o gcc_mswudll\monodll_appbase.o gcc_mswudll\monodll_arcall.o gcc_mswudll\monodll_arcfind.o gcc_mswudll\monodll_archive.o gcc_mswudll\monodll_arrstr.o gcc_mswudll\monodll_base64.o gcc_mswudll\monodll_clntdata.o gcc_mswudll\monodll_cmdline.o gcc_mswudll\monodll_config.o gcc_mswudll\monodll_convauto.o gcc_mswudll\monodll_datetime.o gcc_mswudll\monodll_datetimefmt.o gcc_mswudll\monodll_datstrm.o gcc_mswudll\monodll_dircmn.o gcc_mswudll\monodll_dynarray.o gcc_mswudll\monodll_dynlib.o gcc_mswudll\monodll_dynload.o gcc_mswudll\monodll_encconv.o gcc_mswudll\monodll_evtloopcmn.o gcc_mswudll\monodll_extended.o gcc_mswudll\monodll_ffile.o gcc_mswudll\monodll_file.o gcc_mswudll\monodll_fileback.o gcc_mswudll\monodll_fileconf.o gcc_mswudll\monodll_filefn.o gcc_mswudll\monodll_filename.o gcc_mswudll\monodll_filesys.o gcc_mswudll\monodll_filtall.o gcc_mswudll\monodll_filtfind.o gcc_mswudll\monodll_fmapbase.o gcc_mswudll\monodll_fs_arc.o gcc_mswudll\monodll_fs_filter.o gcc_mswudll\monodll_hash.o gcc_mswudll\monodll_hashmap.o gcc_mswudll\monodll_init.o gcc_mswudll\monodll_intl.o gcc_mswudll\monodll_ipcbase.o gcc_mswudll\monodll_languageinfo.o gcc_mswudll\monodll_list.o gcc_mswudll\monodll_log.o gcc_mswudll\monodll_longlong.o gcc_mswudll\monodll_memory.o gcc_mswudll\monodll_mimecmn.o gcc_mswudll\monodll_module.o gcc_mswudll\monodll_mstream.o gcc_mswudll\monodll_object.o gcc_mswudll\monodll_platinfo.o gcc_mswudll\monodll_powercmn.o gcc_mswudll\monodll_process.o gcc_mswudll\monodll_regex.o gcc_mswudll\monodll_stdpbase.o gcc_mswudll\monodll_sstream.o gcc_mswudll\monodll_stdstream.o gcc_mswudll\monodll_stopwatch.o gcc_mswudll\monodll_strconv.o gcc_mswudll\monodll_stream.o gcc_mswudll\monodll_string.o gcc_mswudll\monodll_stringimpl.o gcc_mswudll\monodll_stringops.o gcc_mswudll\monodll_strvararg.o gcc_mswudll\monodll_sysopt.o gcc_mswudll\monodll_tarstrm.o gcc_mswudll\monodll_textbuf.o gcc_mswudll\monodll_textfile.o gcc_mswudll\monodll_timercmn.o gcc_mswudll\monodll_timerimpl.o gcc_mswudll\monodll_tokenzr.o gcc_mswudll\monodll_translation.o gcc_mswudll\monodll_txtstrm.o gcc_mswudll\monodll_unichar.o gcc_mswudll\monodll_uri.o gcc_mswudll\monodll_ustring.o gcc_mswudll\monodll_variant.o gcc_mswudll\monodll_wfstream.o gcc_mswudll\monodll_wxcrt.o gcc_mswudll\monodll_wxprintf.o gcc_mswudll\monodll_xlocale.o gcc_mswudll\monodll_xti.o gcc_mswudll\monodll_xtistrm.o gcc_mswudll\monodll_zipstrm.o gcc_mswudll\monodll_zstream.o gcc_mswudll\monodll_fswatchercmn.o gcc_mswudll\monodll_fswatcherg.o gcc_mswudll\monodll_basemsw.o gcc_mswudll\monodll_crashrpt.o gcc_mswudll\monodll_debughlp.o gcc_mswudll\monodll_dde.o gcc_mswudll\monodll_dir.o gcc_mswudll\monodll_dlmsw.o gcc_mswudll\monodll_mimetype.o gcc_mswudll\monodll_power.o gcc_mswudll\monodll_regconf.o gcc_mswudll\monodll_registry.o gcc_mswudll\monodll_snglinst.o gcc_mswudll\monodll_stackwalk.o gcc_mswudll\monodll_stdpaths.o gcc_mswudll\monodll_thread.o gcc_mswudll\monodll_timer.o gcc_mswudll\monodll_utils.o gcc_mswudll\monodll_utilsexc.o gcc_mswudll\monodll_fswatcher.o gcc_mswudll\monodll_event.o gcc_mswudll\monodll_fs_mem.o gcc_mswudll\monodll_msgout.o gcc_mswudll\monodll_utilscmn.o gcc_mswudll\monodll_evtloop.o gcc_mswudll\monodll_main.o gcc_mswudll\monodll_mslu.o gcc_mswudll\monodll_volume.o gcc_mswudll\monodll_fs_inet.o gcc_mswudll\monodll_ftp.o gcc_mswudll\monodll_http.o gcc_mswudll\monodll_protocol.o gcc_mswudll\monodll_sckaddr.o gcc_mswudll\monodll_sckfile.o gcc_mswudll\monodll_sckipc.o gcc_mswudll\monodll_sckstrm.o gcc_mswudll\monodll_socket.o gcc_mswudll\monodll_url.o gcc_mswudll\monodll_sockmsw.o gcc_mswudll\monodll_urlmsw.o gcc_mswudll\monodll_activex.o gcc_mswudll\monodll_app.o gcc_mswudll\monodll_bitmap.o gcc_mswudll\monodll_brush.o gcc_mswudll\monodll_caret.o gcc_mswudll\monodll_clipbrd.o gcc_mswudll\monodll_colour.o gcc_mswudll\monodll_cursor.o gcc_mswudll\monodll_data.o gcc_mswudll\monodll_dc.o gcc_mswudll\monodll_dcclient.o gcc_mswudll\monodll_dcmemory.o gcc_mswudll\monodll_dcprint.o gcc_mswudll\monodll_dcscreen.o gcc_mswudll\monodll_dialup.o gcc_mswudll\monodll_dib.o gcc_mswudll\monodll_display.o gcc_mswudll\monodll_enhmeta.o gcc_mswudll\monodll_font.o gcc_mswudll\monodll_fontenum.o gcc_mswudll\monodll_fontutil.o gcc_mswudll\monodll_gdiimage.o gcc_mswudll\monodll_gdiobj.o gcc_mswudll\monodll_gdiplus.o gcc_mswudll\monodll_graphics.o gcc_mswudll\monodll_icon.o gcc_mswudll\monodll_imaglist.o gcc_mswudll\monodll_minifram.o gcc_mswudll\monodll_dataobj.o gcc_mswudll\monodll_dropsrc.o gcc_mswudll\monodll_droptgt.o gcc_mswudll\monodll_oleutils.o gcc_mswudll\monodll_palette.o gcc_mswudll\monodll_pen.o gcc_mswudll\monodll_popupwin.o gcc_mswudll\monodll_printdlg.o gcc_mswudll\monodll_printwin.o gcc_mswudll\monodll_region.o gcc_mswudll\monodll_renderer.o gcc_mswudll\monodll_settings.o gcc_mswudll\monodll_tooltip.o gcc_mswudll\monodll_toplevel.o gcc_mswudll\monodll_utilsgui.o gcc_mswudll\monodll_uxtheme.o gcc_mswudll\monodll_window.o gcc_mswudll\monodll_helpchm.o gcc_mswudll\monodll_helpwin.o gcc_mswudll\monodll_automtn.o gcc_mswudll\monodll_uuid.o gcc_mswudll\monodll_clrpickerg.o gcc_mswudll\monodll_collpaneg.o gcc_mswudll\monodll_filepickerg.o gcc_mswudll\monodll_fontpickerg.o gcc_mswudll\monodll_generic_statusbr.o gcc_mswudll\monodll_prntdlgg.o gcc_mswudll\monodll_msw_accel.o gcc_mswudll\monodll_artmsw.o gcc_mswudll\monodll_msw_bmpbuttn.o gcc_mswudll\monodll_msw_button.o gcc_mswudll\monodll_msw_checkbox.o gcc_mswudll\monodll_msw_choice.o gcc_mswudll\monodll_colordlg.o gcc_mswudll\monodll_combo.o gcc_mswudll\monodll_msw_combobox.o gcc_mswudll\monodll_msw_control.o gcc_mswudll\monodll_msw_dialog.o gcc_mswudll\monodll_dirdlg.o gcc_mswudll\monodll_dragimag.o gcc_mswudll\monodll_filedlg.o gcc_mswudll\monodll_frame.o gcc_mswudll\monodll_msw_gauge.o gcc_mswudll\monodll_headerctrl.o gcc_mswudll\monodll_iniconf.o gcc_mswudll\monodll_msw_listbox.o gcc_mswudll\monodll_msw_listctrl.o gcc_mswudll\monodll_mdi.o gcc_mswudll\monodll_msw_menu.o gcc_mswudll\monodll_menuitem.o gcc_mswudll\monodll_metafile.o gcc_mswudll\monodll_msgdlg.o gcc_mswudll\monodll_nativdlg.o gcc_mswudll\monodll_nativewin.o gcc_mswudll\monodll_msw_notebook.o gcc_mswudll\monodll_access.o gcc_mswudll\monodll_ownerdrw.o gcc_mswudll\monodll_progdlg.o gcc_mswudll\monodll_msw_radiobox.o gcc_mswudll\monodll_msw_radiobut.o gcc_mswudll\monodll_richmsgdlg.o gcc_mswudll\monodll_msw_scrolbar.o gcc_mswudll\monodll_msw_slider.o gcc_mswudll\monodll_msw_spinbutt.o gcc_mswudll\monodll_spinctrl.o gcc_mswudll\monodll_msw_statbmp.o gcc_mswudll\monodll_msw_statbox.o gcc_mswudll\monodll_statusbar.o gcc_mswudll\monodll_msw_statline.o gcc_mswudll\monodll_msw_stattext.o gcc_mswudll\monodll_msw_toolbar.o gcc_mswudll\monodll_msw_textctrl.o gcc_mswudll\monodll_textentry.o gcc_mswudll\monodll_msw_tglbtn.o gcc_mswudll\monodll_treectrl.o gcc_mswudll\monodll_uiaction.o gcc_mswudll\monodll_msw_checklst.o gcc_mswudll\monodll_msw_fdrepdlg.o gcc_mswudll\monodll_fontdlg.o gcc_mswudll\monodll_accelcmn.o gcc_mswudll\monodll_accesscmn.o gcc_mswudll\monodll_anidecod.o gcc_mswudll\monodll_appcmn.o gcc_mswudll\monodll_artprov.o gcc_mswudll\monodll_artstd.o gcc_mswudll\monodll_bmpbase.o gcc_mswudll\monodll_bookctrl.o gcc_mswudll\monodll_btncmn.o gcc_mswudll\monodll_cairo.o gcc_mswudll\monodll_choiccmn.o gcc_mswudll\monodll_clipcmn.o gcc_mswudll\monodll_clrpickercmn.o gcc_mswudll\monodll_colourcmn.o gcc_mswudll\monodll_combocmn.o gcc_mswudll\monodll_cmdproc.o gcc_mswudll\monodll_cmndata.o gcc_mswudll\monodll_containr.o gcc_mswudll\monodll_cshelp.o gcc_mswudll\monodll_ctrlcmn.o gcc_mswudll\monodll_ctrlsub.o gcc_mswudll\monodll_datacmn.o gcc_mswudll\monodll_dcbase.o gcc_mswudll\monodll_dcbufcmn.o gcc_mswudll\monodll_dcgraph.o gcc_mswudll\monodll_dcsvg.o gcc_mswudll\monodll_dlgcmn.o gcc_mswudll\monodll_dndcmn.o gcc_mswudll\monodll_dobjcmn.o gcc_mswudll\monodll_docmdi.o gcc_mswudll\monodll_docview.o gcc_mswudll\monodll_dpycmn.o gcc_mswudll\monodll_dseldlg.o gcc_mswudll\monodll_effects.o gcc_mswudll\monodll_fddlgcmn.o gcc_mswudll\monodll_filectrlcmn.o gcc_mswudll\monodll_filehistorycmn.o gcc_mswudll\monodll_filepickercmn.o gcc_mswudll\monodll_fontpickercmn.o gcc_mswudll\monodll_fldlgcmn.o gcc_mswudll\monodll_fontcmn.o gcc_mswudll\monodll_graphicc.o gcc_mswudll\monodll_fontenumcmn.o gcc_mswudll\monodll_fontmap.o gcc_mswudll\monodll_fontutilcmn.o gcc_mswudll\monodll_framecmn.o gcc_mswudll\monodll_gaugecmn.o gcc_mswudll\monodll_gbsizer.o gcc_mswudll\monodll_gdicmn.o gcc_mswudll\monodll_geometry.o gcc_mswudll\monodll_gifdecod.o gcc_mswudll\monodll_graphcmn.o gcc_mswudll\monodll_headercolcmn.o gcc_mswudll\monodll_headerctrlcmn.o gcc_mswudll\monodll_helpbase.o gcc_mswudll\monodll_iconbndl.o gcc_mswudll\monodll_imagall.o gcc_mswudll\monodll_imagbmp.o gcc_mswudll\monodll_image.o gcc_mswudll\monodll_imagfill.o gcc_mswudll\monodll_imaggif.o gcc_mswudll\monodll_imagiff.o gcc_mswudll\monodll_imagjpeg.o gcc_mswudll\monodll_imagpcx.o gcc_mswudll\monodll_imagpng.o gcc_mswudll\monodll_imagpnm.o gcc_mswudll\monodll_imagtga.o gcc_mswudll\monodll_imagtiff.o gcc_mswudll\monodll_imagxpm.o gcc_mswudll\monodll_layout.o gcc_mswudll\monodll_lboxcmn.o gcc_mswudll\monodll_listctrlcmn.o gcc_mswudll\monodll_matrix.o gcc_mswudll\monodll_menucmn.o gcc_mswudll\monodll_mousemanager.o gcc_mswudll\monodll_nbkbase.o gcc_mswudll\monodll_overlaycmn.o gcc_mswudll\monodll_ownerdrwcmn.o gcc_mswudll\monodll_paper.o gcc_mswudll\monodll_persist.o gcc_mswudll\monodll_pickerbase.o gcc_mswudll\monodll_popupcmn.o gcc_mswudll\monodll_prntbase.o gcc_mswudll\monodll_quantize.o gcc_mswudll\monodll_radiocmn.o gcc_mswudll\monodll_rearrangectrl.o gcc_mswudll\monodll_rendcmn.o gcc_mswudll\monodll_rgncmn.o gcc_mswudll\monodll_settcmn.o gcc_mswudll\monodll_sizer.o gcc_mswudll\monodll_spinctrlcmn.o gcc_mswudll\monodll_srchcmn.o gcc_mswudll\monodll_statbar.o gcc_mswudll\monodll_stattextcmn.o gcc_mswudll\monodll_stockitem.o gcc_mswudll\monodll_tbarbase.o gcc_mswudll\monodll_textcmn.o gcc_mswudll\monodll_textentrycmn.o gcc_mswudll\monodll_toplvcmn.o gcc_mswudll\monodll_treebase.o gcc_mswudll\monodll_uiactioncmn.o gcc_mswudll\monodll_valgen.o gcc_mswudll\monodll_validate.o gcc_mswudll\monodll_valtext.o gcc_mswudll\monodll_wincmn.o gcc_mswudll\monodll_windowid.o gcc_mswudll\monodll_wrapsizer.o gcc_mswudll\monodll_xpmdecod.o gcc_mswudll\monodll_busyinfo.o gcc_mswudll\monodll_generic_buttonbar.o gcc_mswudll\monodll_choicdgg.o gcc_mswudll\monodll_choicbkg.o gcc_mswudll\monodll_combog.o gcc_mswudll\monodll_dcpsg.o gcc_mswudll\monodll_dirctrlg.o gcc_mswudll\monodll_dragimgg.o gcc_mswudll\monodll_filectrlg.o gcc_mswudll\monodll_headerctrlg.o gcc_mswudll\monodll_infobar.o gcc_mswudll\monodll_listbkg.o gcc_mswudll\monodll_logg.o gcc_mswudll\monodll_msgdlgg.o gcc_mswudll\monodll_numdlgg.o gcc_mswudll\monodll_panelg.o gcc_mswudll\monodll_progdlgg.o gcc_mswudll\monodll_printps.o gcc_mswudll\monodll_renderg.o gcc_mswudll\monodll_richmsgdlgg.o gcc_mswudll\monodll_scrlwing.o gcc_mswudll\monodll_selstore.o gcc_mswudll\monodll_spinctlg.o gcc_mswudll\monodll_splitter.o gcc_mswudll\monodll_srchctlg.o gcc_mswudll\monodll_statbmpg.o gcc_mswudll\monodll_stattextg.o gcc_mswudll\monodll_textdlgg.o gcc_mswudll\monodll_tipwin.o gcc_mswudll\monodll_toolbkg.o gcc_mswudll\monodll_treectlg.o gcc_mswudll\monodll_treebkg.o gcc_mswudll\monodll_vlbox.o gcc_mswudll\monodll_vscroll.o gcc_mswudll\monodll_animatecmn.o gcc_mswudll\monodll_bmpcboxcmn.o gcc_mswudll\monodll_calctrlcmn.o gcc_mswudll\monodll_datavcmn.o gcc_mswudll\monodll_hyperlnkcmn.o gcc_mswudll\monodll_aboutdlgg.o gcc_mswudll\monodll_bmpcboxg.o gcc_mswudll\monodll_calctrlg.o gcc_mswudll\monodll_commandlinkbuttong.o gcc_mswudll\monodll_datavgen.o gcc_mswudll\monodll_datectlg.o gcc_mswudll\monodll_editlbox.o gcc_mswudll\monodll_grid.o gcc_mswudll\monodll_gridctrl.o gcc_mswudll\monodll_grideditors.o gcc_mswudll\monodll_gridsel.o gcc_mswudll\monodll_helpext.o gcc_mswudll\monodll_hyperlinkg.o gcc_mswudll\monodll_laywin.o gcc_mswudll\monodll_notifmsgg.o gcc_mswudll\monodll_odcombo.o gcc_mswudll\monodll_propdlg.o gcc_mswudll\monodll_sashwin.o gcc_mswudll\monodll_splash.o gcc_mswudll\monodll_tipdlg.o gcc_mswudll\monodll_wizard.o gcc_mswudll\monodll_taskbarcmn.o gcc_mswudll\monodll_aboutdlg.o gcc_mswudll\monodll_commandlinkbutton.o gcc_mswudll\monodll_hyperlink.o gcc_mswudll\monodll_notifmsg.o gcc_mswudll\monodll_sound.o gcc_mswudll\monodll_taskbar.o gcc_mswudll\monodll_joystick.o gcc_mswudll\monodll_animateg.o gcc_mswudll\monodll_bmpcbox.o gcc_mswudll\monodll_calctrl.o gcc_mswudll\monodll_datecontrols.o gcc_mswudll\monodll_datectrl.o gcc_mswudll\monodll_mediactrlcmn.o gcc_mswudll\monodll_mediactrl_am.o gcc_mswudll\monodll_mediactrl_wmp10.o gcc_mswudll\monodll_mediactrl_qt.o gcc_mswudll\monodll_helpbest.o gcc_mswudll\monodll_helpctrl.o gcc_mswudll\monodll_helpdata.o gcc_mswudll\monodll_helpdlg.o gcc_mswudll\monodll_helpfrm.o gcc_mswudll\monodll_helpwnd.o gcc_mswudll\monodll_htmlcell.o gcc_mswudll\monodll_htmlfilt.o gcc_mswudll\monodll_htmlpars.o gcc_mswudll\monodll_htmltag.o gcc_mswudll\monodll_htmlwin.o gcc_mswudll\monodll_htmprint.o gcc_mswudll\monodll_m_dflist.o gcc_mswudll\monodll_m_fonts.o gcc_mswudll\monodll_m_hline.o gcc_mswudll\monodll_m_image.o gcc_mswudll\monodll_m_layout.o gcc_mswudll\monodll_m_links.o gcc_mswudll\monodll_m_list.o gcc_mswudll\monodll_m_pre.o gcc_mswudll\monodll_m_span.o gcc_mswudll\monodll_m_style.o gcc_mswudll\monodll_m_tables.o gcc_mswudll\monodll_styleparams.o gcc_mswudll\monodll_winpars.o gcc_mswudll\monodll_htmllbox.o gcc_mswudll\monodll_debugrpt.o gcc_mswudll\monodll_dbgrptg.o gcc_mswudll\monodll_xh_animatctrl.o gcc_mswudll\monodll_xh_bmp.o gcc_mswudll\monodll_xh_bmpcbox.o gcc_mswudll\monodll_xh_bmpbt.o gcc_mswudll\monodll_xh_bttn.o gcc_mswudll\monodll_xh_cald.o gcc_mswudll\monodll_xh_chckb.o gcc_mswudll\monodll_xh_chckl.o gcc_mswudll\monodll_xh_choic.o gcc_mswudll\monodll_xh_choicbk.o gcc_mswudll\monodll_xh_clrpicker.o gcc_mswudll\monodll_xh_cmdlinkbn.o gcc_mswudll\monodll_xh_collpane.o gcc_mswudll\monodll_xh_combo.o gcc_mswudll\monodll_xh_comboctrl.o gcc_mswudll\monodll_xh_datectrl.o gcc_mswudll\monodll_xh_dirpicker.o gcc_mswudll\monodll_xh_dlg.o gcc_mswudll\monodll_xh_editlbox.o gcc_mswudll\monodll_xh_filectrl.o gcc_mswudll\monodll_xh_filepicker.o gcc_mswudll\monodll_xh_fontpicker.o gcc_mswudll\monodll_xh_frame.o gcc_mswudll\monodll_xh_gauge.o gcc_mswudll\monodll_xh_gdctl.o gcc_mswudll\monodll_xh_grid.o gcc_mswudll\monodll_xh_html.o gcc_mswudll\monodll_xh_hyperlink.o gcc_mswudll\monodll_xh_listb.o gcc_mswudll\monodll_xh_listbk.o gcc_mswudll\monodll_xh_listc.o gcc_mswudll\monodll_xh_mdi.o gcc_mswudll\monodll_xh_menu.o gcc_mswudll\monodll_xh_notbk.o gcc_mswudll\monodll_xh_odcombo.o gcc_mswudll\monodll_xh_panel.o gcc_mswudll\monodll_xh_propdlg.o gcc_mswudll\monodll_xh_radbt.o gcc_mswudll\monodll_xh_radbx.o gcc_mswudll\monodll_xh_scrol.o gcc_mswudll\monodll_xh_scwin.o gcc_mswudll\monodll_xh_htmllbox.o gcc_mswudll\monodll_xh_sizer.o gcc_mswudll\monodll_xh_slidr.o gcc_mswudll\monodll_xh_spin.o gcc_mswudll\monodll_xh_split.o gcc_mswudll\monodll_xh_srchctrl.o gcc_mswudll\monodll_xh_statbar.o gcc_mswudll\monodll_xh_stbmp.o gcc_mswudll\monodll_xh_stbox.o gcc_mswudll\monodll_xh_stlin.o gcc_mswudll\monodll_xh_sttxt.o gcc_mswudll\monodll_xh_text.o gcc_mswudll\monodll_xh_tglbtn.o gcc_mswudll\monodll_xh_toolb.o gcc_mswudll\monodll_xh_toolbk.o gcc_mswudll\monodll_xh_tree.o gcc_mswudll\monodll_xh_treebk.o gcc_mswudll\monodll_xh_unkwn.o gcc_mswudll\monodll_xh_wizrd.o gcc_mswudll\monodll_xmlres.o gcc_mswudll\monodll_xmladv.o gcc_mswudll\monodll_xmlrsall.o gcc_mswudll\monodll_framemanager.o gcc_mswudll\monodll_dockart.o gcc_mswudll\monodll_floatpane.o gcc_mswudll\monodll_auibook.o gcc_mswudll\monodll_auibar.o gcc_mswudll\monodll_tabmdi.o gcc_mswudll\monodll_advprops.o gcc_mswudll\monodll_editors.o gcc_mswudll\monodll_manager.o gcc_mswudll\monodll_property.o gcc_mswudll\monodll_propgrid.o gcc_mswudll\monodll_propgridiface.o gcc_mswudll\monodll_propgridpagestate.o gcc_mswudll\monodll_props.o gcc_mswudll\monodll_art_internal.o gcc_mswudll\monodll_art_msw.o gcc_mswudll\monodll_art_aui.o gcc_mswudll\monodll_bar.o gcc_mswudll\monodll_ribbon_buttonbar.o gcc_mswudll\monodll_ribbon_control.o gcc_mswudll\monodll_gallery.o gcc_mswudll\monodll_page.o gcc_mswudll\monodll_panel.o gcc_mswudll\monodll_ribbon_toolbar.o gcc_mswudll\monodll_richtextctrl.o gcc_mswudll\monodll_richtextbuffer.o gcc_mswudll\monodll_richtextstyles.o gcc_mswudll\monodll_richtextxml.o gcc_mswudll\monodll_richtexthtml.o gcc_mswudll\monodll_richtextformatdlg.o gcc_mswudll\monodll_richtextsymboldlg.o gcc_mswudll\monodll_richtextstyledlg.o gcc_mswudll\monodll_richtextprint.o gcc_mswudll\monodll_richtextimagedlg.o gcc_mswudll\monodll_stc.o gcc_mswudll\monodll_PlatWX.o gcc_mswudll\monodll_ScintillaWX.o gcc_mswudll\monodll_xml.o gcc_mswudll\monodll_xtixml.o gcc_mswudll\monodll_version_rc.o   -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw29u.a  -s  -lwxtiff -lwxjpeg -lwxpng  -lwxzlib -lwxregexu -lwxexpat    -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet     ..\..\lib\gcc_dll\libwxscintilla.a

comment:7 in reply to: ↑ 6 ; follow-up: Changed 10 years ago by vadz

Sorry, I don't know why doesn't it work... Maybe it's due to the order of libraries on the command line? Could you please manually run the last link command (g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll ...) but put ..\..\lib\gcc_dll\libwxscintilla.a near its beginning rather than at the very end?

comment:8 in reply to: ↑ 7 Changed 10 years ago by Loaden

Replying to vadz:

Sorry, I don't know why doesn't it work... Maybe it's due to the order of libraries on the command line? Could you please manually run the last link command (g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll ...) but put ..\..\lib\gcc_dll\libwxscintilla.a near its beginning rather than at the very end?

I'm do it like this command:

g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll gcc_mswudll\*.o -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw29u.a -s -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet

But, the issue still existed.

comment:9 follow-up: Changed 10 years ago by vadz

Thanks for testing but I think the command should rather be

g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll ..\..\lib\gcc_dll\libwxscintilla.a gcc_mswudll\*.o -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw29u.a -s -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet

i.e. the libwxscintilla.a file should come before the object files containing symbols it depends on. Could you please retest?

TIA!

comment:10 in reply to: ↑ 9 Changed 10 years ago by Loaden

Replying to vadz:

Thanks for testing but I think the command should rather be

g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw292u.dll ..\..\lib\gcc_dll\libwxscintilla.a gcc_mswudll\*.o -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw29u.a -s -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet

i.e. the libwxscintilla.a file should come before the object files containing symbols it depends on. Could you please retest?

TIA!

Still not work for me.
Sorry.
By the way, if use "DEBUG_INFO=1", will build success.
So, Why we need wxTheAssertHandler when "DEBUG_INFO=0"?
Here is the latest build log:

ld: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1205 ' unrecognized
Creating library file: ..\..\lib\gcc_dll\libwxmsw29u.a
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeEixEj[__ZN8wxV
ectorI14SelectionRangeEixEj]+0xd): undefined reference to `wxTheAssertHandler'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeEixEj[__ZN8wxV
ectorI14SelectionRangeEixEj]+0x43): undefined reference to `wxOnAssert(char const*, int, char const*
, char const*, char const*)'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_[_
_ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xe): undefined reference to `wxTheAssertHandler'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_[_
_ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x69): undefined reference to `wxTheAssertHandler'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_[_
_ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x9e): undefined reference to `wxOnAssert(char const*, in
t, char const*, char const*, char const*)'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZN8wxVectorI14SelectionRangeE5eraseEPS0_[_
_ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xff): undefined reference to `wxOnAssert(char const*, in
t, char const*, char const*, char const*)'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZNK8wxVectorI14SelectionRangeEixEj[__ZNK8w
xVectorI14SelectionRangeEixEj]+0xd): undefined reference to `wxTheAssertHandler'
gcc_mswudll\wxscintilla_Selection.o:Selection.cxx:(.text$_ZNK8wxVectorI14SelectionRangeEixEj[__ZNK8w
xVectorI14SelectionRangeEixEj]+0x43): undefined reference to `wxOnAssert(char const*, int, char cons
t*, char const*, char const*)'

comment:11 Changed 10 years ago by vadz

I give up, I simply don't know what's going on here.

I also have absolutely no idea how can DEBUG_INFO change anything, normally it should only turn on/off the use of -g compiler/linker option. The existence (or not) of assert handler is governed solely by DEBUG_FLAG.

comment:12 Changed 10 years ago by Loaden

Hi, I'm tested use VC compiler, and have the same problem.
And this issue only occured when use "SHARED=1".
If "SHARED=0", the issue will gone.

E:\wxWidgets\build\msw>nmake -f makefile.vc CPPFLAGS=/Os LDFLAGS="/MANIFEST:NO /OPT:REF /OPT:ICF" BU
ILD=release SHARED=1 UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=0 MONOLITHIC=1 OFFICIAL_BUILD=1 RUNTIME_LIBS=
static

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation.  All rights reserved.

        link /DLL /NOLOGO /OUT:..\..\lib\vc_dll\wxmsw292u_vc.dll   /pdb:"..\..\lib\vc_dll\wxmsw292u_
vc.pdb"    /LIBPATH:..\..\lib\vc_dll  /MANIFEST:NO /OPT:REF /OPT:ICF @C:\DOCUME~1\Loaden\LOCALS~1\Te
mp\nm697.tmp
   Creating library ..\..\lib\vc_dll\wxmsw29u.lib and object ..\..\lib\vc_dll\wxmsw29u.exp
wxscintilla.lib(wxscintilla_Editor.obj) : error LNK2019: unresolved external symbol "void __cdecl wx
OnAssert(char const *,int,char const *,char const *,char const *)" (?wxOnAssert@@YAXPBDH000@Z) refer
enced in function "public: struct SelectionRange & __thiscall wxVector<struct SelectionRange>::at(un
signed int)" (?at@?$wxVector@USelectionRange@@@@QAEAAUSelectionRange@@I@Z)
wxscintilla.lib(wxscintilla_Selection.obj) : error LNK2001: unresolved external symbol "void __cdecl
 wxOnAssert(char const *,int,char const *,char const *,char const *)" (?wxOnAssert@@YAXPBDH000@Z)
wxscintilla.lib(wxscintilla_Editor.obj) : error LNK2019: unresolved external symbol "void (__cdecl*
wxTheAssertHandler)(class wxString const &,int,class wxString const &,class wxString const &,class w
xString const &)" (?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA) referenced in function "public: s
truct SelectionRange & __thiscall wxVector<struct SelectionRange>::at(unsigned int)" (?at@?$wxVector
@USelectionRange@@@@QAEAAUSelectionRange@@I@Z)
wxscintilla.lib(wxscintilla_Selection.obj) : error LNK2001: unresolved external symbol "void (__cdec
l* wxTheAssertHandler)(class wxString const &,int,class wxString const &,class wxString const &,clas
s wxString const &)" (?wxTheAssertHandler@@3P6AXABVwxString@@H000@ZA)
..\..\lib\vc_dll\wxmsw292u_vc.dll : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: 'D:\DengYC\LoveDEV\build\vc\bin\link.EXE' : return code '0x460'
Stop.

comment:13 Changed 10 years ago by Loaden

  • Priority changed from normal to high

To reproduce this issue, requires two conditions in the same time:

  1. "SHARED=1"
  2. "DEBUG_FLAG=0"

comment:14 follow-ups: Changed 10 years ago by dconnet

I've run into this with a static lib built on all versions of VC. The problem is when you set DEBUG_FLAG=0, it resets wxDEBUG_LEVEL to 0. Then, when you compile a project where wxDEBUG_LEVEL isn't explicitly set to 0, wxDEBUG_LEVEL is "set" via setup.h. Which means it has a different level then the compiled library. My workaround was to edit setup.h and specifically set the level (release=0, debug=1)

comment:15 in reply to: ↑ 14 Changed 10 years ago by Loaden

Replying to dconnet:

I've run into this with a static lib built on all versions of VC. The problem is when you set DEBUG_FLAG=0, it resets wxDEBUG_LEVEL to 0. Then, when you compile a project where wxDEBUG_LEVEL isn't explicitly set to 0, wxDEBUG_LEVEL is "set" via setup.h. Which means it has a different level then the compiled library. My workaround was to edit setup.h and specifically set the level (release=0, debug=1)

I can confirm this solution can fixed this issue.
But this is not the final solution, just like a hack.

setup.h, line: 69

#ifdef NDEBUG
    #define wxDEBUG_LEVEL 0
#else
    #define wxDEBUG_LEVEL 1
#endif

comment:16 in reply to: ↑ 14 Changed 10 years ago by vadz

  • Summary changed from Mingw link fails with "BUILD=release DEBUG_INFO=0 MONOLITHIC=1" to Debug level mismatch with "BUILD=release DEBUG_INFO=0"

Replying to dconnet:

I've run into this with a static lib built on all versions of VC. The problem is when you set DEBUG_FLAG=0, it resets wxDEBUG_LEVEL to 0. Then, when you compile a project where wxDEBUG_LEVEL isn't explicitly set to 0, wxDEBUG_LEVEL is "set" via setup.h.

But why isn't it set for you? build/msw/makefile.vc does pass /DwxDEBUG_LEVEL=0 to all wx libraries (via __DEBUG_DEFINE_p make variable).

I'm also very confused because you see this with static build while the previous comment states that the bug only appears with DLL builds. So is this the same bug at all or two different ones?

In any case, if either of you can debug and explain how does this wxDEBUG_LEVEL mismatch occur for you, it would be very useful. TIA!

comment:17 Changed 10 years ago by dconnet

For me, what happens is the library is built using the specified level (0). Then in my project where I use the library, since no #define is explicitly set, it inherits the setup.h value (1). So the library has no wxOnAssert, but the header tries to pull it in.

It's basically a mismatch between how the library is built and how the application is built using command line switches.

comment:18 Changed 10 years ago by vadz

You must indeed define wxDEBUG_LEVEL yourself if you use non-default value for it, there is no way around it under Windows.

However the bug is about building wxWidgets itself and not the applications using it. And I'm still very confused by it.

comment:19 Changed 10 years ago by dconnet

oops - I misread it... sorry for the noise!

comment:20 follow-up: Changed 10 years ago by Loaden

If forced seting the wxDEBUG_LEVEL value in the "wx/debug.h" file, like this:

// unless wxDEBUG_LEVEL is predefined (by configure or via wx/setup.h under
// Windows), use the default
#if !defined(wxDEBUG_LEVEL)
    #define wxDEBUG_LEVEL 0
#endif // !defined(wxDEBUG_LEVEL)

We changed the default value to 0, then the issue gone too.
So, Why we can't defined the wxDEBUG_LEVEL value in command line?

comment:21 in reply to: ↑ 20 Changed 10 years ago by vadz

  • Status changed from confirmed to infoneeded_new

Replying to Loaden:

So, Why we can't defined the wxDEBUG_LEVEL value in command line?

What do you mean by this? Of course you can define it, the #if !defined(wxDEBUG_LEVEL) test is there exactly to allow it.

I'm sorry but I just don't understand at all any more what is this bug about. Could you please reexplain clearly what do you do and what fails exactly?

Changed 10 years ago by Loaden

comment:22 follow-up: Changed 10 years ago by Loaden

  • Status changed from infoneeded_new to new

Sorry for my pool english. I am chinese.
I think this issue should be fixed by the attachment (patch).
I just tested in VC10, and can confirm the issue is gone.
I hope this can be useful.
Thanks.

comment:23 in reply to: ↑ 22 Changed 10 years ago by Loaden

Replying to Loaden:

I just tested in VC10, and can confirm the issue is gone.

I can confirm this issue is gone when compiled using MinGW 4.4.5.

comment:24 follow-up: Changed 10 years ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted
  • Summary changed from Debug level mismatch with "BUILD=release DEBUG_INFO=0" to Debug level mismatch with "BUILD=release DEBUG_FLAG=0"

Ok, thanks, I'll apply this patch and also my patch from comment:3 as I think it's still needed too.

BTW, when you were saying DEBUG_INFO=0 all this time you meant DEBUG_FLAG=0, right? Because I don't see at all what does this have to do with debug information...

comment:25 in reply to: ↑ 24 Changed 10 years ago by Loaden

Replying to vadz:

BTW, when you were saying DEBUG_INFO=0 all this time you meant DEBUG_FLAG=0, right? Because I don't see at all what does this have to do with debug information...

Right, Because i do not know which flag is the reason of the build error.
I'm happy this patch can be accepted, and this issue is gone.
Best regards!

comment:26 Changed 10 years ago by VZ

(In [66222]) Always define WXUSINGDLL when compiling Scintilla in shared wx build.

We need WXUSINGDLL even in monolithic build because Scintilla references wx
debugging functions (wxOnAssert(), wxTheAssertHandler &c) which still must be
seen as being exported from the (monolithic) DLL in this case.

See #12626.

comment:27 Changed 10 years ago by VZ

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [66223]) Use correct wxDEBUG_LEVEL value when building wxscintilla library.

wxScintilla code uses wxVector<> which brings in wxDEBUG_LEVEL-dependent code
so we must use the wxDEBUG_LEVEL value consistent with the rest of the library
when building it.

Simply pass wxDEBUG_LEVEL definition on the compiler command line if it's
different from the default.

Closes #12626.

comment:28 Changed 10 years ago by Loaden

  • Resolution fixed deleted
  • Status changed from closed to reopened

Tested in rev66233, if using VC Compiler, this issue is gone.
But if using MinGW 4.4.5, this issue is still exist.

Creating library file: ..\..\lib\gcc_dll\libwxmsw29ud.a
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Editor.o):Editor.cxx:(.text+0x240d): undefined refer
ence to `_imp___Z7wxQsortPvjjPFiPKvS1_S1_ES1_'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeEixEj[__ZN8wxVectorI14SelectionRangeEixEj]+0x9): undefined reference to `_imp__wxTheAsser
tHandler'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeEixEj[__ZN8wxVectorI14SelectionRangeEixEj]+0x45): undefined reference to `_imp___Z10wxOnA
ssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xa): undefined reference to `_i
mp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x6a): undefined reference to `_
imp__wxTheAssertHandler'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0xa2): undefined reference to `_
imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZN8wxVectorI14Sel
ectionRangeE5eraseEPS0_[__ZN8wxVectorI14SelectionRangeE5eraseEPS0_]+0x104): undefined reference to `
_imp___Z10wxOnAssertPKciS0_S0_S0_'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Se
lectionRangeEixEj[__ZNK8wxVectorI14SelectionRangeEixEj]+0x9): undefined reference to `_imp__wxTheAss
ertHandler'
..\..\lib\gcc_dll\libwxscintillad.a(wxscintilla_Selection.o):Selection.cxx:(.text$_ZNK8wxVectorI14Se
lectionRangeEixEj[__ZNK8wxVectorI14SelectionRangeEixEj]+0x45): undefined reference to `_imp___Z10wxO
nAssertPKciS0_S0_S0_'
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw292ud.dll] Error 1

comment:29 Changed 10 years ago by vadz

There seems to be something wrong with linker command line as this is not wxDEBUG_LEVEL-related as the error about _Z7wxQsortPvjjPFiPKvS1_S1_ES1_ (which is wxQsort(void*, unsigned int, unsigned int, int (*)(void const*, void const*, void const*), void const*)) shows.

What were the parameters of this build exactly? Monolithic, shared, debug?

comment:30 Changed 10 years ago by Loaden

mingw32-make -f makefile.gcc CPPFLAGS=-Os LDFLAGS=-s SHARED=1 BUILD=release UNICODE=1 DEBUG_INFO=0 DEBUG_FLAG=0 MONOLITHIC=1 OFFICIAL_BUILD=1 RUNTIME_LIBS=static

No, If i using my patch (fixed_build_error.patch), I can build it successed.

comment:31 Changed 10 years ago by Loaden

I can confirm if revert rev66222, it should fixed this issue.
The meaning is you can not apply your patch from #3.

ifeq ($(MONOLITHIC),0) 
ifeq ($(SHARED),1)
__wxscintilla_usingdll_p = -DWXUSINGDLL
endif
endif

Here, we need the "ifeq ($(MONOLITHIC),0) " statement.

comment:32 Changed 10 years ago by vadz

Ok, I see, thanks for testing. I'll revert r66222 then.

comment:33 Changed 10 years ago by VZ

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [66238]) Revert "Always define WXUSINGDLL when compiling Scintilla in shared wx build."

Finally it's unnecessary to define WXUSINGDLL when building wxScintilla
library as it doesn't use the main DLL, it is simply used as part of it.

This reverts r66222 and finally closes #12626.

Note: See TracTickets for help on using tickets.