Hi Dan.  Thanks very much for your reply.

--- Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 3/6/07, Dave Klingler <[EMAIL PROTECTED]> wrote:
> >
> > Continuing, I expected to be able to skip ahead to
> > Chapter 6.7, the installation of Linux standard
> > headers.  When I started compiling glibc-2.3.6,
> > though, the build crapped out during the linking
> stage
> > and I discovered that configure had somehow missed
> > types.h, stdlib.h, stat.h, etc.  Going back to the
> > Kurobox I discovered that the same thing happened
> if I
> > attempted a build of glibc-2.3.6 using
> --prefix=/usr
> > on that box tool.  Everything goes fine if I use
> > --prefix=/tools.  The relevant files are all
> sitting
> > in /usr/lib/sys, right where they're supposed to
> be,
> 
> I'm not sure why you think you can skip to Ch. 6.7.
> One of the
> essential pieces of building glibc is getting the
> kernel headers in
> place. 

What I did was build a toolchain in /tools on the
build machine (a 603-based Kurobox) by following
Chapter 5 up through 5.12.  I then tarred up the
toolchain and popped it over on to the target machine,
where I detarred it.  After that, since it's the
working native toolchain I'm after I went on to 6.7.

6.7 is the installation of the kernel headers, if I'm
not misunderstanding your objection.  I then proceeded
to 6.8, the installation of the man pages, and then on
to 6.9, the installation of glibc.

> And our gcc is not going to look in
> /usr/lib/sys. The default
> is to look in /usr/include/sys, where the headers
> are supposed to be.
> But, it'd help to see specific errors.

Sorry about that; I meant to type "/usr/include/sys". 
The headers were installed correctly and are where
they should be:

===========
/usr/include/sys $ cd /usr/include
/usr/include $ ls stdlib.h string.h memory.h strings.h
inittypes.h stdint.h
ls: inittypes.h: No such file or directory
memory.h   stdint.h   stdlib.h   string.h   strings.h
/usr/include/sys $ ls sys/types.h sys/stat.h
sys/stat.h   sys/types.h
/usr/include $
===========

> Also, it's kind of hard to understand what you're
> doing if you're
> jumping around. Are you following the LFS build
> style? I.e., building
> into a separate directory and then chrooting to it
> for the final
> system? If you're just trying to install over the
> top of an existing
> system, then I can't say that satisfaction will be
> guaranteed.

*laugh* Oh, that's okay. I wasn't expecting a
guarantee.  The original system was built using
gcc-3.4.1 and linux 2.6.12, so I've already created a
little bit of extra work for myself, but I wanted to
stay at least somewhat close to the versions you were
using in LFS6.2.

I'm not doing any chrooting, just popping /tools over
in the hopes that I can get the temporary toolchain
working on the new machine.  I've been working on my
cross-compiler in another couple of windows
occasionally, given that I would eventually like to
get distcc working on faster 6x86 machines to help the
little embedded machine out.  I will go and check out
CLFS at some point if/when I decide to bring up a
from-scratch boot disk.

Regarding headers, just to verify stddef.h, for
purposes that will become clear in a moment:

===============
/tools $ find /tools -name stddef.h
/tools/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/install-tools/include/stddef.h
/tools/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/include/stddef.h
/tools/include/linux/stddef.h

/tools $ find /usr -name stddef.h
/usr/include/linux/stddef.h

================

Just as a sanity check, I did something I thought that
I had already done: compile ncurses.  Evidently my
problem isn't where I thought it was.  This is what I
got (highly similar to what I get when I try to build
glibc-2.3.6):

