We're back! (IN POG FORM)
Index: src/amule.cpp===================================================================RCS file: /cvsroot/amule/amule-cvs/src/amule.cpp,vretrieving revision 1.26diff -u -r1.26 amule.cpp--- src/amule.cpp 30 Dec 2003 17:57:50 -0000 1.26+++ src/amule.cpp 3 Jan 2004 12:20:43 -0000@@ -88,8 +88,10 @@ UnlimitResource(RLIMIT_DATA); UnlimitResource(RLIMIT_FSIZE); UnlimitResource(RLIMIT_NOFILE);+#ifdef RLIMIT_RSS UnlimitResource(RLIMIT_RSS); #endif+#endif } // IPC classes@@ -182,11 +184,12 @@ /* We need to fix locale... */ //export LANG=C && export LC_ALL=en_EN && export LANG=en_EN && export LC_MESSAGES=C && amule +#ifdef HAVE_SETENV setenv("LANG","C",1); setenv("LC_ALL","en_EN",1); setenv("LANG","en_EN",1); setenv("LC_MESSAGES","C",1);-+#endif /* ... and remove above shit */ SetResourceLimits();Index: src/amule.h===================================================================RCS file: /cvsroot/amule/amule-cvs/src/amule.h,vretrieving revision 1.10diff -u -r1.10 amule.h--- src/amule.h 30 Dec 2003 05:31:32 -0000 1.10+++ src/amule.h 3 Jan 2004 12:20:43 -0000@@ -46,6 +46,14 @@ #include "ExternalConn.h" //#include +/*+ * INADDR_BROADCAST is identical to INADDR_NONE which is not defined+ * on all systems. INADDR_BROADCAST should be fine to indicate an error.+ */+#ifndef INADDR_NONE+#define INADDR_NONE INADDR_BROADCAST+#endif+ //extern CamuleApp theApp; #define theApp (*((CamuleApp*)wxTheApp)) #define G_BLEND(a,b) ( ((int)a*b)/100>255?255:((int)a*b)/100 )
Youm > Hi DeltaHF,> > In addition to the patches suggested by Wimms (amule.cpp & amule.h),> SIOCGIFADDR could not be found by compiler under Solaris2.8, so I had to> tell him where to get it, in SysTray.cpp I added :> <<> #ifndef SIOCGIFADDR> #include > #endif> >>> at the beginning (File is attached).> > > At the final linking stage, I had to manually add to the command :> -L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk -lgdk -lgmodule> -lglib -ldl -lXext -lX11 -lsocket -lnsl -lm -lresolv> > or else g++ couldn't find the objects (mainly libgtk, but not only)> > I'll try to be as verbose as possible in the post.> > Thanks again for your assistance !> > Enjoy the evening,> > Youm