aMule Forum

English => Compilation problems => Topic started by: Gaznevada on April 28, 2008, 06:50:40 PM

Title: Compilation on IRIX 6.5 aMule CVS 20080423
Post by: Gaznevada on April 28, 2008, 06:50:40 PM
Prerequisites:

wx 2.8.7 with patched sources (nasty bug in the official release).
libcrypto 5.5.2 with patched sources
perl 5.8.8 (no patches)

aMule: good news! Some patches here and there, but perhaps I'm going
to get through (the stress on "perhaps")

Just a question: "configure" says that IRIX 6.5 has working PRIxNN macros,
which is definitely NOT true (IRIX has no PRIxNN at all!). Please, could anyone of you
take a look on that part of code? Maybe a more robust "conftest.c"?
I have had to patch aMule everywhere a PRIu64 reference was made.

-- Cheers

Gaznevada
Title: Re: Compilation on IRIX 6.5 aMule CVS 20080423
Post by: Gaznevada on May 08, 2008, 10:18:08 AM
amuled: up and running
amuleweb: working fine
amule: working fine

five files to patch, namely

configure
ArchSpecific.h (a #define must be set on to avoid a SIGBUS on runtime)
amuled.cpp (strerror_r missing on IRIX)
php_core_lib.cpp (PRIu64 missing on IRIX)
php_syntree.cpp (ditto)

and a brand new header to write:

Strerror_r.h (emulating strerror_r, not in all UNIX flavors...)

Could a wiki page be useful?

-- Cheers

Gaznevada
Title: Re: Compilation on IRIX 6.5 aMule CVS 20080423
Post by: wuischke on May 08, 2008, 02:03:04 PM
Thanks a lot for your work!

Please give us exact information on the necessary changes so that we can incorporate them. A wiki page could be a way to do so, a patch is OK, too.
Title: Re: Compilation on IRIX 6.5 aMule CVS 20080423
Post by: Gaznevada on May 08, 2008, 05:20:00 PM
Wiki page. I'll send you the link by e-mail. Up to you to decide to
publish it or not.


--cheers

--
Gaznevada
Title: Re: Compilation on IRIX 6.5 aMule CVS 20080423
Post by: Gaznevada on May 09, 2008, 12:20:15 AM
Thanks a lot for your work!

Please give us exact information on the necessary changes so that we can incorporate them. A wiki page could be a way to do so, a patch is OK, too.

E-mail with wiki link sent.

-- Cheers.

-- Gaznevada