This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libjava (3.3) does not build on alpha-dec-osf5.1 (+ FIX)


Hello,

Libjava from gcc 3.3 does not build on alpha-dec-osf5.1.  In fact, it did
not build since 3.1 or so, nor does it on alpha-dec-osf4.0g.

Compilation ends with:

include/java-threads.h: In function `_Jv_ThreadId_t _Jv_ThreadSelf()':
include/java-threads.h:260: `PAL_rduniq' undeclared (first use this function)

Solution is the following patch to .../libjava/include

--- java-threads.h.orig 2003-05-16 14:16:43.000000000 +0200
+++ java-threads.h      2003-05-16 14:19:22.000000000 +0200
@@ -247,6 +247,8 @@
 #ifdef __FreeBSD__
 #include <machine/pal.h>
 #define PAL_rduniq PAL_rdunique
+#elif defined __osf__
+#include <machine/pal.h>
 #else
 #include <asm/pal.h>
 #endif

Greetings, Bert.

-- 
-------------- eMail Bert.Deknuydt@esat.kuleuven.ac.be ---------------
B.DeKnuydt, PSI-KULeuven                            Tel. +32-16-321880
Kasteelpark Arenberg 10          /|    | ||
B-3001 Leuven-Heverlee        _,_)|  4_|_||
FLANDERS, BELGIUM            / .                    Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
        Cursed be man! How ungrateful is he! Qur'An 80, 17


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]