gcjh won't build on SunOS 4.1.3 (memmove)java problem

Per Bothner bothner@cygnus.com
Tue Oct 27 18:22:00 GMT 1998


> .../jcf-io.c:60: undefined reference to `memmove'

Oops.  Please try the appended patch.

> Is the copyright problem in the Java front-end fixed already or should 
> I wait until someone at Cygnus fixes it?

I'm not sure which copyright problem you are referring to ...

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/java/Makefile.in,v
retrieving revision 1.14
diff -u -r1.14 Makefile.in
--- Makefile.in	1998/10/22 13:06:51	1.14
+++ Makefile.in	1998/10/28 02:19:00
@@ -203,7 +203,7 @@
 ../jcf-dump$(exeext): jcf-dump.o jcf-io.o jcf-depend.o jcf-path.o \
 		zextract.o
 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ jcf-dump.o jcf-io.o \
-	  jcf-depend.o jcf-path.o zextract.o
+	  jcf-depend.o jcf-path.o zextract.o $(LIBS)
 
 # Dependencies here must be kept in sync with dependencies in Make-lang.in.
 ../jvgenmain$(exeext):  jvgenmain.o mangle.o
@@ -212,7 +212,7 @@
 ../gcjh$(exeext): gjavah.o jcf-io.o jcf-depend.o jcf-path.o \
 		zextract.o
 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ gjavah.o jcf-io.o \
-	  jcf-depend.o jcf-path.o zextract.o
+	  jcf-depend.o jcf-path.o zextract.o $(LIBS)
 
 Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
 	cd ..; $(SHELL) config.status



More information about the Gcc-bugs mailing list