undeclared reference in opts.c

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Fri Jun 20 02:21:00 GMT 2003


Me too.  See yestedays post to gcc-bugs, and Roger Sayle's posts to gcc-patches over the weekend.  Strongly suspect a gawk-3.1.2 issue.

-----Original Message-----
From: Robert McNulty Junior [mailto:bmj2001@bellsouth.net]
Sent: Friday, 20 June 2003 11:08 AM
To: gcc@gcc.gnu.org
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
$




More information about the Gcc mailing list