Hi, After 4.1.0 src/uipp/dxuilib/Network.C was changed to address what you've described . There may be compatibility changes elsewhere. You can grep for yylineno and force the #if statements to do the right thing for your system, or you can check out fresh from cvs if you're so inclined.
Pete from: http://opendx.watson.ibm.com/cgi-bin/dx/cvsweb/dx/src/uipp/dxuilib/Network.C diffs to 1.14 -#if defined(linux) || defined(cygwin) || defined(freebsd) +#if defined(USING_BISON) int yylineno; #else extern int yylineno; /* lexer line number */ "Dr. Martin Schreck" wrote: > Hello I am trying to compile OpenDX 4.1.0 under SuSE Linux 6.4. I have > netcdf and cdf installed. The compilation goes good for about 40 minutes > and breaks in the very end with the messages I attached to this email. I > took bison of my installation because I have YACC too. But still the > error before and after taking of BISON is the same. So I guess the error > message is misleading. Does anybody know what to do? > > .... > > -lg++ -lm -lSM -lICE -lXm -lXext -lXt -lX11 -L/usr/X11R6/lib > ../dxuilib/libDXUI.a(netyacc.o): In function `yyparse': > /usr/share/bison.simple:275: multiple definition of `yylineno' > ../dxuilib/libDXUI.a(Network.o)(.bss+0x0):/home/martin/tmp/dx-4.1.0/src/uipp/dxuilib/../base/Base.h: > first defined here collect2: ld returned 1 exit status make[3]: *** > [dxui] Error 1 make[3]: Leaving directory > `/home/martin/tmp/dx-4.1.0/src/uipp/dxui' make[2]: *** [all-recursive] > Error 1 make[2]: Leaving directory `/home/martin/tmp/dx-4.1.0/src/uipp' > make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory > `/home/martin/tmp/dx-4.1.0/src' make: *** [all-recursive] Error 1 > [EMAIL PROTECTED]:/home/martin/tmp/dx-4.1.0 > > > -- > Dr.-Ing. Martin Schreck > > Central Research Institute of Electric Power Industry Japan > Abiko Research Laboratory, 1646 Abiko, Abiko-shi > Chiba-ken, 270-1194 Japan > ------------------------------------------------------------- > Phone: (++81)-(0)471-82-1181 > Fax: (++81)-(0)471-83-3182 > Web-Page: http://www.geocities.com/ResearchTriangle/Forum/1094
