aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: linking probs ?  (Read 4297 times)

Celphor

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
linking probs ?
« on: December 23, 2004, 03:47:57 PM »

Hi,

I tried to compile rc8 today, but I crash with the following.
First my config:

ls -l /usr/bin/wx*
/bin/ls: /usr/bin/wx*: No such file or directory

ls -l /usr/local/bin/wx*
lrwxrwxrwx    1 root     root           46 Dec 22 20:37 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-ansi-release-2.5
lrwxrwxrwx    1 root     root            8 Dec 22 20:37 /usr/local/bin/wxrc -> wxrc-2.5
-rwxr-xr-x    1 root     root        74170 Dec 22 20:37 /usr/local/bin/wxrc-2.5



The error:

make[2]: Entering directory `/home/ume/Downloads/aMule-2.0.0rc8/src'
g++  -DUSE_EMBEDDED_CRYPTO  -O2   -lpthread -o amulegui  amulegui-amule-gui.o amulegui-amuleDlg.o amulegui-BarShader.o amulegui-CatDialog.o amulegui-ChatSelector.o amulegui-ChatWnd.o amulegui-ClientCredits.o amulegui-ClientDetailDialog.o amulegui-ClientListCtrl.o amulegui-ColorFrameCtrl.o amulegui-CommentDialog.o amulegui-CommentDialogLst.o amulegui-CFile.o amulegui-DirectoryTreeCtrl.o amulegui-DownloadListCtrl.o amulegui-filemem.o amulegui-FileDetailDialog.o amulegui-FileDetailListCtrl.o amulegui-FriendListCtrl.o amulegui-listctrl.o amulegui-muuli_wdr.o amulegui-MuleGifCtrl.o amulegui-MuleListCtrl.o amulegui-MuleNotebook.o amulegui-MuleTextCtrl.o amulegui-MuleTrayIcon.o amulegui-otherfunctions.o amulegui-OScopeCtrl.o amulegui-packets.o amulegui-Preferences.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-SearchList.o amulegui-SearchListCtrl.o amulegui-SharedFilesCtrl.o amulegui-SharedFilesWnd.o amulegui-ServerListCtrl.o amulegui-StatisticsDlg.o amulegui-StringFunctions.o amulegui-eggtrayicon.o amulegui-SysTray.o amulegui-gtk2-funcs.o amulegui-gtkplugxembed.o -L/usr/local/lib -pthread   -L/usr/X11R6/lib  -lwx_gtk2_xrc-2.5 -lwx_gtk2_html-2.5 -lwx_gtk2_adv-2.5 -lwx_gtk2_core-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5  -Wl,--export-dynamic -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lz -L/usr/lib -lcurl -L/usr/ssl/lib -lz -lssl -lcrypto -ldl -lz  -Wl,--export-dynamic -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
amulegui-amule-gui.o(.text+0x48): In function `wxCreateApp()':
: undefined reference to `CamuleApp::CamuleApp[not-in-charge]()'
amulegui-amule-gui.o(.text+0x11a): In function `CamuleGuiApp::ShutDown()':
: undefined reference to `CamuleApp::ShutDown()'

----- 10000 lines cut :-) --------

amulegui-SysTray.o(.text+0x1051): In function `tray_menu(_GtkWidget*, _GdkEventButton*, void*)':
: undefined reference to `CamuleApp::GetUptimeSecs()'
collect2: ld returned 1 exit status
make[4]: *** [amulegui] Error 1
make[4]: Leaving directory `/home/ume/Downloads/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ume/Downloads/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ume/Downloads/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ume/Downloads/aMule-2.0.0rc8'
make: *** [all] Error 2


Any ideas ?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3928
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: linking probs ?
« Reply #1 on: December 23, 2004, 04:06:16 PM »

if u compiled amule with --disable-debug --enable-optimize try the other way (--enable-debug --disable-optimize)
i think it will help

cheers

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: linking probs ?
« Reply #2 on: December 23, 2004, 05:32:53 PM »

delta, pay attention to the posts :P


Don't enable amule-gui, it will not compile.
Logged

Celphor

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: linking probs ?
« Reply #3 on: December 23, 2004, 07:04:55 PM »

@delta:

Your tip leads to the following error.
Time for me to swith to Gentoo :-)

In file included from ServerSocket.cpp:67:
SearchDlg.h:163: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://www.suse.de/feedback> for instructions.
make[4]: *** [amule-ServerSocket.o] Error 1
make[4]: Leaving directory `/home/ume/Downloads/aMule-2.0.0rc8/src'

Greetings

Celphor
Logged

Celphor

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: linking probs ?
« Reply #4 on: December 23, 2004, 09:27:56 PM »

@kry:

thank you, maybe i had this option with configure. Now it worked (without debug, with optimize)

Greetings

Celphor
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3928
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: linking probs ?
« Reply #5 on: December 23, 2004, 09:36:07 PM »

maybe the users should post the configure flags they use next time.. and isn't there a warning on amule-gui (configure --help) ?

cheers

Celphor

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: linking probs ?
« Reply #6 on: December 24, 2004, 12:33:23 AM »

Quote
maybe the users should post the configure flags they use next time.. and isn't there a warning on amule-gui (configure --help) ?

Yes, I should have posted my config. And, you're right - there is a warning  :]
But I didn't save my config output and didn't remember exactly the options I've chosen.
Otherwise I would have posted the config.  :baby:
Anyway, now it works.
Thanks for your help!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5898
Re: linking probs ?
« Reply #7 on: December 24, 2004, 01:30:45 AM »

Don't pay attention to delta, he just wants to blame everyone else
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3928
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: linking probs ?
« Reply #8 on: December 24, 2004, 03:40:41 AM »

pssss.. you should keep it for yourself Kry  :P ;)