LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   amule, lmule, and xmule problem (https://www.linuxquestions.org/questions/linux-software-2/amule-lmule-and-xmule-problem-236060/)

tutwabee 09-27-2004 11:45 PM

amule, lmule, and xmule problem
 
I can't seem to get lmule or amule to make and the xmule binary package won't run.

lmule error message when running make 1> /dev/null
Quote:

xh_frame.cpp: In constructor `wxFrameXmlHandler::wxFrameXmlHandler()':
xh_frame.cpp:32: error: `wxDEFAULT_DIALOG_STYLE' undeclared (first use this
function)
xh_frame.cpp:32: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[4]: *** [xh_frame.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
xmule error message when running ./xmule:
Quote:

./xmule: error while loading shared libraries: libwx_gtk-2.4.so: cannot open shared object file: No such file or directory
(...The library is in the same directory as xmule though)

some of the amule errors when running make 1> /dev/null
Quote:

wxcas-onlinesig.o(.text+0x13d): In function `OnLineSig::OnLineSig[not-in-charge]()':
/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:57: undefined reference to `wxGetTranslation(wchar_t const*)'
wxcas-onlinesig.o(.text+0x201):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:65: undefined reference to `wxGetTranslation(wchar_t const*)'
wxcas-onlinesig.o(.text+0x5df): In function `OnLineSig::OnLineSig[in-charge]()':/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:57: undefined reference to `wxGetTranslation(wchar_t const*)'
wxcas-onlinesig.o(.text+0x6a3):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:65: undefined reference to `wxGetTranslation(wchar_t const*)'
wxcas-onlinesig.o(.text+0x1571): In function `OnLineSig::Refresh()':
/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:103: undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
wxcas-onlinesig.o(.text+0x1585):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:103: undefined reference to `wxTextInputStream::wxTextInputStream[in-charge](wxInputStream&, wxString const&, wxMBConv&)'
wxcas-onlinesig.o(.text+0x15c7):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:104: undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
wxcas-onlinesig.o(.text+0x1b3a): In function `OnLineSig::GetConnexionIDType() const':
/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:248: undefined reference to `operator==(wxString const&, wchar_t const*)'
wxcas-onlinesig.o(.text+0x1b51):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:250: undefined reference to `wxGetTranslation(wchar_t const*)'
wxcas-onlinesig.o(.text+0x1b5d):/tmp/aMule-2.0.0rc5/src/utils/wxCas/src/onlinesig.cpp:250: undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
...
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_toolbar_set_space_size'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `g_main_set_poll_func'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_root_window'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_im_end'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_cursor_destroy'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_gc_destroy'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_type_is_a'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_radio_menu_item_group'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_unref'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_regions_intersect'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_set_attr'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_image_destroy'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_radio_button_group'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_get_events'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_notebook_set_page'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_widget_pop_visual'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_signal_disconnect'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_regions_union'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_new'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_accel_group_detach'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_get_visual'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_copy_area'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_im_ready'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_destroy'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_get_style'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_get_size'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_pixmap_unref'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_signal_connect_after'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_container_children'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_type_check_object_cast'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_attr_destroy'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_bitmap_unref'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_root_parent'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_accel_group_attach'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_ic_attr_new'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_regions_subtract'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_signal_disconnect_by_func'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_get_colormap'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_toolbar_set_button_relief'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_regions_xor'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_im_decide_style'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_draw_pixmap'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_container_focus'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_menu_ensure_uline_accel_group'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_widget_push_visual'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_menu_insert'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_menu_append'/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_im_begin'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_widget_set_default_visual'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gdk_window_ref'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_marshal_NONE__POINTER_POINTER'
/usr/local/lib/libwx_gtk2u_core-2.5.so: undefined reference to `gtk_signal_connect'
collect2: ld returned 1 exit status
make[6]: *** [wxcas] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
My best guess is it has something to do with wxWindows and GTK but I installed wxWidgets with GTK today.

tutwabee 09-29-2004 09:59 PM

I'm reviving this thread because I am still lost on what I should do for any of the three programs.

francesconuma 06-10-2005 07:04 PM

Same problem
 
Anyone can help us?
make[4]: Entering directory `/home/francesco/lmule-1.2.1/src/wx/xrc'
g++ -I../.. -c `/usr/local/bin/wx-config --cxxflags` xh_frame.cpp
xh_frame.cpp: In constructor `wxFrameXmlHandler::wxFrameXmlHandler()':
xh_frame.cpp:32: error: `wxDEFAULT_DIALOG_STYLE' undeclared (first use this function)
xh_frame.cpp:32: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [xh_frame.o] Error 1
make[4]: Leaving directory `/home/francesco/lmule-1.2.1/src/wx/xrc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/francesco/lmule-1.2.1/src/wx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/francesco/lmule-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/francesco/lmule-1.2.1'
make: *** [all] Error 2

Grajagan 06-11-2005 11:56 AM

I have wxBase-2.6.0 and wxGTK-2.6.0 and i sucessfuly compiled amule 2.0.1 :)

francesconuma 06-12-2005 02:19 PM

I tryed again
Downloaded amule-2.0.2.2....rpm
When i click on the rpm file there's a prompt about missing o not found libwx_baseu_xml-2.6.so.0.
So I downloaded wxgtk and wxbase but when i ./configure the first one I get:

checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

So I tried to install gtk+ and all relative files but installing glib it asks me gettext-0.14.tar.gz so i downloaded it too but it ask c# compiler..... :confused: infinite loop of downloads?!
:newbie: :newbie:

LordSurvivoR 07-15-2005 06:56 PM

I have the same problem with LMule

Quote:

xh_frame.cpp: In constructor `wxFrameXmlHandler::wxFrameXmlHandler()':
xh_frame.cpp:32: error: `wxDEFAULT_DIALOG_STYLE' undeclared (first use this
function)
xh_frame.cpp:32: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[4]: *** [xh_frame.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Can anyone help us?


All times are GMT -5. The time now is 05:01 AM.