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

[Staging #OBR-846828]: make error



Taimaz,

> I have a problem making the Makefile. The required files are attached
> Thanks
> 
> [ which cc: /usr/bin/cc ]

The make(1) log contained the following:

making `all' in directory /home/taimaz/Downloads/udunits-1.12.11/src/lib

make[1]: Entering directory `/home/taimaz/Downloads/udunits-1.12.11/src/lib'
ln -s ../port/misc/udalloc.c .
ln -s ../port/misc/udalloc.h .
c89 -c -g -O2 -I../port/misc -I../port/cfortran 
-DUT_DEFAULT_PATH='"/home/taimaz/Downloads/udunits-1.12.11/etc/udunits.dat"' 
-Df2cFortran utlib.c
c89 -c -g -O2 -I../port/misc -I../port/cfortran 
-DUT_DEFAULT_PATH='"/home/taimaz/Downloads/udunits-1.12.11/etc/udunits.dat"' 
-Df2cFortran utparse.c
utparse.y: In function ‘utparse’:
utparse.y:60:4: error: ‘YYACCEPT’ undeclared (first use in this function)

This is odd because the C macro "YYACCEPT" should be defined in the file 
"utparse.c" as "goto yyaccept".

What is the output of the command "fgrep YYACCEPT 
/home/taimaz/Downloads/udunits-1.12.11/src/lib/utparse.c"?

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OBR-846828
Department: Support UDUNITS
Priority: Normal
Status: Closed