Opened 18 years ago

Closed 18 years ago

#10595 closed defect (fixed)

BUG: wxgtk-2.4.2 build failure - update port to 2.8.0 and apply patch

Reported by: mrgibson@… Owned by: kvv@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: DarwinPorts Cc: markd@…
Port:

Description

./bk-deps /usr/bin/g++-4.0 -c -o monodll_xtixml.o -I.pch/wxprec_monodll -D__WXGTK__          -I../wxWidgets-2.6.3/src/regex  -DwxUSE_BASE=1 -DWXMAKINGDLL -dynamic -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk2-unicode-release-2.6 -I../wxWidgets-2.6.3/include -DXTHREADS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/X11R6/include -I/opt/local/include -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -Wundef -Wno-ctor-dtor-privacy -fno-common ../wxWidgets-2.6.3/src/common/xtixml.cpp
/usr/bin/g++-4.0 -dynamiclib -single_module -headerpad_max_install_names -o lib/libwx_gtk2u-2.6.0.3.1.dylib  monodll_appbase.o monodll_archive.o monodll_clntdata.o monodll_cmdline.o monodll_config.o monodll_datetime.o monodll_datstrm.o monodll_dircmn.o monodll_dynarray.o monodll_dynlib.o monodll_dynload.o monodll_encconv.o monodll_extended.o monodll_ffile.o monodll_file.o monodll_fileconf.o monodll_filefn.o monodll_filename.o monodll_filesys.o monodll_fmapbase.o monodll_fs_zip.o monodll_hash.o monodll_hashmap.o monodll_init.o monodll_intl.o monodll_ipcbase.o monodll_list.o monodll_log.o monodll_longlong.o monodll_memory.o monodll_mimecmn.o monodll_module.o monodll_mstream.o monodll_object.o monodll_process.o monodll_regex.o monodll_stdpbase.o monodll_sstream.o monodll_stopwatch.o monodll_strconv.o monodll_stream.o monodll_string.o monodll_sysopt.o monodll_textbuf.o monodll_textfile.o monodll_tokenzr.o monodll_txtstrm.o monodll_uri.o monodll_variant.o monodll_wfstream.o monodll_wxchar.o monodll_xti.o monodll_xtistrm.o monodll_zipstrm.o monodll_zstream.o monodll_baseunix.o monodll_dir.o monodll_dlunix.o monodll_mimetype.o monodll_snglinst.o monodll_stackwalk.o monodll_stdpaths.o monodll_threadpsx.o monodll_cfstring.o monodll_stdpaths_cf.o monodll_utilsexc_base.o monodll_event.o monodll_fs_mem.o monodll_msgout.o monodll_utilscmn.o monodll_utilsunx.o  monodll_fs_inet.o monodll_ftp.o monodll_http.o monodll_protocol.o monodll_sckaddr.o monodll_sckfile.o monodll_sckipc.o monodll_sckstrm.o monodll_socket.o monodll_url.o monodll_gsocket.o monodll_caret.o monodll_dialup.o monodll_fontenum.o monodll_fontutil.o monodll_utilsx11.o monodll_displayx11.o monodll_paletteg.o monodll_app.o monodll_bitmap.o monodll_brush.o monodll_clipbrd.o monodll_colour.o monodll_cursor.o monodll_data.o monodll_dataobj.o monodll_dc.o monodll_dcclient.o monodll_dcmemory.o monodll_dcscreen.o monodll_dnd.o monodll_evtloop.o monodll_font.o monodll_gdiobj.o monodll_gsockgtk.o monodll_icon.o monodll_main.o monodll_minifram.o monodll_pen.o monodll_popupwin.o monodll_region.o monodll_renderer.o monodll_settings.o monodll_timer.o monodll_tooltip.o monodll_toplevel.o monodll_utilsgtk.o monodll_win_gtk.o monodll_window.o monodll_accel.o monodll_colrdlgg.o monodll_dirdlgg.o monodll_fdrepdlg.o monodll_filedlgg.o monodll_imaglist.o monodll_listctrl.o monodll_msgdlgg.o monodll_prntdlgg.o monodll_statusbr.o monodll_tabg.o monodll_fontdlgg.o monodll_artgtk.o monodll_bmpbuttn.o monodll_button.o monodll_checkbox.o monodll_checklst.o monodll_choice.o monodll_colordlg.o monodll_combobox.o monodll_control.o monodll_dialog.o monodll_filedlg.o monodll_fontdlg.o monodll_frame.o monodll_gauge.o monodll_gprint.o monodll_listbox.o monodll_mdi.o monodll_menu.o monodll_msgdlg.o monodll_notebook.o monodll_radiobox.o monodll_radiobut.o monodll_scrolbar.o monodll_scrolwin.o monodll_slider.o monodll_spinbutt.o monodll_spinctrl.o monodll_statbmp.o monodll_statbox.o monodll_statline.o monodll_stattext.o monodll_tbargtk.o monodll_textctrl.o monodll_tglbtn.o monodll_utilsres.o monodll_accesscmn.o monodll_appcmn.o monodll_artprov.o monodll_artstd.o monodll_bmpbase.o monodll_bookctrl.o monodll_choiccmn.o monodll_clipcmn.o monodll_cmdproc.o monodll_cmndata.o monodll_containr.o monodll_cshelp.o monodll_ctrlcmn.o monodll_ctrlsub.o monodll_datacmn.o monodll_dcbase.o monodll_dlgcmn.o monodll_dndcmn.o monodll_dobjcmn.o monodll_docmdi.o monodll_docview.o monodll_dpycmn.o monodll_dseldlg.o monodll_effects.o monodll_fddlgcmn.o monodll_fldlgcmn.o monodll_fontcmn.o monodll_fontmap.o monodll_framecmn.o monodll_gaugecmn.o monodll_gbsizer.o monodll_gdicmn.o monodll_geometry.o monodll_gifdecod.o monodll_helpbase.o monodll_iconbndl.o monodll_imagall.o monodll_imagbmp.o monodll_image.o monodll_imagfill.o monodll_imaggif.o monodll_imagiff.o monodll_imagjpeg.o monodll_imagpcx.o monodll_imagpng.o monodll_imagpnm.o monodll_imagtiff.o monodll_imagxpm.o monodll_layout.o monodll_lboxcmn.o monodll_matrix.o monodll_menucmn.o monodll_nbkbase.o monodll_paper.o monodll_popupcmn.o monodll_prntbase.o monodll_quantize.o monodll_radiocmn.o monodll_rendcmn.o monodll_rgncmn.o monodll_settcmn.o monodll_sizer.o monodll_statbar.o monodll_stockitem.o monodll_tbarbase.o monodll_textcmn.o monodll_timercmn.o monodll_toplvcmn.o monodll_treebase.o monodll_valgen.o monodll_validate.o monodll_valtext.o monodll_wincmn.o monodll_xpmdecod.o monodll_busyinfo.o monodll_choicdgg.o monodll_choicbkg.o monodll_dcpsg.o monodll_dirctrlg.o monodll_dragimgg.o monodll_listbkg.o monodll_logg.o monodll_numdlgg.o monodll_panelg.o monodll_progdlgg.o monodll_printps.o monodll_renderg.o monodll_scrlwing.o monodll_selstore.o monodll_spinctlg.o monodll_splitter.o monodll_textdlgg.o monodll_tipwin.o monodll_treectlg.o monodll_vlbox.o monodll_vscroll.o monodll_calctrl.o monodll_datectlg.o monodll_grid.o monodll_gridctrl.o monodll_gridsel.o monodll_helpext.o monodll_laywin.o monodll_propdlg.o monodll_sashwin.o monodll_splash.o monodll_tipdlg.o monodll_wizard.o monodll_taskbarcmn.o monodll_joystick.o monodll_sound.o monodll_taskbarx11.o monodll_taskbar.o monodll_eggtrayicon.o  monodll_mediactrlcmn.o monodll_mediactrl.o  monodll_chm.o monodll_helpctrl.o monodll_helpdata.o monodll_helpfrm.o monodll_htmlcell.o monodll_htmlfilt.o monodll_htmlpars.o monodll_htmltag.o monodll_htmlwin.o monodll_htmprint.o monodll_m_dflist.o monodll_m_fonts.o monodll_m_hline.o monodll_m_image.o monodll_m_layout.o monodll_m_links.o monodll_m_list.o monodll_m_pre.o monodll_m_style.o monodll_m_tables.o monodll_winpars.o monodll_htmllbox.o monodll_db.o monodll_dbtable.o monodll_debugrpt.o monodll_dbgrptg.o monodll_dbgrid.o monodll_xh_bmpbt.o monodll_xh_bmp.o monodll_xh_bttn.o monodll_xh_cald.o monodll_xh_chckb.o monodll_xh_chckl.o monodll_xh_choic.o monodll_xh_choicbk.o monodll_xh_combo.o monodll_xh_datectrl.o monodll_xh_dlg.o monodll_xh_frame.o monodll_xh_mdi.o monodll_xh_gauge.o monodll_xh_gdctl.o monodll_xh_html.o monodll_xh_listb.o monodll_xh_listbk.o monodll_xh_listc.o monodll_xh_menu.o monodll_xh_notbk.o monodll_xh_panel.o monodll_xh_radbt.o monodll_xh_radbx.o monodll_xh_scrol.o monodll_xh_scwin.o monodll_xh_sizer.o monodll_xh_slidr.o monodll_xh_spin.o monodll_xh_split.o monodll_xh_statbar.o monodll_xh_stbmp.o monodll_xh_stbox.o monodll_xh_stlin.o monodll_xh_sttxt.o monodll_xh_text.o monodll_xh_tglbtn.o monodll_xh_toolb.o monodll_xh_tree.o monodll_xh_unkwn.o monodll_xh_wizrd.o monodll_xmlres.o monodll_xmlrsall.o monodll_xml.o monodll_xtixml.o  -L/opt/local/lib  -L/usr/X11R6/lib -L/opt/local/lib -framework IOKit -framework CoreServices -framework System -framework ApplicationServices    -Llib -install_name /opt/local/lib/libwx_gtk2u-2.6.0.dylib   -compatibility_version 3.0 -current_version 3.1       -lwxregexu-2.6  -L/opt/local/lib  -L/usr/X11R6/lib -L/opt/local/lib -framework IOKit -framework CoreServices -framework System -framework ApplicationServices  -lz -lpthread -liconv  -L/opt/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm -lpango-1.0 -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -lfreetype -lz -lfontconfig -lpng12 -lXrender -lX11 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff  -lexpat   -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa
ld: warning prebinding disabled because dependent library: /opt/local/lib/libiconv.2.dylib is not prebound
ld: Undefined symbols:
_wxCreateSoundBackendSDL
/usr/bin/libtool: internal link edit command failed
make: *** [lib/libwx_gtk2u-2.6.0.3.1.dylib] Error 1

