aMule Forum
English => en_Bugs => Topic started by: tany on November 05, 2005, 01:44:04 PM
-
Hi,
I'm using aMule on Solaris (9). For some reason i get 'Insufficient Diskspace' after downloading 240K bytes of a file while the free disk space i have on the 'Incoming' and 'Temp' dirs is 28G.
Any ideas ?
-
some questions: which amule wersion are you using? did you follow the instructions on the sticky about compiling amule on solaris? which compiler didi you use? (gcc, SUN's cc or other?) GNU ld? which wxGTk version? Solaris x86 or SPARC?.
Regards.
Edit: I moved the thread since this is a more proper place to post this topic.
-
Thanks for the quick reply.
I use Solaris 9 on a Sparc machine, Ultra 5 box. The aMule version is 2.0.3 and wxWidgets 2.4.2. I use gcc 3.2.3 (dont know how to get gcc ID)
I used the stickey order on compiling the aMule on Solaris, I did faced some compilation problems which were related to missing Include files and libraries but after making some modifications to the Makefile creating a file with dummy function, i managed to pass compliation. The function i added is :
void unlink_if_ordinary()
{
}
Do you think this could be the problem ?
I must say that when i change the directories to different file system (with a size of 14G) is works fine, which is a bit odd since both file system have the same write permission and the incoming and the temp dirs are set to chmod 750.
Regards,
Tany.
-
Well, I am not sure about the function you added, since i know not much about C++. To get gcc version, try "gcc -v" or "gcc --version" one of these (maybe both) will geve you gcc version. An advice would be try to install latest wxGTK (compile from source is the best option IMHO). The tutorial I made for compiling on solaris was made for solaris 10, but 9 *should* behave the same. I installed every package from blastwave.org, so that could be a difference. I always use self-compiled versions of wxGTK, against GTK1 (could not make it work with GTK2 IIRC) and use the webserver. Do all the files get the same error? or simply one file gets the error? is that file very big/very small/ any "interesting" feature about it? Try compiling a recent CVS version, they usually work better than 2.0.3 and have some more features.
Regards.
-
Hi,
I follow your recommenadtions and tried to compile the latest amule-CVS, but i get these linkage errors :
g++ -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -lpthread -o amulegui amulegui-amule-remote-gui.o amulegui-amule-gui.o amulegui-amuleDlg.o amulegui-AddFriend.o amulegui-BarShader.o amulegui-CatDialog.o amulegui-ChatSelector.o amulegui-ChatWnd.o amulegui-ClientDetailDialog.o amulegui-ClientListCtrl.o amulegui-ColorFrameCtrl.o amulegui-CommentDialog.o amulegui-CommentDialogLst.o amulegui-DirectoryTreeCtrl.o amulegui-DownloadListCtrl.o amulegui-EditServerListDlg.o amulegui-FileDetailDialog.o amulegui-FileDetailListCtrl.o amulegui-FriendListCtrl.o amulegui-KadDlg.o amulegui-listctrl.o amulegui-MuleGifCtrl.o amulegui-MuleListCtrl.o amulegui-MuleNotebook.o amulegui-MuleTextCtrl.o amulegui-muuli_wdr.o amulegui-OScopeCtrl.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-SearchListCtrl.o amulegui-ServerWnd.o amulegui-SharedFilesCtrl.o amulegui-SharedFilesWnd.o amulegui-ServerListCtrl.o amulegui-StatisticsDlg.o amulegui-TransferWnd.o amulegui-eggtrayicon.o amulegui-gtk2-funcs.o amulegui-gtkplugxembed.o amulegui-SysTray.o amulegui-ECSocket.o amulegui-ECPacket.o amulegui-ECSpecialTags.o amulegui-CFile.o amulegui-ClientCredits.o amulegui-DataToText.o amulegui-ED2KLink.o amulegui-FileFunctions.o amulegui-KnownFile.o amulegui-Logger.o amulegui-MemFile.o amulegui-NetworkFunctions.o amulegui-PartFile.o amulegui-Packet.o amulegui-Preferences.o amulegui-Proxy.o amulegui-RLE.o amulegui-SafeFile.o amulegui-Server.o amulegui-Statistics.o amulegui-StatTree.o amulegui-SHA.o amulegui-SHAHashSet.o amulegui-UInt128.o amulegui-Format.o amulegui-MD5Sum.o amulegui-MuleDebug.o amulegui-OtherFunctions.o amulegui-PlatformSpecific.o amulegui-StringFunctions.o amulegui-CryptoPP.o -lX11 -L/usr/local/lib -pthreads -lwx_gtk-2.4 -L/usr/sfw/lib/ -lgdk-1.2 -lz -lresolv -lnsl -lgen -lrt
Undefined first referenced
symbol in file
gdk_x11_get_default_root_xwindow amulegui-gtkplugxembed.o
g_type_check_instance_is_a amulegui-eggtrayicon.o
gtk_widget_realize amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_item_get_type amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_size_allocate amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_draw_drawable amulegui-SysTray.o
gtk_bin_get_type amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_tooltips_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_object_set_data_full amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_get_current_event amulegui-gtk2-funcs.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_event_box_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_window_get_type amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_window_set_focus amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_set_title amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_type_unique amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_tooltips_enable amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_window_set_title amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_show amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_object_unref amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_item_new_with_label amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_get_parent_window amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_pixmap_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
g_type_check_instance_cast amulegui-listctrl.o
gtk_menu_popup amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_window_lookup amulegui-eggtrayicon.o
gtk_window_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_get_colormap amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_destroyed amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_pixmap_set amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_signal_connect_full amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_get_default_root_window amulegui-eggtrayicon.o
gtk_container_set_focus_child amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_pixmap_get amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_get_type amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_get_type amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_item_set_submenu amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_get_visual amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
wxNotebook::IsOwnGtkWindow(_GdkDrawable*) amulegui-ChatSelector.o
gtk_object_new amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_drawable_unref amulegui-gtkplugxembed.o
gtk_tooltips_set_tip amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
wxTextCtrl::IsOwnGtkWindow(_GdkDrawable*) amulegui-ChatSelector.o
gtk_container_add amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_window_set_wmclass amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_drawable_ref amulegui-gtkplugxembed.o
gtk_object_get_type amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
g_snprintf amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libglib-1.2.so.0)
gtk_type_class amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_object_get_data amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_get_style amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_object_ref amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_destroy amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_container_get_type amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_x11_drawable_get_xid amulegui-gtkplugxembed.o
gtk_widget_show_all amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_event amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
wxWindow::IsOwnGtkWindow(_GdkDrawable*) amulegui-amule-remote-gui.o
gtk_pixmap_get_type amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_set_usize amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_map amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_widget_add_events amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_menu_item_new amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_style_set_background amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gdk_x11_drawable_get_xdisplay amulegui-gtkplugxembed.o
gtk_widget_get_events amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_type_new amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
g_log amulegui-eggtrayicon.o (symbol belongs to implicit dependency /usr/sfw/lib//libglib-1.2.so.0)
gtk_paint_box amulegui-listctrl.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
g_type_check_class_cast amulegui-gtkplugxembed.o
gtk_widget_draw amulegui-SysTray.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
gtk_style_attach amulegui-gtkplugxembed.o (symbol belongs to implicit dependency /usr/sfw/lib//libgtk-1.2.so.0)
ld: fatal: Symbol referencing errors. No output written to amulegui
collect2: ld returned 1 exit status
make[4]: *** [amulegui] Error 1
make[4]: Leaving directory `/home/aMule-CVS-20051109/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/aMule-CVS-20051109/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/aMule-CVS-20051109/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aMule-CVS-20051109/amule-cvs'
make: *** [all] Error 2
Any ideas ?
Regards
Tany
-
I would really, really advise to use wx 2.6.2 at least.
-
do you have a working aMule on Solaris ?
Whic CVS were you using ? Did you expersiense compliatrion problems ?
Did you have some missing Include files ?
Regards
Tany.
-
I have amule running on my solaris 10 x86 machine, but it's an old amule, have not tried latest CVS versions. It works fine, BTW...
Regards.
-
I'm going to try wx 2.6.2 with GTK set to 1.2...let's see what happenes.
10x
Tany.
-
Well,
Good news !!!
Thanks to your both recommendations i have a running aMule on Solaris 9/Sparc.
The recipiet is
HW:Sparc
OS : Solaris 9
gcc : 3.4.2 or higher (3.2.3 just crashed. Also, one might need to install libiconv 1.8 package, both packages can be found at sunfreeware)
wxWidgets : 2.6.2 (compiled with --with-gtk=1, namely uses the gtk-1.2)
aMule : The latest CVS.
Works like charm
Regards,
Tany.
-
Good :D