Thank you David for pointing out that apparently "there's something about
bison 1.75" that can cause problems. Not that I really understand what those 
are :(.

Anyway, I see that configure detects whether bison is there, and if not it
manages without somehow. So I deleted bison from my system (I only had it 
installed
for compiling OpenDX-CVS).

However, without bison, it doesn't work either. This is how my make ends:

[...]
../dxuilib/libDXUI.a(Network.o): In function `Network::parse(__sFILE *)':
/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C(.text+0x4634): undefined 
reference to `yylineno'
../dxuilib/libDXUI.a(Network.o): In function 
`Network::netParseMODULEComment(char const *)':
/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C(.text+0x4852): undefined 
reference to `yylineno'
../dxuilib/libDXUI.a(Network.o): In function 
`Network::netParseMacroComment(char const *)':
/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C(.text+0x490e): undefined 
reference to `yylineno'
../dxuilib/libDXUI.a(Network.o): In function `Network::parseVersionComment(char 
const *, unsigned char)':
/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C(.text+0x4d42): undefined 
reference to `yylineno'
../dxuilib/libDXUI.a(Network.o): In function 
`Network::netParseCATEGORYComment(char const *)':
/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C(.text+0x4eea): undefined 
reference to `yylineno'
../dxuilib/libDXUI.a(Network.o)(.text+0x4f6a):/home/lahaye/SOFTWARE/dx/src/uipp/dxuilib/Network.C:
 more undefined references to `yylineno' follow
gmake[3]: *** [dxui] Error 1
gmake[3]: Leaving directory `/home/lahaye/SOFTWARE/dx/src/uipp/dxui'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/lahaye/SOFTWARE/dx/src/uipp'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/lahaye/SOFTWARE/dx/src'
gmake: *** [all-recursive] Error 1
$


Is there something broken here too?
Of course "USING_BISON" is not defined in dxconfig.h.
Is there a problem with  src/uipp/dxuilib/Network.[Ch] ?

Regards,
Rob.


David Thompson wrote:
> The libtool branch has this fixed but it is dependent on using bison > 
> 1.7 and won't work with other yacc's. You can look at this file on the 
> libtool branch and see what has changed.
> 
> David
> 
>> Hi,
>>
>> The following happens when 'make'ing OpenDX-CVS:
>>
>> [...]
>> gmake[3]: Entering directory `/home/lahaye/SOFTWARE/dx/src/exec/dpexec'
>> local.mk:11: warning: overriding commands for target `.y.c'
>> Makefile:231: warning: ignoring old commands for target `.y.c'
>> echo 
>> '/***********************************************************************/' 
>>
>>
>>>> compile.h
>>
>> echo '/* Open Visualization Data Explorer 
>> */'                              >> compile.h
>> echo '/* (C) Copyright IBM Corp. 1989,1999 
>> */'                              >> compile.h
>> echo '/* ALL RIGHTS RESERVED */'                              >> 
>> compile.h
>> echo '/* This code licensed under the */'                              
>> >> compile.h
>> echo '/*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer" 
>> */'                              >> compile.h
>> echo 
>> '/***********************************************************************/' 
>>
>>
>>>> compile.h
>>
>> echo '#define' EX_COM_DATE '"'`date`'"' >> compile.h
>> echo '#define' EX_COM_HOST '"'`uname -a`'"' >> compile.h
>> bison -y  -d ./yuiif.y
>> ./yuiif.y:1554.12: parse error, unexpected ":", expecting ";" or "|"
>> ./yuiif.y:1567.3-1568.8: $$ of `semicolon' has no declared type
>> ./yuiif.y:1567.3-1568.31: $1 of `semicolon' has no declared type
>> gmake[3]: *** [yuiif.h] Error 1
>> gmake[3]: Leaving directory `/home/lahaye/SOFTWARE/dx/src/exec/dpexec'
>> gmake[2]: *** [all-recursive] Error 1
>> gmake[2]: Leaving directory `/home/lahaye/SOFTWARE/dx/src/exec'
>> gmake[1]: *** [all-recursive] Error 1
>> gmake[1]: Leaving directory `/home/lahaye/SOFTWARE/dx/src'
>> gmake: *** [all-recursive] Error 1
>> $
>> -----------------------
>>
>> I'm using bison (GNU Bison) 1.75. Is that a problem for OpenDX-CVS:
>> $ bison -y -d src/exec/dpexec/yuiif.y
>> src/exec/dpexec/yuiif.y:1554.12: parse error, unexpected ":", 
>> expecting ";" or "|"
>> src/exec/dpexec/yuiif.y:1567.3-1568.8: $$ of `semicolon' has no 
>> declared type
>> src/exec/dpexec/yuiif.y:1567.3-1568.31: $1 of `semicolon' has no 
>> declared type
>> $
>>
>> Or is something else wrong ?
>>
>> Thanks,
>> Rob.
> 
> 
> 

Reply via email to