Mail Archives: djgpp-workers/2002/11/06/14:36:32
This is a multi-part message in MIME format.
--Boundary_(ID_rOIaxafiCQVVJtEWaFwg5g)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
>When I make, I get the following error:
>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc -B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/ ->B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ ->isystem /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-3.2->src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-3.2-src/libiberty/getpwd.c
>../../../gcc-3.2-src/libiberty/getpwd.c: In function `getpwd':
>../../../gcc-3.2-src/libiberty/getpwd.c:86: `PATH_MAX' undeclared (first use in this function)
>../../../gcc-3.2-src/libiberty/getpwd.c:86: (Each undeclared identifier is reported only once
>../../../gcc-3.2-src/libiberty/getpwd.c:86: for each function it appears in.)
>make[1]: *** [getpwd.o] Error 1
After consulting the gcc.gnu.org website some more, I discovered a
little blerb at the bottom of this page
http://gcc.gnu.org/install/configure.html
which mentions --with-headers=dir
I added
--with-headers=/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include
which corrected the problem with MIN_LONG and PATH_MAX being
undeclared in getpwd.c and fibheap.c
Yay, another hurdle crossed !!! (and there have been lots)
and for the next hurdle...
'make' still terminates with these errors:
In file included from
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/locale_facets.h:63,
from
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/basic_ios.h:41,
from
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/ios:51,
from
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/istream:44,
from
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/fstream:45,
from
../../../../gcc-3.2-src/libstdc++-v3/src/globals.cc:30:
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:46:
`
_U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:47:
`
_L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48:
`
_U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48:
`
_L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:49:
`
_N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50:
`
_X' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50:
`
_N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:51:
`
_S' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:
`
_P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:
`
_U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:
`
_L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:
`
_N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:
`
_B' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:
`
_P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:
`
_U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:
`
_L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:
`
_N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:54:
`
_C' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:55:
`
_P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:
`
_U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:
`
_L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:
`
_N' was not declared in this scope
make[3]: *** [globals.lo] Error 1
make[3]: Leaving directory
`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
What can be done to correct the scope problem?
Any ideas anybody?
Charles
--Boundary_(ID_rOIaxafiCQVVJtEWaFwg5g)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4919.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>>When I make, I get the following
error:</FONT></DIV>
<DIV><FONT face=Arial
size=2>>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc
-B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/
->B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/
-B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ ->isystem
/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -c -DHAVE_CONFIG_H
-g -O2 -I. -I../../../gcc-3.2->src/libiberty/../include -W -Wall
-Wtraditional -pedantic
../../../gcc-3.2-src/libiberty/getpwd.c<BR>>../../../gcc-3.2-src/libiberty/getpwd.c:
In function `getpwd':<BR>>../../../gcc-3.2-src/libiberty/getpwd.c:86:
`PATH_MAX' undeclared (first use in this
function)<BR>>../../../gcc-3.2-src/libiberty/getpwd.c:86: (Each undeclared
identifier is reported only
once<BR>>../../../gcc-3.2-src/libiberty/getpwd.c:86: for each function it
appears in.)<BR>>make[1]: *** [getpwd.o] Error 1</FONT></DIV><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>
<DIV><BR><FONT face=Arial size=2>After consulting the gcc.gnu.org website some
more, I discovered a<BR>little blerb at the bottom of this page<BR><A
href="http://gcc.gnu.org/install/configure.html">http://gcc.gnu.org/install/configure.html</A><BR>which
mentions --with-headers=dir <BR>I
added<BR>--with-headers=/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>which corrected the problem with MIN_LONG and
PATH_MAX being<BR>undeclared in getpwd.c and fibheap.c </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Yay, another hurdle crossed !!! (and there
have been lots)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>and for the next hurdle...<BR>'make' still
terminates with these errors:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>In file included
from<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/locale_facets.h:63,<BR>
from<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/basic_ios.h:41,<BR>
from<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/ios:51,<BR>
from<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/istream:44,<BR>
from<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/fstream:45,<BR>
from<BR>../../../../gcc-3.2-src/libstdc++-v3/src/globals.cc:30:<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:46:<BR>`<BR>
_U' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:47:<BR>`<BR>
_L' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48:<BR>`<BR>
_U' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48:<BR>`<BR>
_L' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:49:<BR>`<BR>
_N' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50:<BR>`<BR>
_X' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50:<BR>`<BR>
_N' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:51:<BR>`<BR>
_S' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:<BR>`<BR>
_P' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:<BR>`<BR>
_U' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:<BR>`<BR>
_L' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:<BR>`<BR>
_N' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52:<BR>`<BR>
_B' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:<BR>`<BR>
_P' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:<BR>`<BR>
_U' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:<BR>`<BR>
_L' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53:<BR>`<BR>
_N' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:54:<BR>`<BR>
_C' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:55:<BR>`<BR>
_P' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:<BR>`<BR>
_U' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:<BR>`<BR>
_L' was not declared in this
scope<BR>/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56:<BR>`<BR>
_N' was not declared in this scope<BR>make[3]: *** [globals.lo] Error
1<BR>make[3]: Leaving
directory<BR>`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/src'<BR>make[2]:
*** [all-recursive] Error 1<BR>make[2]: Leaving
directory<BR>`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'<BR>make[1]:
*** [all-recursive-am] Error 2<BR>make[1]: Leaving
directory<BR>`/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'<BR>make:
*** [all-target-libstdc++-v3] Error 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What can be done to correct the scope
problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any ideas
anybody?<BR>Charles</FONT></DIV></BODY></HTML>
--Boundary_(ID_rOIaxafiCQVVJtEWaFwg5g)--
- Raw text -