1 msgTREAT VERY URGENT
4 msginternal compiler error when build toolchains u...
1 msggcc-4.2-20071114 is now available
2 msgRe: How to describe function units allocation
2 msgfacing problem with the g++ testing

c-pch.c:149: undefined reference to `_executabl...
\ Âíæè (14 Nov 2007)
. \ Âíæè (14 Nov 2007)

2 msgTwo questions on register allocation & reload.
2 msgdynamic_cast problem
3 msginternal compiler error when compile busybox 1....
13 msgCannot unwind through MIPS signal frames with I...
1 msgHurennetzwerk News
1 msggcc-4.1-20071112 is now available
3 msgDeclaring artificial fields
2 msghelp for visual basic if you connot then sent m...
2 msg[PATCH][varmap] New var-mappings-branch created
2 msgHow to instrument at source code level?
2 msgRemoving #include '*.c'
5 msg[RFC][modulo-sched] Fix scheduling order within...
3 msgTool chain configuration: GNU/* sharing stuff w...
1 msgabout the coding of visual basic
Subject:Re: c-pch.c:149: undefined reference to `_executable_checksum'
Group:Gcc
From:Âíæè
Date:14 Nov 2007


sorry, it's my mistake.

I clean all, and rebuild, and find the make will stop at first

gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -o cc1-dummy c-lang.o
stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o
prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o
tree-mudflap.o c-pretty-print.o dummy-checksum.o \
main.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a
-liconv ../libiberty/libiberty.a
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc
-I/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/build
-I/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/../include
-I/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/../libcpp/include
-o build/genchecksum.o
/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/genchecksum.c
gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -o
build/genchecksum \
build/genchecksum.o ../build-i386-pc-linux-gnu/libiberty/libiberty.a
build/genchecksum cc1-dummy > cc1-checksum.c
opening cc1-dummy: No such file or directory
make[2]: *** [cc1-checksum.c] Error 1
make[2]: Leaving directory
`/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2-initial'
make: *** [/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2-initial/.compiled]
Error 2


After I rename cc1-dummy.exe to cc1-dummy, the compile seems to continue.

Sorry for take up your time.
Thanks.

On Nov 14, 2007 3:16 PM, Âíæè <huamama> wrote:
> hi ,
> I have a error when i compile gcc-4.1.2 using buildroot in cygwin
>
> gcc -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> -Wmissing-format-attribute -DHAVE_CONFIG_H -o cc1 c-lang.o
> stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
> c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
> c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o
> prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o
> tree-mudflap.o c-pretty-print.o cc1-checksum.o \
> main.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a
> -liconv ../libiberty/libiberty.a
> c-pch.o: In function `c_common_valid_pch':
> /home/mahua/opt/armbuild26_v1/toolchain_build_arm/gcc-4.1.2/gcc/c-pch.c:239:
> undefined reference to `_executable_checksum'
> /home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/c-pch.c:271:
> undefined reference to `_executable_checksum'
> c-pch.o: In function `c_common_print_pch_checksum':
> /home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/c-pch.c:489:
> undefined reference to `_executable_checksum'
> c-pch.o: In function `pch_init':
> /home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/c-pch.c:135:
> undefined reference to `_executable_checksum'
> /home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2/gcc/c-pch.c:149:
> undefined reference to `_executable_checksum'
> collect2: ld returned 1 exit status
> make[2]: *** [cc1] Error 1
> make[2]: Leaving directory
> `/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2-initial/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory
> `/home/mahua/opt/arm/toolchain_build_arm/gcc-4.1.2-initial'
>
> The target platform is arm, gcc version is 4.1.2
> binutils-2.17.50.0.8, uClibc-0.9.28.
> The host platform is cygwin (1.5.24).
> Thanks.
>


© 2004-2008 readlist.com