problems in compilation of gcc-3.3.3 in chapter 6 of lfs-5.1.1

Mukesh Kaushal mukeshk at compucomtech.co.in
Sun Jan 9 23:35:47 PST 2005


Hello again,
Host: FedoraCore 1 (Kernel 2.4.22)
      lfs-5.1.1
I am in chapter-6 of the book lfs-5.1.1. I'm using binutils-2.15. In this
chapter I had some problem in binutils but due to installation of flex &
bison, now it is successfully installed. But now next package gcc-3.3.3 is
giving error msg which is shown here:
----------------------------------------------------------------------------
SHLIB_MAPFILES='../../gcc-3.3.3/gcc/libgcc-std.ver
../../gcc-3.3.3/gcc/config/libgcc-glibc.ver' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
mkinstalldirs='/bin/sh ../../gcc-3.3.3/gcc/mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TM_DEFINES="" \
HEADERS="ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h
svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \
TARGET_CPU_DEFAULT="" \
/bin/sh ../../gcc-3.3.3/gcc/mkconfig.sh tconfig.h
tconfig.h is unchanged
/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#
----------------------------------------------------------------------------

Plz help me why it is so....where I could be wrong....
Thanx to all
----monny-----





More information about the lfs-support mailing list