Unable to compile on Solaris [NC]

Cedric ROUVRAIS <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <OF3088253F.5C7EEB56-ON85257656.00676F8E-85257656.00678723@us.world.socgen>
Hi guys,

I can't compile on Solaris, I am getting the following error on make
execution:


gcc -D_REENTRANT -pthreads -g -O2 -Wdeclaration-after-statement -o
.libs/fisql fisql.o terminal.o edit.o handlers.o interrupt.o
../../dblib/.libs/libsybdb.so ../../replacements/.libs/libreplacements.a
-lnsl -lsocket -lncurses -lreadline -R/homedir/crouvrai/freetds/lib
Undefined                       first referenced
 symbol                             in file
tgoto                               /tools/prod/apps/lib/libreadline.so
tputs                               /tools/prod/apps/lib/libreadline.so
tgetent                             /tools/prod/apps/lib/libreadline.so
tgetnum                             /tools/prod/apps/lib/libreadline.so
tgetstr                             /tools/prod/apps/lib/libreadline.so
tgetflag                            /tools/prod/apps/lib/libreadline.so
ld: fatal: Symbol referencing errors. No output written to .libs/fisql
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `fisql'
Current working directory /homedir/crouvrai/freetds-sol-0.82/src/apps/fisql
*** Error code 1


Does anyone have any ideas?

a++ Cedric


*************************************************************************
This message and any attachments (the "message") are confidential, intended 
solely for the addressee(s), and may contain legally privileged information.  
Any unauthorised use or dissemination is prohibited.  E-mails are susceptible 
to alteration.  Neither SOCIETE GENERALE nor any of its subsidiaries or 
affiliates shall be liable for the message if altered, changed or falsified.
*************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.