Hi Wolfgang, I get nearlly the same errors, also on SuSE 6.4.
On Mon, May 15, 2000 at 03:52:54PM +0200, Wolfgang Braun wrote: > UndoCommand.o NewCommand.o NoUndoAnchorCommand.o NoUndoDXAppCommand.o > NoUndoDXWindowCommand.o NoUndoEditorCommand.o NoUndoImageCommand.o > NoUndoJavaNetCommand.o > NoUndoNetworkCommand.o NoUndoPanelCommand.o OpenCommand.o SaveMacroCommand.o > ToolPanelCommand.o ViewControlWhichCameraCommand.o Main.o > ../dxuilib/libDXUI.a ../base/libBASE.a > ../widgets/libWIDGETS.a -L/usr/X11R6/lib > -L/usr/local/lib -lm -lXm -lXmu -lXt -lX11 -lXext -lnsl -ltiff > -ljpeg -lpng -lbz2 -lz -ldl -lg++ -lm -lSM -lICE -lXm -lXext -lXt -lX11 > -L/usr/X11R6/lib > ../dxuilib/libDXUI.a(netyacc.o): In function `yy_get_next_buffer': > /home/braun/data/opendx/dx-4.1.0/src/uipp/dxuilib/lex.yy.c:1891: multiple > definition of `yylineno' > ../dxuilib/libDXUI.a(Network.o)(.bss+0x0):/home/braun/data/opendx/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 `/data/data/opendx/dx-4.1.0/src/uipp/dxui' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/data/data/opendx/dx-4.1.0/src/uipp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/data/data/opendx/dx-4.1.0/src' > make: *** [all-recursive] Error 1 ./base/libBASE.a ../widgets/libWIDGETS.a -L/usr/X11R6/lib -L/usr/local/lib -lm -lXm -lXmu -lXt -lX11 -lXext -lnsl -lMagick -lnetcdf -lcdf -ldf -ltiff -lttf -ljpeg -lpng -lbz2 -lz -ldl -lg++ -lm -lSM -lICE -lXm -lXext -lXt -lX11 -L/usr/X11R6/lib -L/usr/local/apli/lib ../dxuilib/libDXUI.a(netyacc.o): In function `yyparse': /usr/share/bison.simple:265: multiple definition of `yylineno' ../dxuilib/libDXUI.a(Network.o)(.bss+0x1c):/asgard/home/mgmt/apli/opendx/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 `/asgard/home/mgmt/apli/opendx/dx-4.1.0/src/uipp/dxui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/asgard/home/mgmt/apli/opendx/dx-4.1.0/src/uipp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/asgard/home/mgmt/apli/opendx/dx-4.1.0/src' make: *** [all-recursive] Error 1 I tried to look at the mentioned files: $ grep yylineno src/uipp/dxuilib/netyacc.c <no results> $ grep 'int yylineno' src/uipp/dxuilib/Network.C int yylineno; extern int yylineno; /* lexer line number */ $ grep yylineno src/uipp/base/Base.h <no results> I guess it has something to do with yacc, bison, flex and lex, I have: $ rpm -qa | grep 'flex\|lex\|bison\|yacc' bison-1.25-95 yacc-91.7.30-92 flex-2.5.4-100 netyacc.c for instance was made using bison: bison -y net.yacc awk -f netyacc.awk y.tab.c > netyacc.c rm -f y.tab.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../base -I../../../include -I../dxui -Dlinux -I/usr/X11R6/include -I/usr/local/apli/include -I/usr/local/apli/include/hdf -I/usr/X11R6/include/X11 -g -O2 -I/usr/X11R6/include -I/usr/local/apli/include -I/usr/local/apli/include/hdf -I/usr/X11R6/include/X11 -D_GNU_SOURCE -c netyacc.c Any ideas are greatly appreciated, regards -- Philipp | work | home Frauenfelder | [EMAIL PROTECTED] | [EMAIL PROTECTED] [PGP] | +41 1 632 60 38 | +41 1 862 73 14 Proudly running Debian GNU/Linux. See http://www.debian.org/
