Hi

I am trying to compile a software and it has given me the error message

/usr/bin/ld: warning: i386 architecture of input file `thread.o' is incompatible with i38686-64 output

Not sure what it is?

I also have binary for that program , but it is looking for shared library libreadline.so.4, I do have
libreadline .so.5, even I did softlink this, program complains me not shared library.

If any one could help me to resolve this issue? appreciated.

Thanks

make file ...
FC = g77
CC = cc
FFLAGS = ${OPT} $(ENV)
CFLAGS = -I/usr/lib/ $(ENV)
LDFLAGS =
LIBS = -lncurses -lreadline /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a

I just changed LIBS only.

thanks
venk