Change History (7)

comment:1 Changed 18 years ago by kevin@…

Component: darwinbuilddports
Keywords: DarwinPorts added; darwinbuild removed
product: darwinbuildDarwinPorts
Version: current1.2

This is a DarwinPorts issue, not a DarwinBuild issue.

comment:2 Changed 18 years ago by markd@…

Summary: wxWidgets fails to build: undefined symbol --> _wxCreateSoundBackendSDL @ monodll_*BUG: wxWidgets-2.6.3 fails to build: undefined symbol --> _wxCreateSoundBackendSDL @ monodll_*

comment:3 Changed 18 years ago by afb@…

Here is a patch for this wxWidgets / wxGTK issue: http://www.algonet.se/~afb/wx/patch-soundsdl.diff

It's failing to include the SDL objects on Darwin...

comment:4 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

WxWidgets has been updated to 2.8.0 and seems to fix this.

comment:5 Changed 18 years ago by afb@…

Resolution: fixed
Status: closedreopened

No, it doesn't - not for wxGTK which this bug is all about. Patch: http://www.algonet.se/~afb/wx/patch-soundsdl-28.diff

comment:6 Changed 18 years ago by markd@…

Summary: BUG: wxWidgets-2.6.3 fails to build: undefined symbol --> _wxCreateSoundBackendSDL @ monodll_*BUG: wxgtk-2.4.2 build failure - update port to 2.8.0 and apply patch

Good summary lines are important. Changing that. Well wxgtk is way outdated and still depends on gtk1, and the patch to wxgtk you linked for the Makefile is for 2.8.0 anyway. Someone that uses this port please supply a patch to update the port.

comment:7 Changed 18 years ago by markd@…

Resolution: fixed
Status: reopenedclosed

wxgtk updated to 2.8.0. Applied patch. Thanks.

Note: See TracTickets for help on using tickets.