[Bug libgcj/30606] [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does not name a type

daney at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 2 23:23:00 GMT 2007



------- Comment #7 from daney at gcc dot gnu dot org  2007-02-02 23:23 -------
(In reply to comment #6)
> Subject: Re:  [4.3 Regression] natVMURLConnection.cc:21: error: 'magic_t' does
> not name a type
> 
> > This is just a random guess, but do you have this patch (gcc/java):
> > 
> > 2007-01-29  Andrew Haley  <aph@redhat.com>
> > 
> >         * class.c (add_method_1): Mark fndecl as external unless we are
> >         compiling it into this object file.
> > 
> > This may affect the latest problem here.
> 
> With the above patch, the problem still exists but it's moved to a
> different file:
> 
> /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file
> gnu/javax/swing
> /text/html/parser/.libs/HTML_401F.o - shared library must be position
> independen
> t. Use +z or +Z to recompile.
>

Please try with revision 121506 or later.  That may fix this problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30606



More information about the Java-prs mailing list