~ $ cd ncurses-5.6/
~/ncurses-5.6 $ ./configure --prefix=/tools
--with-shared --without-debug --without-ada
--enable-overwrite
checking for egrep... grep -E
Configuring NCURSES 5.6 ABI 5 (Thu Mar  8 04:07:15 UTC
2007)
checking build system type...
powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking target system type...
powerpc-unknown-linux-gnu
Configuring for linux-gnu
checking for prefix... /tools
checking for gcc... /tools/bin/gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler...
yes
checking whether /tools/bin/gcc accepts -g... yes
checking version of /tools/bin/gcc... 4.1.2
checking how to run the C preprocessor...
/tools/bin/gcc -E
checking whether /tools/bin/gcc needs -traditional...
no
checking whether /tools/bin/gcc understands -c and -o
together... yes
checking for POSIXized ISC... no
checking for /tools/bin/gcc option to accept ANSI C...
-DCC_HAS_PROTOS
checking for ldconfig... /sbin/ldconfig
checking if you want to ensure bool is consistent with
C++... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler...
no
checking whether g++ accepts -g... no
checking for g++... /usr/bin/g++
checking if you want to build C++ binding and demo...
yes
checking if you want to build with Ada95... no
checking if you want to build programs such as tic...
yes
checking if you wish to install curses.h... yes
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking for egrep... (cached) grep -E
checking for a BSD compatible install...
/usr/bin/install -c
checking for tdlint... no
checking for lint... no
checking for alint... no
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking if filesystem supports mixed-case
filenames... yes
checking for ctags... no
checking for etags... no
checking for makeflags variable...
checking for long file names... yes
checking if filesystem supports mixed-case
filenames... (cached) yes
checking for ranlib... /tools/bin/ranlib
checking for ld... /tools/bin/ld
checking for ar... ar
checking for archiver options (symbol AR_OPTS)... rv
checking if you have specified an install-prefix...
checking if you want to build libraries with
libtool... no
checking if you want to build shared libraries... yes
checking if you want to build static libraries... yes
checking if you want to build debug libraries... no
checking if you want to build profiling libraries...
no
checking for specified models...  shared normal
checking for default model... shared
checking if you want to build a separate terminfo
library... no
checking if you want to link with the GPM mouse
library... maybe
checking for gpm.h... no
checking for default loader flags...
checking if rpath option should be used... no
checking if release/abi version should be used for
shared libs... auto
checking which /tools/bin/gcc option to use... -fPIC
checking if you wish to install ncurses overwriting
curses... yes
checking if external terminfo-database is used... yes
checking which terminfo source-file will be
installed... ${top_srcdir}/misc/terminfo.src
checking whether to use hashed database instead of
directory/tree... no
checking for list of fallback descriptions...
checking if you want modern xterm or antique...
xterm-new
checking for list of terminfo directories...
/tools/share/terminfo
checking for default terminfo directory...
/tools/share/terminfo
checking if big-core option selected... yes
checking if you want termcap-fallback support... no
checking if ~/.terminfo is wanted... yes
checking if you want to use restricted environment
when running as root... yes
checking for remove... yes
checking for unlink... yes
checking if link/symlink functions work...  link
symlink
checking if tic should use symbolic links... no
checking if tic should use hard links... yes
checking if you want broken-linker support code... no
checking if tputs should process BSD-style prefix
padding... no
checking if /tools/bin/gcc -U and -D options work
together... yes
checking if we must define _GNU_SOURCE... yes
checking if SIGWINCH is defined... yes
checking for nl_langinfo and CODESET... yes
checking if you want wide-character code... no
checking whether to enable _LP64 definition in
curses.h... no
checking for special C compiler options needed for
large files... no
checking for _FILE_OFFSET_BITS value needed for large
files... 64
checking for _LARGE_FILES value needed for large
files... no
checking for _LARGEFILE_SOURCE value needed for large
files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking if you want tparm not to use X/Open
fixed-parameter list... yes
checking for type of bool... auto
checking for alternate terminal capabilities file...
Caps
checking for type of chtype... auto
checking for type of ospeed... short
checking for type of mmask_t... auto
checking if RCS identifiers should be compiled-in...
no
checking format of man-pages...  normal
checking for manpage renaming... no
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes
checking for manpage tbl... no
checking if you want to build with function
extensions... yes
checking for extended use of const keyword... no
checking if you want $NCURSES_NO_PADDING code... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for signed char... yes
checking size of signed char... 1
checking if you want to use signed Boolean array in
term.h... no
checking if you want SIGWINCH handler... yes
checking if you want user-definable terminal
capabilities like termcap... yes
checking if you want all development code... no
checking if you want hard-tabs code... no
checking if you want limited support for xmc... no
checking if you do not want to assume colors are
white-on-black... yes
checking if you want hashmap scrolling-optimization
code... yes
checking if you want colorfgbg code... no
checking if you want to use experimental extended
colors... no
checking if you want to use experimental extended
mouse encoding... no
checking if you want experimental safe-sprintf code...
no
checking if you want experimental wgetch-events
code... no
checking if you want to display full commands during
build... yes
checking if you want to see compiler warnings...
configure: checking for /tools/bin/gcc __attribute__
directives...
... scanf
... printf
... unused
... noreturn
checking if you want to enable runtime assertions...
no
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing...
no
checking whether to add trace feature to all models...
no
checking for gettimeofday... yes
checking if -lm needed for math functions... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be
included... yes
checking for regular-expression headers... regex.h
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for poll.h... yes
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for ttyent.h... yes
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking if sys/time.h works with sys/select.h... yes
checking for /tools/bin/gcc option to accept ANSI C...
none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for type of chtype... long
checking if unsigned literals are legal... yes
checking if external errno is declared... yes
checking if external errno exists... no
checking if data-only library module links... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getttynam... yes
checking for issetugid... no
checking for poll... yes
checking for remove... (cached) yes
checking for select... yes
checking for setbuf... yes
checking for setbuffer... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... yes
checking for strdup... yes
checking for strstr... yes
checking for tcgetpgrp... yes
checking for times... yes
checking for vsnprintf... yes
checking for isascii... yes
checking whether sigaction needs _POSIX_SOURCE... no
checking if nanosleep really works... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking for tcgetattr... yes
checking for vsscanf function or workaround... vsscanf
checking for working mkstemp... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for type sigaction_t... no
checking declaration of size-change... yes
checking for memmove... yes
checking if poll really works... yes
checking if we should include stdbool.h... yes
checking for builtin bool type... no
checking whether /usr/bin/g++ understands -c and -o
together... no
checking how to run the C++ preprocessor...
/usr/bin/g++ -E
checking for typeinfo... no
checking if we should include stdbool.h... (cached)
yes
checking for builtin bool type... no
checking for size of bool... unknown
configure: WARNING: Assuming unsigned for type of bool
checking for special defines needed for etip.h... none
checking if /usr/bin/g++ accepts parameter
initialization... no
checking if /usr/bin/g++ accepts static_cast... no
checking for strstream.h... no
checking if /usr/bin/g++ supports vscan function... no
checking for library subsets...
termlib+ext_tinfo+base+ext_funcs
checking default library suffix...
checking default library-dependency suffix... .so
checking default object directory... obj_s
checking c++ library-dependency suffix... .a
checking where we will install curses.h...
${prefix}/include
checking for src modules... ncurses progs tack panel
menu form
configure: creating ./config.status
config.status: creating include/MKterm.h.awk
config.status: creating include/curses.head
config.status: creating include/termcap.h
config.status: creating include/unctrl.h
config.status: creating man/Makefile
config.status: creating include/Makefile
config.status: creating ncurses/Makefile
config.status: creating progs/Makefile
config.status: creating tack/Makefile
config.status: creating panel/Makefile
config.status: creating menu/Makefile
config.status: creating form/Makefile
config.status: creating test/Makefile
config.status: creating misc/Makefile
config.status: creating c++/Makefile
config.status: creating misc/run_tic.sh
config.status: creating misc/ncurses-config
config.status: creating Makefile
config.status: creating include/ncurses_cfg.h
Appending rules for shared model (ncurses:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (ncurses:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (progs:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (progs:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (tack:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (tack:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (panel:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (panel:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (menu:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (menu:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (form:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (form:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (test:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (test:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (c++:
termlib+ext_tinfo+base+ext_funcs)
Appending rules for normal model (c++:
termlib+ext_tinfo+base+ext_funcs)
creating headers.sh

** Configuration summary for NCURSES 5.6 20061217:

     extended funcs: yes
     xterm terminfo: xterm-new

      bin directory: /tools/bin
      lib directory: /tools/lib
  include directory: /tools/include
      man directory: /tools/man
 terminfo directory: /tools/share/terminfo

~/ncurses-5.6 $ make
<snip>
...
make[1]: Leaving directory
`/home/davek/ncurses-5.6/misc'
cd c++ && make DESTDIR="" all
make[1]: Entering directory
`/home/davek/ncurses-5.6/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from
../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_STRSTREAM_H 0
... HAVE_TYPEINFO 0
... HAVE_VALUES_H 0
... USE_STRSTREAM_VSCAN 0
... USE_STRSTREAM_VSCAN_CAST 0
cd ../obj_s;  /usr/bin/g++ -I../c++ -I../include -I.
-DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE
-DNDEBUG -I/tools/include  -fPIC -c ../c++/cursesf.cc
In file included from ../c++/internal.h:50,
                 from ../c++/cursesf.cc:34:
/tools/include/string.h:33:20: stddef.h: No such file
or directory
In file included from ../c++/internal.h:50,
                 from ../c++/cursesf.cc:34:
/tools/include/string.h:39: error: `size_t' has not
been declared
/tools/include/string.h:40: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:43: error: `size_t' has not
been declared
/tools/include/string.h:44: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:52: error: `size_t' has not
been declared
/tools/include/string.h:53: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:59: error: `size_t' has not
been declared
/tools/include/string.h:59: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:62: error: `size_t' has not
been declared
/tools/include/string.h:63: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:66: error: `size_t' has not
been declared
/tools/include/string.h:67: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:77: error: `size_t' has not
been declared
/tools/include/string.h:78: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:88: error: `size_t' has not
been declared
/tools/include/string.h:89: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:96: error: `size_t' has not
been declared
/tools/include/string.h:96: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:102: error: `size_t' has not
been declared
/tools/include/string.h:103: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:109: error: `size_t' does not
name a type
In file included from ../c++/internal.h:50,
                 from ../c++/cursesf.cc:34:
/tools/include/string.h:124: error: `size_t' does not
name a type
/tools/include/string.h:138: error: `size_t' has not
been declared
/tools/include/string.h:139: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:184: error: `size_t' does not
name a type
/tools/include/string.h:188: error: `size_t' does not
name a type
/tools/include/string.h:225: error: `size_t' has not
been declared
/tools/include/string.h:226: error: `size_t' has not
been declared
/tools/include/string.h:227: error: ISO C++ forbids
declaration of `__haystacklen' with no type
/tools/include/string.h:227: error: ISO C++ forbids
declaration of `__needlelen' with no type
/tools/include/string.h:232: error: `size_t' has not
been declared
/tools/include/string.h:233: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:235: error: `size_t' has not
been declared
/tools/include/string.h:236: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:242: error: `size_t' does not
name a type
/tools/include/string.h:249: error: `size_t' does not
name a type
/tools/include/string.h:281: error: `size_t' has not
been declared
/tools/include/string.h:282: error: ISO C++ forbids
declaration of `__buflen' with no type
/tools/include/string.h:288: error: `size_t' has not
been declared
/tools/include/string.h:288: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:292: error: `size_t' has not
been declared
/tools/include/string.h:293: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:296: error: `size_t' has not
been declared
/tools/include/string.h:296: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:299: error: `size_t' has not
been declared
/tools/include/string.h:300: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:329: error: `size_t' has not
been declared
/tools/include/string.h:330: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:341: error: `size_t' has not
been declared
/tools/include/string.h:342: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:370: error: `size_t' has not
been declared
/tools/include/string.h:371: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:373: error: `size_t' has not
been declared
/tools/include/string.h:374: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/string.h:380: error: `size_t' has not
been declared
/tools/include/string.h:380: error: ISO C++ forbids
declaration of `__n' with no type
In file included from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
../c++/cursesw.h:35:20: stdarg.h: No such file or
directory
In file included from /tools/include/_G_config.h:44,
                 from /tools/include/libio.h:32,
                 from /tools/include/stdio.h:72,
                 from ../c++/cursesw.h:36,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
/tools/include/gconv.h:72: error: `size_t' has not
been declared
/tools/include/gconv.h:72: error: ISO C++ forbids
declaration of `parameter' with no type
/tools/include/gconv.h:88: error: `size_t' has not
been declared
/tools/include/gconv.h:88: error: ISO C++ forbids
declaration of `parameter' with no type
/tools/include/gconv.h:97: error: `size_t' has not
been declared
/tools/include/gconv.h:97: error: ISO C++ forbids
declaration of `parameter' with no type
/tools/include/gconv.h:174: error: `size_t' does not
name a type
In file included from /tools/include/stdio.h:72,
                 from ../c++/cursesw.h:36,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
/tools/include/libio.h:354: error: `size_t' has not
been declared
/tools/include/libio.h:354: error: ISO C++ forbids
declaration of `__nbytes' with no type
/tools/include/libio.h:363: error: `size_t' has not
been declared
/tools/include/libio.h:363: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/libio.h:475: error: `__gnuc_va_list'
has not been declared
/tools/include/libio.h:475: error: ISO C++ forbids
declaration of `parameter' with no type
/tools/include/libio.h:477: error: `__gnuc_va_list'
has not been declared
/tools/include/libio.h:477: error: ISO C++ forbids
declaration of `parameter' with no type
/tools/include/libio.h:479: error: `size_t' does not
name a type
In file included from ../c++/cursesw.h:36,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
/tools/include/stdio.h:77: error: `__gnuc_va_list'
does not name a type
In file included from ../c++/cursesw.h:36,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
/tools/include/stdio.h:284: error: `size_t' has not
been declared
/tools/include/stdio.h:284: error: ISO C++ forbids
declaration of `__len' with no type
/tools/include/stdio.h:290: error: `size_t' has not
been declared
/tools/include/stdio.h:290: error: ISO C++ forbids
declaration of `__sizeloc' with no type
/tools/include/stdio.h:302: error: `size_t' has not
been declared
/tools/include/stdio.h:302: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/stdio.h:309: error: `size_t' has not
been declared
/tools/include/stdio.h:309: error: ISO C++ forbids
declaration of `__size' with no type
/tools/include/stdio.h:337: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:337: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:342: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:342: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:345: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:345: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:351: error: `size_t' has not
been declared
/tools/include/stdio.h:353: error: ISO C++ forbids
declaration of `__maxlen' with no type
/tools/include/stdio.h:355: error: `size_t' has not
been declared
/tools/include/stdio.h:356: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:357: error: ISO C++ forbids
declaration of `__maxlen' with no type
/tools/include/stdio.h:357: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:365: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:366: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:381: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:382: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:412: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:413: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:419: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:420: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:424: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:425: error: ISO C++ forbids
declaration of `__arg' with no type
/tools/include/stdio.h:560: error: `size_t' has not
been declared
/tools/include/stdio.h:561: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/stdio.h:563: error: `size_t' has not
been declared
/tools/include/stdio.h:564: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/stdio.h:573: error: `size_t' has not
been declared
/tools/include/stdio.h:574: error: ISO C++ forbids
declaration of `__n' with no type
/tools/include/stdio.h:603: error: `size_t' does not
name a type
/tools/include/stdio.h:609: error: `size_t' does not
name a type
/tools/include/stdio.h:631: error: `size_t' does not
name a type
/tools/include/stdio.h:633: error: `size_t' does not
name a type
In file included from ../c++/cursesw.h:36,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
/tools/include/stdio.h:798: error: `__gnuc_va_list'
has not been declared
/tools/include/stdio.h:799: error: ISO C++ forbids
declaration of `__args' with no type
In file included from ../c++/cursesw.h:45,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
../include/curses.h:168:21: stdbool.h: No such file or
directory
In file included from ../c++/cursesw.h:45,
                 from ../c++/cursesp.h:39,
                 from ../c++/cursesf.h:39,
                 from ../c++/cursesf.cc:35:
../include/curses.h:758: error: `va_list' has not been
declared
../include/curses.h:758: error: ISO C++ forbids
declaration of `parameter' with no type
../include/curses.h:759: error: `va_list' has not been
declared
../include/curses.h:759: error: ISO C++ forbids
declaration of `parameter' with no type
../include/curses.h:760: error: `va_list' has not been
declared
../include/curses.h:760: error: ISO C++ forbids
declaration of `parameter' with no type
../include/curses.h:761: error: `va_list' has not been
declared
../include/curses.h:761: error: ISO C++ forbids
declaration of `parameter' with no type
In file included from ../c++/cursesf.h:46,
                 from ../c++/cursesf.cc:35:
../include/form.h:118: error: expected `;' before '('
token
../include/form.h:299: error: expected `,' or `...'
before '(' token
In file included from ../c++/cursesf.cc:35:
../c++/cursesf.h: In member function `void
Regular_Expression_Field::copy_regex(const char*)':
../c++/cursesf.h:800: error: `::strlen' has not been
declared
../c++/cursesf.h: At global scope:
../c++/cursesf.h:888: error: `va_list' was not
declared in this scope
../c++/cursesf.h:888: error: expected
primary-expression before ')' token
../c++/cursesf.h:909: error: `_nc_xx_fld_makearg' is
neither function nor member function; cannot be
declared friend
../c++/cursesf.h:909: error: expected `;' before '('
token
../c++/cursesf.cc:393: error: redefinition of
`void*_nc_xx_fld_makearg'
../c++/cursesf.h:888: error: `void*_nc_xx_fld_makearg'
previously defined here
../c++/cursesf.cc:393: error: `va_list' was not
declared in this scope
../c++/cursesf.cc:393: error: `va' was not declared in
this scope
../c++/cursesf.cc:394: error: expected `,' or `;'
before '{' token
../c++/cursesf.cc: In constructor
`UDF_Init::UDF_Init()':
../c++/cursesf.cc:439: error: invalid conversion from
`void*' to `void**'
../include/form.h:301: error: too many arguments to
function `int set_fieldtype_arg(FIELDTYPE*, void**)'
../c++/cursesf.cc:439: error: at this point in file
../c++/cursesf.cc:445: error: invalid conversion from
`void*' to `void**'
../include/form.h:301: error: too many arguments to
function `int set_fieldtype_arg(FIELDTYPE*, void**)'
../c++/cursesf.cc:445: error: at this point in file
make[1]: *** [../obj_s/cursesf.o] Error 1
make[1]: Leaving directory
`/home/davek/ncurses-5.6/c++'
make: *** [all] Error 2
~/ncurses-5.6 $



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to