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

Re: Problem with linking Siag 3.1.5



On Sat, Jan 30, 1999 at 03:37:21PM +0200, Juha 'Jippo' Pohjalainen wrote:
> Here is what my compiler says:
> gcc -Wall -O3 -fno-strength-reduce -Wall  -o siag -L../siod -L../common -L../xcommon -L../siag window.o selection.o xsiag.o -lsiag -lxcommon -lcommon -lsiod -L/usr/local/lib -lguile -ldl -lreadline -ltermcap -lm   -ldl -lXpm -L/usr/X11R6/lib -lXaw3d -lXmu -lXext -lXt -lX11  -lSM -lICE  -lm -ldb 
> /usr/local/lib/libreadline.a(readline.o): In function `readline':
> readline.o(.text+0x22c8): multiple definition of `readline'
> ../siod/libsiod.a(slibu.o)(.text+0x13b4): first defined here
> /usr/bin/ld: Warning: size of symbol `readline' changed from 191 to 99 in readline.o
> collect2: ld returned 1 exit status
> make[2]: *** [siag] Error 1

I already figured it out: use shared libreadline.so (which was not
installed in my system).

> Can anyone help? Thank you!

Feel good about helping myself! :-)

-- 
 __________________________________________________________________
[   pub 1024/951AFAF5 1995/12/12   Juha Pohjalainen <jmp@iki.fi>   ]
[   fingerprint 41 56 7F F9 8E EC 16 35  BB 42 EF A7 DF 19 FA 31   ]
[__ http://www.iki.fi/jmp/ ________________ GSM +358 40 570 1179 __]