public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/26709]  New: Compile of gcc 3.3.6 failed
@ 2006-03-16  9:30 Sven dot Rebhan at gmail dot com
  2006-03-16 10:50 ` [Bug other/26709] " rguenth at gcc dot gnu dot org
  2006-03-16 11:45 ` Sven dot Rebhan at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: Sven dot Rebhan at gmail dot com @ 2006-03-16  9:30 UTC (permalink / raw)
  To: gcc-bugs

I am unable to compile gcc 3.3.6 downloaded from mirror ftp.gwdg.de.
./configure && make -j2 triggers the following errors:

f/com.c: At top level:
f/com.c:11080: error: conflicting types for ?ffecom_gfrt_basictype?
f/com.h:236: error: previous declaration of ?ffecom_gfrt_basictype? was here

This seems to be an trivial typo, I fixed it with:
--- gcc-3.3.6/gcc/f/com.h       2003-03-22 16:24:51.000000000 +0100
+++ gcc-3.3.6-fix/gcc/f/com.h   2006-03-15 18:23:29.000000000 +0100
@@ -233,7 +233,7 @@
 void ffecom_finish_progunit (void);
 tree ffecom_get_invented_identifier (const char *pattern, ...)
   ATTRIBUTE_PRINTF_1;
-ffeinfoKindtype ffecom_gfrt_basictype (ffecomGfrt ix);
+ffeinfoBasictype ffecom_gfrt_basictype (ffecomGfrt ix);
 ffeinfoKindtype ffecom_gfrt_kindtype (ffecomGfrt ix);
 void ffecom_init_0 (void);
 void ffecom_init_2 (void);

The second error is in the java directory:
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes    -DHAVE_CONFIG_H    -I. -Ijava -I. -I./java -I./config
-I./../include java/gjavah.c -o java/gjavah.o
java/gjavah.c:49: error: static declaration of ?flag_jni? follows
non-staticdeclaration
java/java-tree.h:170: error: previous declaration of ?flag_jni? was here

Here I don't know if the fix below is correct. At least it fixes the compile
problem... ;-)

--- gcc-3.3.6/gcc/java/gjavah.c 2003-03-28 23:18:48.000000000 +0100
+++ gcc-3.3.6-fix/gcc/java/gjavah.c     2006-03-15 18:29:42.000000000 +0100
@@ -46,7 +46,7 @@
 static int found_error = 0;

 /* Nonzero if we're generating JNI output.  */
-static int flag_jni = 0;
+int flag_jni = 0;

 /* When nonzero, warn when source file is newer than matching class
    file.  */

I hope this helps!? Please be patient with me, because this is my first bug
report and fix so far.


-- 
           Summary: Compile of gcc 3.3.6 failed
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Sven dot Rebhan at gmail dot com
  GCC host triplet: x86, SuSE Linux 10.0, gcc 4.0.2 (SuSE version)
GCC target triplet: i586-suse-linux


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/26709] Compile of gcc 3.3.6 failed
  2006-03-16  9:30 [Bug other/26709] New: Compile of gcc 3.3.6 failed Sven dot Rebhan at gmail dot com
@ 2006-03-16 10:50 ` rguenth at gcc dot gnu dot org
  2006-03-16 11:45 ` Sven dot Rebhan at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-16 10:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-03-16 10:50 -------
Unfortunately you are late and both the 3.3 and the 3.4 series have been
dicontinued ;)  So, this is at least fixed in 4.0.0.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug other/26709] Compile of gcc 3.3.6 failed
  2006-03-16  9:30 [Bug other/26709] New: Compile of gcc 3.3.6 failed Sven dot Rebhan at gmail dot com
  2006-03-16 10:50 ` [Bug other/26709] " rguenth at gcc dot gnu dot org
@ 2006-03-16 11:45 ` Sven dot Rebhan at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: Sven dot Rebhan at gmail dot com @ 2006-03-16 11:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from Sven dot Rebhan at gmail dot com  2006-03-16 11:44 -------
I know that i am to late, but I (and probably others) depend on this special
version (for policy reasons), so I wanted to share my knowledge with others. :)

EOT


-- 


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-16 11:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16  9:30 [Bug other/26709] New: Compile of gcc 3.3.6 failed Sven dot Rebhan at gmail dot com
2006-03-16 10:50 ` [Bug other/26709] " rguenth at gcc dot gnu dot org
2006-03-16 11:45 ` Sven dot Rebhan at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).