GCC-3.3.3 Chapter 6

H. Wiese 7.e.Q at syncro-community.de
Tue Jul 13 03:27:06 PDT 2004


> host system: redhat 9
> kernel version: 2.4.20-8
> machine: i686
> book version: 5.1.1
>
> hi all!
>
> till now I have done everything recommended by this book.
> in this Chapter I have already configured gcc-3.3.3 .
> the problem is that I can't compile.
> here is the last part of stdout:
>
> ************************************************************************
> root:/sources/gcc-build# make
> ...
> ...
> ...
> /sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
> -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
> /usr/i686-pc-linux-gnu/include -O2 -DIN_GCC    -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I.
> -I../../gcc-3.3.3/gcc -I../../gcc-3.3.3/gcc/.
> -I../../gcc-3.3.3/gcc/config -I../../gcc-3.3.3/gcc/../include  -g0
> -finhibit-size-directive -fno-inline-functions -fno-exceptions
> -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
>     -c ../../gcc-3.3.3/gcc/crtstuff.c -DCRT_BEGIN \
>    -o crtbegin.o
> In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
> ../../gcc-3.3.3/gcc/tsystem.h:72:19: stdio.h: No such file or directory
> ../../gcc-3.3.3/gcc/tsystem.h:75:23: sys/types.h: No such file or
> directory
> ../../gcc-3.3.3/gcc/tsystem.h:78:19: errno.h: No such file or directory
> ../../gcc-3.3.3/gcc/tsystem.h:85:20: string.h: No such file or directory
> ../../gcc-3.3.3/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
> ../../gcc-3.3.3/gcc/tsystem.h:90:20: unistd.h: No such file or directory
> In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
>                   from /sources/gcc-build/gcc/include/limits.h:11,
>                   from ../../gcc-3.3.3/gcc/tsystem.h:93,
>                   from ../../gcc-3.3.3/gcc/crtstuff.c:62:
> /sources/gcc-build/gcc/include/limits.h:122:75: limits.h: No such file
> or directory
> In file included from ../../gcc-3.3.3/gcc/crtstuff.c:62:
> ../../gcc-3.3.3/gcc/tsystem.h:96:18: time.h: No such file or directory
> ../../gcc-3.3.3/gcc/crtstuff.c: In function `__do_global_dtors_aux':
> ../../gcc-3.3.3/gcc/crtstuff.c:277: warning: passing arg 1 of
> `__deregister_frame_info_bases' discards qualifiers from pointer target
> type
> ../../gcc-3.3.3/gcc/crtstuff.c: In function `frame_dummy':
> ../../gcc-3.3.3/gcc/crtstuff.c:313: warning: passing arg 1 of
> `__register_frame_info_bases' discards qualifiers from pointer target type
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/sources/gcc-build/gcc'
> make: *** [all-gcc] Error 2
> root:/sources/gcc-build#
> ***********************************************************************
>
> I hope I have copied everything that is usefull/needed to solve the
> problem.I have absolutely no idea how to solve this problem, so please
> help if you can.
>
> Gökhan.
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
>

Looks like you missed to copy the kernel headers or just didn't told
gcc configure where to find them.

Maybe repeating the needed Step will do the trick.



More information about the lfs-support mailing list