[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems compiling on Solaris 2.8 w/ gcc 2.95.2
From: |
Thomas Boyda |
Subject: |
Problems compiling on Solaris 2.8 w/ gcc 2.95.2 |
Date: |
Thu, 3 May 2001 16:58:48 -0400 |
User-agent: |
Mutt/1.2.4i |
I just tried to compile oleo-1.99.16 and I got the following problems:
In src/io-term.c gettext is defined:
#if ENABLE_NLS
extern char *gettext(char *);
#endif
In solaris 2.8 "/usr/include/libintl.h line 33 gettext is defined:
extern char *gettext(const char *);
I hacked around that by changing the declaration to const char * in
src/io-term.c.
But when the program tries to link I get the following errors:
make [ ~/oleo-1.99.16 ]
make all-recursive
Making all in doc
Making all in lib
Making all in intl
Making all in src
gcc -I/usr/openwin/include -O3 -DLOCALEDIR=\"/usr/local/share/locale\"
-I/usr/openwin/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 io-motif.o
appres.o fallback.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 -lXm -lXbae ../lib/liboleo.a
../intl/libintl.a -L/usr/openwin/lib -R/usr/openwin/lib -lXpm -lXm
-L/usr/openwin/lib -R/usr/openwin/lib -lSM -lICE -lXt -lX11 -lsocket -lnsl
-lm -lcurses -L/usr/local/lib -lplot
ld: fatal: symbol `yys' is multiply defined:
(file parse.o and file posixtm.o);
ld: fatal: symbol `yyv' is multiply defined:
(file parse.o and file posixtm.o);
ld: fatal: File processing errors. No output written to oleo
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `oleo'
Current working directory /homes/boyda/oleo-1.99.16/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /homes/boyda/oleo-1.99.16
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
I didn't see an easy hack around this.
Any assistance would be appreciated.
Tom.
----
Thomas J. Boyda <address@hidden>
Systems Management and Administration Associate Engineer
Customer Services Delivery Genuity
410-309-8644 (voice) 410-309-8604 (fax)
- Problems compiling on Solaris 2.8 w/ gcc 2.95.2,
Thomas Boyda <=