This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Build problem(libgcj on linuxppc(R5))
- To: minyard@acm.org
- Subject: Re: Build problem(libgcj on linuxppc(R5))
- From: <jerry@zaphod.mc.vanderbilt.edu>
- Date: Sun, 5 Sep 1999 16:25:11 -0500 (CDT)
- cc: java-discuss@sourceware.cygnus.com
Sure, I will do that.
Meanwhile, I was just going to email you. I applied the patches in your
previous email. Thanks!
Unfortunately, the compilation exited at the same place with almost the
same error message. The extra error display is as follows:
>>>./../boehm-gc/.libs/libgcjgc.so: undefined reference to `__data_start'
This seems to be related to one of the patches (the first one) in your
email (see below). I am hoping that this relation may help you gain some
insight into the nature of my compilation errors. If you do, please let me
know. Thanks again!
**************
diff -ur orig/libgcj-2.95.1/boehm-gc/config.h
libgcj-2.95.1/boehm-gc/config.h
--- orig/libgcj-2.95.1/boehm-gc/config.h Mon Jul 19 15:32:38 1999
+++ libgcj-2.95.1/boehm-gc/config.h Fri Aug 27 11:03:13 1999
@@ -454,9 +454,11 @@
# ifdef LINUX
# define OS_TYPE "LINUX"
# define STACKBOTTOM ((ptr_t)0x80000000)
-# define DATASTART GC_data_start
+ extern int __data_start;
+# define DATASTART (&__data_start)
extern int _end;
# define DATAEND (&_end)
+# define DYNAMIC_LOADING
# endif
# endif
************