Date: Wed, 06 Nov 2002 14:36:07 -0500 From: 2boxers <2boxers AT comcast DOT net> Subject: Re: problems making linux build/host for target msdosdjgpp To: djgpp-workers AT delorie DOT com, djgpp AT delorie DOT com, DJ Delorie Message-id: <00c401c285cb$c07f2ad0$021ca8c0@helm> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Content-type: multipart/alternative; boundary="Boundary_(ID_rOIaxafiCQVVJtEWaFwg5g)" X-Priority: 3 X-MSMail-priority: Normal Reply-To: djgpp-workers AT delorie DOT com 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
>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)--