aMule Forum

English => aMule Help => Topic started by: ]andi[ on October 23, 2004, 02:30:35 PM

Title: aMule-2.0.0rc7 hates SUN Solaris
Post by: ]andi[ on October 23, 2004, 02:30:35 PM
Hi,
i tried everything but aMule won't compile unde my SUN Solaris 9 x86.
Here are the last make messages:

/usr/local/include/pthread.h:285: conflicting types for `typedef struct pthread_
st*pthread_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:360: previou
s declaration as `typedef uint_t pthread_t'
/usr/local/include/pthread.h:286: conflicting types for `typedef struct pthread_
attr_st*pthread_attr_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:416: previou
s declaration as `typedef struct _pthread_attr pthread_attr_t'
/usr/local/include/pthread.h:287: conflicting types for `typedef int pthread_key
_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:361: previou
s declaration as `typedef uint_t pthread_key_t'
/usr/local/include/pthread.h:288: conflicting types for `typedef int pthread_onc
e_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:437: previou
s declaration as `typedef struct _once pthread_once_t'
/usr/local/include/pthread.h:289: conflicting types for `typedef int pthread_mut
exattr_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:423: previou
s declaration as `typedef struct _pthread_mutexattr pthread_mutexattr_t'
/usr/local/include/pthread.h:290: conflicting types for `typedef struct pthread_
mutex_st*pthread_mutex_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:388: previou
s declaration as `typedef struct _pthread_mutex pthread_mutex_t'
/usr/local/include/pthread.h:291: conflicting types for `typedef int pthread_con
dattr_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:430: previou
s declaration as `typedef struct _pthread_condattr pthread_condattr_t'
/usr/local/include/pthread.h:292: conflicting types for `typedef struct pthread_
cond_st*pthread_cond_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:397: previou
s declaration as `typedef struct _pthread_cond pthread_cond_t'
/usr/local/include/pthread.h:293: conflicting types for `typedef int pthread_rwl
ockattr_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:445: previou
s declaration as `typedef struct _pthread_rwlockattr pthread_rwlockattr_t'
/usr/local/include/pthread.h:294: conflicting types for `typedef struct pthread_
rwlock_st*pthread_rwlock_t'
/usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/include/sys/types.h:409: previou
s declaration as `typedef struct _pthread_rwlock pthread_rwlock_t'
ListenSocket.cpp:113:18: warning: #warning check closing method to change order
and get rid of this
ListenSocket.cpp:823:50: warning: #warning Here should be the IDHybrid, but we d
on't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:829:42: warning: #warning Here should be the IDHybrid, but we d
on't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:882:34: warning: #warning TODO: CHECK MESSAGE FILTERING!
ListenSocket.cpp:1173:42: warning: #warning We need a new ProcessSharedFileList
that can handle dirs. ___UNICODE___
ListenSocket.cpp:1873:34: warning: #warning Xaignar - check this for agressive
make[4]: *** [amule-ListenSocket.o] Error 1
make[4]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.0rc7'
make: *** [all] Error 2

Does anybody have an idea?
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Jacobo221 on October 24, 2004, 04:10:20 PM
there's no Solaris port allthough it is supported. We're just waiting the "Solaris guy" to appear around ;)
So keep an eye hear since any time (we really have NO IDEA when) he might come around with the port ;)
Greetings!
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: skolnick on October 24, 2004, 07:57:25 PM
Hi all!

