bug-groff
[Top][All Lists]
Advanced

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

Problems building groff on MIPS Linux


From: Martin Boehme
Subject: Problems building groff on MIPS Linux
Date: Sat, 27 Apr 2002 17:08:43 +0200

Hello,

i tried to build groff 1.17.2 on a SGI Indy (R4600 CPU, 96MB RAM) with
Linux installed (LFS installation)
It seem so, that there is a problem in label.cc or label.y:

./configure --prefix=/usr && make
--
lot of compiling, no errors
--
make[2]: Entering directory `/usr/src/groff-1.17.2/src/preproc/refer'
g++ -I. -I/usr/src/groff-1.17.2/src/preproc/refer
-I/usr/src/groff-1.17.2/src/include -I/usr/src/groff-1.17.2/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_STDLIB_H=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_STRCASECMP=1 -DHAVE_STRNCASECMP=1
-DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_MKSTEMP_PROTO=1
-DSYS_SIGLIST_DECLARED=1  -g -O2  -c command.cc
if test -n ""; then \
  bison -y -v -d label.y; \
else \
  bison -y -v label.y; \
fi
test -f y.tab.h && mv y.tab.h y_tab.h
make[2]: [label.cc] Error 1 (ignored)
test -f y.tab.c && mv y.tab.c y_tab.c
mv y_tab.c label.cc
if test -n ""; then \
  if test -f /usr/src/groff-1.17.2/src/preproc/refer/; then \
    rm -f ; \
    mv y_tab.h /usr/src/groff-1.17.2/src/preproc/refer/; \
  else \
    mv y_tab.h ; \
  fi; \
fi
g++ -I. -I/usr/src/groff-1.17.2/src/preproc/refer
-I/usr/src/groff-1.17.2/src/include -I/usr/src/groff-1.17.2/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_STDLIB_H=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_STRCASECMP=1 -DHAVE_STRNCASECMP=1
-DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_MKSTEMP_PROTO=1
-DSYS_SIGLIST_DECLARED=1  -g -O2  -c label.cc
/usr/share/bison/bison.simple: In function `int yyparse()':
/usr/share/bison/bison.simple:450: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:450: parse error before `=' token
/usr/share/bison/bison.simple:495: `yystacksize' undeclared (first use
this 
   function)
/usr/share/bison/bison.simple:495: (Each undeclared identifier is
reported only 
   once for each function it appears in.)
/usr/share/bison/bison.simple:498: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:498: parse error before `=' token
/usr/share/bison/bison.simple:543: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:543: parse error before `;' token
/usr/share/bison/bison.simple:543: `yysize' undeclared (first use this 
   function)
/usr/share/bison/bison.simple:543: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:543: parse error before `sizeof'
/usr/share/bison/bison.simple:543: `yynewbytes' undeclared (first use
this 
   function)
/usr/share/bison/bison.simple:544: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:544: parse error before `;' token
/usr/share/bison/bison.simple:544: `size_t' undeclared in namespace
`std'
/usr/share/bison/bison.simple:544: parse error before `sizeof'
make[2]: *** [label.o] Error 1
make[2]: Leaving directory `/usr/src/groff-1.17.2/src/preproc/refer'
make[1]: *** [src/preproc/refer] Error 2
make[1]: Leaving directory `/usr/src/groff-1.17.2'
make: *** [all] Error 2

That is on the system installed:
--------------------------------------------------------------------------
root:/usr/src/groff-1.17.2# gcc -v
Reading specs from /usr/lib/gcc-lib/mips-unknown-linux-gnu/3.0.4/specs
Configured with: ../gcc-3.0.4/configure --prefix=/usr --enable-threads :
(reconfigured) ../gcc-3.0.4/configure --prefix=/usr --enable-threads
--enable-languages=c,c++
Thread model: posix
gcc version 3.0.4
--------------------------------------------------------------------------
root:/usr/src/groff-1.17.2# /lib/libc.so.6 
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.0.4.
Compiled on a Linux 2.4.18 system on 2002-04-24.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.9 by Xavier Leroy
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <address@hidden>.
--------------------------------------------------------------------------
root:/usr/src/groff-1.17.2# bison -V
bison (GNU Bison) 1.31

Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation,
Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
--------------------------------------------------------------------------
root:/usr/src/groff-1.17.2# bash --version
GNU bash, version 2.05a.0(1)-release (mips-unknown-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.

Does anyone have a tip?
Thx a lot and sorry for the bad english

marty
-- 
http://www.marty44.net (.de, .com, .org, .tk)




reply via email to

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