Hello, I had posted this message for a couple of weeks as I still didn't solve the problem. The error was reported when I tried to make world. My system is freebsd-current with ctm source upto src-cur.3858. The compiler is egcs-1.1.2. I had tried cd /usr/src and make cleandir and make cleandir. It didn't help. Any idea ? Thanks.
Clarence ======= Error ======= ===> cpp cc -O -pipe -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc -I/usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/config -DFREEBSD_NATIVE -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -I/usr/src/gnu/usr.bin/cc/cpp/../cc_tools -DPREFIX=\"/usr\" -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:423: `GPLUSPLUS_INCLUDE_DIR' undeclared here (not in a function) /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:423: initializer element for `include_defaults_array[0].fname' is not constant /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:424: `OLD_GPLUSPLUS_INCLUDE_DIR' undeclared here (not in a function) /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:424: initializer element for `include_defaults_array[1].fname' is not constant /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:449: `GCC_INCLUDE_DIR' undeclared here (not in a function) /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:449: initializer element for `include_defaults_array[2].fname' is not constant /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c: In function `main': /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:1376: `GCC_INCLUDE_DIR' undeclared (first use in this function) /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:1376: (Each undeclared identifier is reported only once /usr/src/gnu/usr.bin/cc/cpp/../../../../contrib/egcs/gcc/cccp.c:1376: for each function it appears in.) *** Error code 1 Stop. ======= Error ======= To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message