bug-oleo
[Top][All Lists]
Advanced

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

Re: problems compiling oleo-1.99.16


From: Dominik Szczerba
Subject: Re: problems compiling oleo-1.99.16
Date: Mon, 28 Oct 2002 10:42:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Hi,
lib/getdate.y is there, defining lots of stuff. I tried commenting things out, but with no success (errors come from different files).
I have SuSE8.0 and gcc 2.95.3. I dont have (I dont know it) bison.

Below are results from compilation on Solaris/Sun (the same version of compiler). But I care far more about linux version.

Please help.

thanks
DS

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -g -O2 -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/openwin/include -DBUILD_PREFIX='"'/usr/local'"' -c io-term.c
io-term.c:90: conflicting types for `gettext'
/usr/include/libintl.h:33: previous declaration of `gettext'
*** Error code 1
make: Fatal error: Command failed for target `io-term.o'
Current working directory /scratch/domi/pack/oleo-1.99.16/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /scratch/domi/pack/oleo-1.99.16
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'



Pete Wyckoff wrote:

address@hidden said:
Configuring just goes fine on my linux, but making I get the below errors. Have tried different configure switchces but no succes. What do I do?

Can you take a look at lib/getdate.y around line 108 and make sure the
file is not corrupt?  What happens is that file uses #defines to rename
the symbols of thesecond yacc parser so that it does not collide with
the first (in src/posixtm.y).  You seem to have collisions on
yylhs..yycheck, but not any of the earlier of the 30-odd #defines.
I would have expected to see errors below for all or none of them.

What version of suse?  bison --version?  gcc --version?

                -- Pete

gcc -g -O2 -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/X11R6/include -DBUILD_PREFIX='"'/usr/local'"' -o oleo parse.o byte-compile.o eval.o ref.o decompile.o sort.o regions.o utils.o lists.o io-term.o io-utils.o io-x11.o window.o io-edit.o line.o key.o format.o funcs.o hash.o ir.o io-curses.o font.o display.o init.o sylk.o oleofile.o sc.o list.o busi.o string.o cells.o cmd.o basic.o args.o stub.o input.o info.o help.o graph.o plot.o forminfo.o posixtm.o date.o xrdb.o mysql.o print.o postscript.o pcl.o epson.o prtext.o afm.o mdi.o gsl.o plotter.o legend.o -lSM -lICE -L/usr/X11R6/lib -lXt -lX11 ../lib/liboleo.a ../intl/libintl.a -L/usr/X11R6/lib -lXt -lX11 -lcups -lm -lncurses -L/usr/local/lib -lplot
posixtm.o: In function `yylex':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:141: multiple definition of `yylhs'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:310: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yylhs' changed from 100 to 16 in posixtm.o
posixtm.o: In function `yylex':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:144: multiple definition of `yylen' parse.o(.data+0xa8):/home/domi/pack/oleo-1.99.16/src/parse.y: first defined here /usr/i486-suse-linux/bin/ld: Warning: size of symbol `yylen' changed from 100 to 16 in posixtm.o
posixtm.o: In function `yyerror':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:150: multiple definition of `yydefred'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:350: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yydefred' changed from 300 to 28 in posixtm.o
posixtm.o: In function `posixtime':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:161: multiple definition of `yydgoto'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:379: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yydgoto' changed from 12 to 8 in posixtm.o
posixtm.o: In function `posixtime':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:162: multiple definition of `yysindex'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:381: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yysindex' changed from 300 to 28 in posixtm.o
posixtm.o: In function `posixtime':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:163: multiple definition of `yyrindex'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:421: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yyrindex' changed from 300 to 28 in posixtm.o
posixtm.o: In function `posixtm':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:174: multiple definition of `yygindex'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:484: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yygindex' changed from 12 to 8 in posixtm.o
posixtm.o: In function `posixtm':
/home/domi/pack/oleo-1.99.16/src/posixtm.y:176: multiple definition of `yytable'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:484: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yytable' changed from 2980 to 98 in posixtm.o
posixtm.o: In function `posixtime_yyparse':
/home/domi/pack/oleo-1.99.16/src/y.tab.c:212: multiple definition of `yycheck'
parse.o:/home/domi/pack/oleo-1.99.16/src/parse.y:983: first defined here
/usr/i486-suse-linux/bin/ld: Warning: size of symbol `yycheck' changed from 2980 to 98 in posixtm.o
collect2: ld returned 1 exit status


--
----------------------------------
Dominik Szczerba, Dr.
CO-ME, D-ITET, ETZ F85
ETH, Gloriastr. 35
CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
----------------------------------
ii swear i never use vi^[:wqZZ
----------------------------------






reply via email to

[Prev in Thread] Current Thread [Next in Thread]