[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Groff doesn't compile on gcc 3.0
From: |
Oren Held |
Subject: |
[Groff] Groff doesn't compile on gcc 3.0 |
Date: |
Tue, 19 Jun 2001 16:00:27 +0300 (IDT) |
Hello!
I've just installed gcc 3.0 in here, and removed my old libstdc++.
Now I'm trying to compile the newest groff, 1.17 but it returns an error.
I haven't compiled it with the older gcc, because it came as a binary with
my distro, but I believe it's because of the changes in gcc..
these are the errors it returns:
-----
c++ -I. -I/home/mar_garina/new/groff-1.17/src/libs/libgroff
-I/home/mar_garina/new/groff-1.17/src/include
-I/home/mar_garina/new/groff-1.17/src/include -DHAVE_STDLIB_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1
-DRET_TYPE_SRAND_IS_VOID=1 -DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1
-DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1
-DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DHAVE_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1
-DHAVE_PUTENV=1
-DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1
-DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1 -g -O2 -c
illegal.cc
In file included from
/home/mar_garina/new/groff-1.17/src/include/lib.h:39,
from illegal.cc:20:
/usr/include/string.h:229: declaration of `char* strerror(int) throw ()'
throws
different exceptions
/home/mar_garina/new/groff-1.17/src/include/lib.h:23: than previous
declaration
`char* strerror(int)'
make[2]: *** [illegal.o] Error 1
make[2]: Leaving directory
`/home/mar_garina/new/groff-1.17/src/libs/libgroff'
make[1]: *** [src/libs/libgroff] Error 2
make[1]: Leaving directory `/home/mar_garina/new/groff-1.17'
make: *** [all] Error 2
-----
I'm using Linux 2.4.5 (SuSE 7.1), i386.. if you need more info from me,
just say.. Thanks in advance!
Cya,
Oren.
- [Groff] Groff doesn't compile on gcc 3.0,
Oren Held <=