This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

please help me in building the tool chain


hai ,
               i am trying to build a cross tool chain as mentioned in the pdf file attached below , the bin utils is building fine but i have a problem while building gcc please help me in solving this problem or please tell me which material to refer to build a tool chain....

The log message is given below

make[1]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/libiberty'
make[2]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/libiberty/testsuite'
make[1]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/libiberty'
make[1]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2" "INSTALL=/bin/sh /home/kernel/madhav_cross/gcc-3.3.2/install-sh -c" "INSTALL_DATA=/bin/sh /home/kernel/madhav_cross/gcc-3.3.2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/kernel/madhav_cross/gcc-3.3.2/install-sh -c " "INSTALL_SCRIPT=/bin/sh /home/kernel/madhav_cross/gcc-3.3.2/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make" "MAKEINFO=makeinfo --no-split " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local/crossgcc" "infodir=/usr/local/crossgcc/info" "libdir=/usr/local/crossgcc/lib" "prefix=/usr/local/crossgcc" "tooldir=/usr/local/crossgcc/i386-pc-linux-gnu" "AR=ar" "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do
make[1]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/zlib'
make[1]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/fastjar'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/fastjar'
make[1]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/gcc'
(cd intl && make all)
make[2]: Entering directory `/home/kernel/madhav_cross/build-gcc-3.3.2/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/gcc/intl'
/home/kernel/madhav_cross/build-gcc-3.3.2/gcc/xgcc -B/home/kernel/madhav_cross/build-gcc-3.3.2/gcc/ -B/usr/local/crossgcc/i386-pc-linux-gnu/bin/ -B/usr/local/crossgcc/i386-pc-linux-gnu/lib/ -isystem /usr/local/crossgcc/i386-pc-linux-gnu/include -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/gcc/. -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer \
   -c ../../gcc-3.3.2/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /usr/local/crossgcc/i386-pc-linux-gnu/include/sys/types.h:133,
                 from ../../gcc-3.3.2/gcc/tsystem.h:75,
                 from ../../gcc-3.3.2/gcc/crtstuff.c:62:
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:10: error: parse error before "time_t"
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:12: error: parse error before '}' token
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:16: error: parse error before "time_t"
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:398: error: field `it_interval' has incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:399: error: field `it_value' has incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:403: error: field `it_interval' has incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/time.h:404: error: field `it_value' has incomplete type
In file included from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/math_emu.h:4,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:11,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/elf..h:10,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/elf.h:5,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/link.h:25,
                 from ../../gcc-3.3.2/gcc/crtstuff.c:84:
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/sigcontext.h:82: error: parse error before '}' token
In file included from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:11,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/elf..h:10,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/elf.h:5,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/link.h:25,
                 from ../../gcc-3.3.2/gcc/crtstuff.c:84:
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/math_emu.h:6: error: parse error before '*' token
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/math_emu.h:7: error: parse error before '*' token
In file included from /usr/local/crossgcc/i386-pc-linux-gnu/include/asm/elf..h:10,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/elf.h:5,
                 from /usr/local/crossgcc/i386-pc-linux-gnu/include/link.h:25,
                 from ../../gcc-3.3.2/gcc/crtstuff.c:84:
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:68: error: requested alignment is not a constant
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:430: error: parse error before '*' token
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:438: error: parse error before '}' token
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h: In function `load_esp0':
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:463: error: dereferencing pointer to incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:465: error: dereferencing pointer to incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:466: error: dereferencing pointer to incomplete type
/usr/local/crossgcc/i386-pc-linux-gnu/include/asm/processor.h:467: error: dereferencing pointer to incomplete type
In file included from /usr/local/crossgcc/i386-pc-linux-gnu/include/link.h:35,
                 from ../../gcc-3.3.2/gcc/crtstuff.c:84:
/usr/local/crossgcc/i386-pc-linux-gnu/include/bits/elfclass.h: At top level:
/usr/local/crossgcc/i386-pc-linux-gnu/include/bits/elfclass.h:14: error: parse error before "Elf_Symndx"
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/home/kernel/madhav_cross/build-gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2

with regards,
anandkumar.C.B


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]