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

Problem with linking Siag 3.1.5



Hi!

I have problem with linking Siag. It is about libreadline and
slibu conflict with "readline" function. So, how do you all
handle this?

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

Can anyone help? Thank you!

-- 
 __________________________________________________________________
[   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 __]