bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

groff 1.17 / gcc 2.95.2 / irix 6.5


From: Manuel Oetiker
Subject: groff 1.17 / gcc 2.95.2 / irix 6.5
Date: Thu, 19 Apr 2001 10:51:38 +0200 (MET DST)

Hi

uname -aR       IRIX64 obsidian 6.5 6.5.11m 01101245 IP30
gcc -v          Reading specs from
                
/usr/pack/gcc-2.95.2-to/irix64-6.5/lib/gcc-lib/mips-sgi-irix6.5/2.95.2/specs
                gcc version 2.95.2 19991024 (release)
gmake -v        GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.

I did a normal ./configure , gmake

the compilation breaks:

gmake[2]: Entering directory
`/usr/shiva/home-a/local/groff-1.17/src/preproc/html'
g++ -I. -I/usr/shiva/home-a/local/groff-1.17/src/preproc/html
-I/usr/shiva/home-a/local/groff-1.17/src/include
-I/usr/shiva/home-a/local/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_STRDUP=1  -g -O2
-c pre-html.cc
pre-html.cc: In function `int abs(int)':
pre-html.cc:620: redefinition of `int abs(int)'
/usr/include/stdlib.h:180: `int abs(int)' previously defined here
gmake[2]: *** [pre-html.o] Error 1

-----------------

cat /usr/include/stdlib.h

..
#ifndef _ABS_
#define _ABS_
inline int abs(int x) {return x > 0 ? x : -x;}
#endif
#else
extern int abs(int);
..

------------------

cheers Manuel



--
           __________
_____________  /___(_) Manuel Oetiker >>> System Mgr
_  __ \  _ \  __/_  / Image Group ETZ F84 ETH Zurich
/ /_/ /  __/ /_ _  / tel: +41(0)1-6325302 fax:..1199
\____/\___/\__/ /_/ mail: address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]