[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnubol: gcc compile error w/COBOL



Note I haven't looked for the reason why--it's bedtime for me.  But if
someone has had this problem and already fixed it, it'd save the rest of
us some time. :)  I'll try and take a look at it tomorrow night if I
don't hear anything before then.  Here's the error:

make[2]: Entering directory `/home/me2v/src/BUILD/gcc-2.95.2/gcc/cobol'
gcc -c  -DIN_GCC    -g -O2  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -I. -I.. -I. -I./..
-I./../config -I./../../include cobpre.c 
cobpre.c:1506: parse error before `ATTRIBUTE_UNUSED'
cobpre.c: In function `paste_text':
cobpre.c:1509: number of arguments doesn't match prototype
cobpre.h:338: prototype declaration
cobpre.c:1511: `current_line_ptr' undeclared (first use in this
function)
cobpre.c:1511: (Each undeclared identifier is reported only once
cobpre.c:1511: for each function it appears in.)
cobpre.c:1511: `current_line_used_count_ptr' undeclared (first use in
this function)
cobpre.c:1511: `l' undeclared (first use in this function)
cobpre.c:1513: `s' undeclared (first use in this function)
make[2]: *** [cobpre.o] Error 1
make[2]: Leaving directory `/home/me2v/src/BUILD/gcc-2.95.2/gcc/cobol'
make[1]: *** [cobol/cobpre] Error 2
make[1]: Leaving directory `/home/me2v/src/BUILD/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2


I notice many "RSN"s in the parser.  Guess that means much work to do,
eh? :)

ciao,
-- 
Matthew Vanecek
Visit my Website at http://mysite.directlink.net/linuxguy
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.