Here the "solaris guy" reporting. I am currently working on this issue, but have still got no solution (mainly because of lack of time :() but when I have some spare time, I look at this issue, and try to get some solution.

Regards.
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Jacobo221 on October 25, 2004, 01:52:24 AM
:))))))))))))))))
You known we are LOOKING FORWASRD to hearing form you ;)
Take your time, RL goes first hehe
Greetigns!
Title: re
Post by: ]andi[ on October 26, 2004, 08:36:29 PM
Hi Guys,
i now managed to get the pthread problems away. However i now have another problem when compiling:

CFile.cpp: In member function `wxString CDirIterator::FindNextFile()':
CFile.cpp:626: error: 'struct dirent' has no member named 'd_type'
CFile.cpp:627: error: `DT_DIR' undeclared (first use this function)
CFile.cpp:627: error: (Each undeclared identifier is reported only once for each function it appears in.)
CFile.cpp:634: error: `DT_REG' undeclared (first use this function)
make[4]: *** [amule-CFile.o] Error 1
make[4]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-2.0.0rc7'
make: *** [all] Error 2

Any idea?
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Kry on October 26, 2004, 09:18:59 PM
Will be fixed in the next hours and commited.
Title: re
Post by: ]andi[ on October 26, 2004, 09:31:35 PM
Hey, that was REALLY fast. You guys are doing great work. Keep on that way :)

Greets from Bavaria
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Kry on October 29, 2004, 09:40:34 PM
It's fixed, btw (and thanks)
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: skolnick on October 31, 2004, 05:36:29 PM
Hi there!

Here I am, with some free time! I'll be installing right now the latest beta of solaris (10b69), and then I'll install my compiler, the libraries, and start to work. I'll see if I can get aMule to compile, and if not, at least have some nice errors for you to fix them.

Regards.
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Kry on October 31, 2004, 09:00:49 PM
Nice :D There's a coder on #amule, paipai, already working on solaris, you might want to join his efforts and debug it :)
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: ]andi[ on November 02, 2004, 01:20:57 AM
Hi again,
I'm afraid but I'm getting still the same error messages. I tried it with the 26/10/2004 version. What also confuses me are these messages:

ListenSocket.cpp:113:18: warning: #warning check closing method to change order and get rid of this
ListenSocket.cpp:823:50: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:829:42: warning: #warning Here should be the IDHybrid, but we don't use it yet and I'm afraid it will break a lot ;)
ListenSocket.cpp:882:34: warning: #warning TODO: CHECK MESSAGE FILTERING!
ListenSocket.cpp:1173:42: warning: #warning We need a new ProcessSharedFileList that can handle dirs. ___UNICODE___
ListenSocket.cpp:1873:34: warning: #warning Xaignar - check this for agressive

Could that be the reason for the other errors???
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: deltaHF on November 02, 2004, 02:31:14 AM
nope, its not the reason.
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Jacobo221 on November 02, 2004, 10:02:47 AM
those are warnings coded by the devs into the code to remibnd things in the future. They are no errors
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: skolnick on November 07, 2004, 09:39:58 PM
OK, so I tried to compile again on solaris 10b69. I downloades wxGTK 2.5.3 source code, compiled with no gtk2, and no unicode. Everything went fine (or so i thought) but on configuring aMule, it complained it could not find wxGTK. It seems the wx-config script was created wrong, and produces some error about unexpected ; (in a for..go figure) and changing the interpreter (from #!/bin/sh to #!/usr/bin/bash) solved it, but then it complained about no installation of wxGTK found (this time was wx-config the complaining one, not amule configure). I'm out of ideas. I'll try to get pre-compiled packages somewhere to try to compile amule finally on solaris.

Regards, and any light on the problem, is welcome.
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: ]andi[ on December 22, 2004, 04:27:55 PM
Hi,
I was so enthusiastic about the new rc8 build but I still have the same problem :(
No Christmas present for me :(

CFile.cpp: In member function `wxString CDirIterator::FindNextFile()':
CFile.cpp:636: error: 'struct dirent' has no member named 'd_type'
CFile.cpp:637: error: `DT_DIR' undeclared (first use this function)
CFile.cpp:637: error: (Each undeclared identifier is reported only once for each function it appears in.)
CFile.cpp:644: error: `DT_REG' undeclared (first use this function)
gmake[4]: *** [amule-CFile.o] Error 1
gmake[4]: Leaving directory `/root/aMule-2.0.0rc8/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/root/aMule-2.0.0rc8/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/aMule-2.0.0rc8/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/aMule-2.0.0rc8'
gmake: *** [all] Error 2

Doesn't anybody have an idea?

Greets,
André
Title: Re: aMule-2.0.0rc7 hates SUN Solaris
Post by: Kry on December 22, 2004, 05:03:54 PM
Hey, great, I forgot to fix that for solaris.