Skip to Content.
Sympa Menu

freetds - RE: [freetds] 0.63 Release Candidate 3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jeremy Kister" <freetds-01 AT jeremykister.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] 0.63 Release Candidate 3
  • Date: Thu, 9 Dec 2004 04:30:50 -0500

On Thu, 9 Dec 2004 09:44:59 +0100, Frediano VF-IT ZIGLIO wrote:
> > http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.63
> > RC3.tar.gz
[...]
> So now:
> - FreeBSD works
> - Linux works (libiconv or not)
> - NetBSD works (libiconv or not)
> - Solaris SHOULD work
> - AIX... I don't know it's a nighmare :)

On Solaris 2.7 sparc with GNU libiconv, GNU make 3.79.1, and gcc 3.2.1, i
got a weird result while compiling (--with-tdsver=4.2):
while doing "make":
[...]
gcc -g -O2 -o tsql tsql.o -static-libgcc
../replacements/.libs/libreplacements.a
../tds/.libs/libtds_objects.a -lsocket
/usr/local/lib/libiconv.so -lc -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -W
l,/usr/local/lib

the system then sat there for a while. In another window, i did top, and
saw a lot of ld processes running, and 0.0% idle. I looked at how many ld's
were running, and at first there were 159, then 160, then 161, at which
point i CTRL-C'd out of the make.

root 4799 4788 0 04:05:30 pts/2 0:02 /usr/bin/sh
/usr/ccs/bin/ld -YP,:/usr/ucblib:/usr/ccs/lib:/usr/lib -YP,:/usr/uc
root 4526 4520 0 04:04:45 pts/2 0:00 /usr/bin/sh
/usr/ccs/bin/ld -YP,:/usr/ucblib:/usr/ccs/lib:/usr/lib -YP,:/usr/uc
root 4684 4670 0 04:05:10 pts/2 0:01 /usr/bin/sh
/usr/ccs/bin/ld -YP,:/usr/ucblib:/usr/ccs/lib:/usr/lib -YP,:/usr/uc
[...]

If i use --with-gnu-ld (GNU ld 2.14 20030612), i get another odd error
during make:
[...]
gcc -g -O2 -o tsql tsql.o -static-libgcc
../replacements/.libs/libreplacements.a
../tds/.libs/libtds_objects.a -lsocket
/usr/local/lib/libiconv.so -lc -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -W
l,/usr/local/lib
../tds/.libs/libtds_objects.a(login.o)(.text+0x730): In function
`tds_connect':
/usr/local/src/freetds-0.63RC3/src/tds/login.c:342: undefined reference to
`asprintf'
../tds/.libs/libtds_objects.a(config.o)(.text+0x138): In function
`tds_read_config_info':
/usr/local/src/freetds-0.63RC3/src/tds/config.c:138: undefined reference to
`asprintf'
../tds/.libs/libtds_objects.a(config.o)(.text+0x2b0): In function
`tds_get_home_file':
/usr/local/src/freetds-0.63RC3/src/tds/config.c:221: undefined reference to
`asprintf'
../tds/.libs/libtds_objects.a(config.o)(.text+0x390): In function
`tds_read_conf_file':
/usr/local/src/freetds-0.63RC3/src/tds/config.c:260: undefined reference to
`asprintf'
../tds/.libs/libtds_objects.a(config.o)(.text+0x12c4): In function
`tds_config_env_tdsdump':
/usr/local/src/freetds-0.63RC3/src/tds/config.c:565: undefined reference to
`asprintf'
../tds/.libs/libtds_objects.a(query.o)(.text+0x450): In function
`tds_submit_queryf':
/usr/local/src/freetds-0.63RC3/src/tds/query.c:259: undefined reference to
`vasprintf'
collect2: ld returned 1 exit status
make[2]: *** [tsql] Error 1
make[2]: Leaving directory
`/home/mickey/nntx/src/SunOS-5.7-sun4/freetds-0.63RC3/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/mickey/nntx/src/SunOS-5.7-sun4/freetds-0.63RC3/src'
make: *** [all-recursive] Error 1


--

Jeremy Kister
http://jeremy.kister.net/





Archive powered by MHonArc 2.6.24.

Top of Page