Skip to Content.
Sympa Menu

freetds - Re: [freetds] Mac OSX make error Undefined symbols

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Vijoy Varghese" <viijv AT thedifferenZ.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Mac OSX make error Undefined symbols
  • Date: Thu, 23 Oct 2003 10:06:54 +0530

> The archives are your friend, my friend.
Yeah, it's quite powerful, I am doing some 25 querys in every 1 hr on the
archive search engine :-)

>See Mark Lilback's message of 30
> September.
> "It dies building tsql because gethostbyaddr_r is not found. (10.2 doesn't
> support the _r functions.)"
I saw it, but its too complex to understand for a newbie like me.
But, I feel like I have to disable threadsafe, during the ./autogen,
right? --disable-treadsafe, right?

But even after that, this is what I got
<end of make output>
source='freebcp.c' object='freebcp.o' libtool=no \
depfile='.deps/freebcp.Po' tmpdepfile='.deps/freebcp.TPo' \
depmode=gcc /bin/sh ../../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -D_FREETDS_LIB
RARY_SOURCE -I/usr/local//include -DIODBC -DMSDBLIB -DDEBUG=1 -Wall -Wstrict
-prototypes -Wmissing-prototypes -Wno-long-long -g -O2 -c `test -f
'freebcp.c' || echo './'`freebcp.c
/bin/sh ../../libtool --mode=link
gcc -g -O2 -L/usr/local//lib -L/Users/admin/documents/vijoy/freetds-0.62.d
ev.20031022/yes/lib -o freebcp freebcp.o ../dblib/libsybdb.la
gcc -g -O2 -o .libs/freebcp
freebcp.o -L/usr/local//lib -L/Users/admin/documents/vijoy/freetds-0.62.dev
.20031022/yes/lib -L../dblib/.libs -lsybdb -L/usr/local/lib -liconv
ld: warning -L: directory name
(/Users/admin/documents/vijoy/freetds-0.62.dev.20031022/yes/lib) does not
exist
ld: Undefined symbols:
_gethostbyaddr_r
_gethostbyname_r
_getservbyname_r
make[2]: *** [freebcp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1


> I think if you "touch src/apps/tsql", that should let the rest of "make
> install" run. Either that, or configure without thread support?
Do you mean i have to run 'touch src/apps/tsql' after doing the 'unfinished'
make?
I checked doing that that before ./autogen and after the unfinished make,
but both didn't worked :-(

Please help,
TIA
Vijoy~






Archive powered by MHonArc 2.6.24.

Top of Page