aMule Forum

English => aMule Help => Topic started by: nacho on October 20, 2004, 12:14:56 AM

Title: all-platform? ...sure??
Post by: nacho on October 20, 2004, 12:14:56 AM
aMule claims to support some platforms:  Linux, *BSD platforms, Solaris...

After spent some hours trying to install amule on solaris 9, here are my notes:

- Solaris does not define INADDR_NONE. ( #DEFINE INADDR_NONE (-1)   ?????)
- Solaris does not define RLIMIT_RSS  (RLIMIT_VMEM ???? )
- inet_aton is located in lresolv. ( link against lresolv ??? )
- struct dirent does not have a d_type member,
- and the list goes on...
- and on..
- ...


After spent some hours solving those problems, this is the result:

umask(022)                                      = 077
close(0)                                        = 0
stat64("/export/home/nacho/.lmule", 0xFFBFEBE0) Err#2 ENOENT
stat64("/export/home/nacho/.xMule", 0xFFBFEBE0) Err#2 ENOENT
unlink("/export/home/nacho/.aMule/logfile")     Err#2 ENOENT
time()                                          = 1098216896
brk(0x0082ABE8)                                 = 0
brk(0x0082CBE8)                                 = 0
mkdir("/export/home/nacho/.aMule", 0777)        = 0
    Incurred fault #5, FLTACCESS  %pc = 0x0013B264
      siginfo: SIGBUS BUS_ADRALN addr=0x0082A627
    Received signal #10, SIGBUS [caught]
      siginfo: SIGBUS BUS_ADRALN addr=0x0082A627
sigprocmask(SIG_SETMASK, 0xFFBFD68C, 0x00000000) = 0
sigaction(SIGABRT, 0x00000000, 0xFFBFD520)      = 0
Initialising aMule
write(1, " I n i t i a l i s i n g".., 19)      = 19
sigaction(SIGABRT, 0xFFBFD350, 0xFFBFD470)      = 0
sigprocmask(SIG_SETMASK, 0xFE39A074, 0xFFBFD3D0) = 0
sigprocmask(SIG_SETMASK, 0xFFBFD3BC, 0x00000000) = 0
lwp_kill(1, SIGABRT)                            = 0
    Received signal #6, SIGABRT [default]
      siginfo: SIGABRT pid=7068 uid=1000 code=-1




If amule is "all-platform", I think I need some help...
Title: Re: all-platform? ...sure??
Post by: Kry on October 20, 2004, 12:35:35 AM
That's what you get when you ahve no Solaris testers: Solaris bugs :)


If you come by #amule on irc.freenode.net, we'll track your bugs down, and make a patch for solaris so that it works again :)
Title: Re: all-platform? ...sure??
Post by: lfroen on October 20, 2004, 02:13:24 PM
Quote
mkdir("/export/home/nacho/.aMule", 0777) = 0
Incurred fault #5, FLTACCESS %pc = 0x0013B264
siginfo: SIGBUS BUS_ADRALN addr=0x0082A627
Received signal #10, SIGBUS [caught]
siginfo: SIGBUS BUS_ADRALN addr=0x0082A627
sigprocmask(SIG_SETMASK, 0xFFBFD68C, 0x00000000) = 0
sigaction(SIGABRT, 0x00000000, 0xFFBFD520) = 0
Initialising aMule
write(1, " I n i t i a l i s i n g".., 19) = 19
sigaction(SIGABRT, 0xFFBFD350, 0xFFBFD470) = 0

This doesn't looks like serios bug in code anyway. printf("Initializing" is one of first lines on OnInit. So, unless  SetResourceLimits() doing something very bad - it's problem in wx/gtk.

So you're welcome to go ahead and fix it.
There're not too match users for Solaris - meaning almost no testing (afaik devs doesn't have solaris at home).
Title: Re: all-platform? ...sure??
Post by: skolnick on October 20, 2004, 06:39:15 PM
Hmm...I'm in no way a C++ coder (pretty java experienced, no more than that) _but_ I have solaris up and running on my computer. I could test amule whenever you got a fix for it. Sorry, I would like to produce the patch myself, but...no way.

Regards.
Title: Re: all-platform? ...sure??
Post by: Kry on October 20, 2004, 07:09:34 PM
skolnick, please join #amule at irc.freenode.net and get in tocuh with me.
Title: Re: all-platform? ...sure??
Post by: skolnick on October 21, 2004, 04:13:16 PM
Hmm...never used IRC, and right now I can only use it at home (I'm there from 19:00 GMT-5 on) so I'll try to join, and talk to you.

Regards.

BTW, which client is good for IRC? :P (I've heard bi*chX?)
Title: Re: all-platform? ...sure??
Post by: stefanero on October 21, 2004, 05:15:22 PM
xchat...is pertty easy at least ;)
Title: Re: all-platform? ...sure??
Post by: Kry on October 21, 2004, 06:25:18 PM
Ahyeah, xchat is my choice too.