This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
undeclared reference in opts.c
- From: Robert McNulty Junior <bmj2001 at bellsouth dot net>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 20:08:14 -0500
- Subject: undeclared reference in opts.c
I've been getting the following error on I686-pc-cygwin with mainline.
Started yesterday. (June 18th)
gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissin
g-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H
-I. -I. -
I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config
-I../../gcc/gcc/../inclu
de ../../gcc/gcc/opts.c -o opts.o
../../gcc/gcc/opts.c: In function `common_handle_option':
../../gcc/gcc/opts.c:299: error: `OPT__version' undeclared (first use in
this fu
nction)
../../gcc/gcc/opts.c:299: error: (Each undeclared identifier is reported
only on
ce
../../gcc/gcc/opts.c:299: error: for each function it appears in.)
make[1]: *** [opts.o] Error 1
make[1]: Leaving directory `/home/Robert/gcc-3.4/o/gcc'
make: *** [all-gcc] Error 2
Robert@bobby ~/gcc-3.4/o
$