freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: Bus Error & Symbol referencing errors, no output written to cttest
- From: "Peter Antypas" <peter AT tiansoft.com>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: Bus Error & Symbol referencing errors, no output written to cttest
- Date: Thu, 11 May 2000 09:31:35 -0600
The missing link here is the GNU C library. Try adding "-lc" to the link
line in the Makefile
----- Original Message -----
From: "Madhu" <madhusud AT yahoo.com>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Thursday, May 11, 2000 12:00 AM
Subject: [freetds] Bus Error & Symbol referencing errors, no output written
to cttest
> I got tds compiled and running with sqsh thanks to earlier help about
using
> GNU make on solaris. But I am getting this bus error(core dumped) message
> when I use sqsh to access a particular table. Other tables work fine, just
> this table has problems, does anybody know what causes these bus errors
and
> how to get around it ?
> I thought that the errors were due to freetds lib rather than sqsh so I
> triend to compile the cttest in samples dir of freetds. Then I get these
> symbol referencing errors from ld :
>
> bash-2.03# make
> /bin/sh ../libtool --mode=link gcc -g -O2 -DHW_BIG_ENDIAN -DTDS42
> -DMSDBLIB -DDBMFIX -o cttest cttest.o -L/
> usr/local/freetds/lib -lct -ltds
> gcc -g -O2 -DHW_BIG_ENDIAN -DTDS42 -DMSDBLIB -DDBMFIX -o cttest cttest.o
> -L/usr/local/freetds/lib -lct -ltds
> Undefined first referenced
> symbol in file
> socket /usr/local/freetds/lib/libct.so
> gethostbyname /usr/local/freetds/lib/libct.so
> getservbyname /usr/local/freetds/lib/libct.so
> inet_addr /usr/local/freetds/lib/libct.so
> inet_ntoa /usr/local/freetds/lib/libct.so
> connect /usr/local/freetds/lib/libct.so
> ld: fatal: Symbol referencing errors. No output written to cttest
> make: *** [cttest] Error 1
>
> Would be of great help to know why I am getting these errors and how to
> resolve them. Seems to be only a solaris bug since I use sqsh+freetds on
my
> linux client and everything works fine there, no bus errors either!!
>
> Any help would be greatly appreciated
>
> Madhu
>
> ---
> You are currently subscribed to freetds as: peter AT tiansoft.com
> To unsubscribe, forward this message to
$subst('Email.Unsub')
-
Re: Bus Error & Symbol referencing errors, no output written to cttest,
Peter Antypas, 05/11/2000
- <Possible follow-up(s)>
- Re: Bus Error & Symbol referencing errors, no output written to cttest, Madhu, 05/11/2000
- Bus Error & Symbol referencing errors, no output written to cttest, Madhu, 01/29/2024
Archive powered by MHonArc 2.6.24.