Skip to Content.
Sympa Menu

freetds - Re: Can't compile ANY version, need help

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris Wood <cwood AT wencor.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Can't compile ANY version, need help
  • Date: Mon, 30 Apr 2001 11:50:15 -0600 (Mountain Daylight Time)



Ok, to answer my own questions, yeah it seems to work. :) Next
problem. I found my libs, got them going and got it to compile and the
"make check" to run without the symbol reference errors.

Now I'm getting this error even though libtds.so.0 does exist as a link to
libtds.so.0.0.0 (src/tds/.libs/libtds.so.0).

Any ideas? (I think I should take a C class. Sorry to bug everyone.)


gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1
-I. -I. -I../../../include -g -O2 -DTDS42 -c t0006.c
t0006.c: In function `main':
t0006.c:61: warning: integer constant out of range
t0006.c:61: warning: decimal constant is so large that it is unsigned
/bin/sh ../../../libtool --mode=link gcc -g -O2 -DTDS42 -o t0006 t0006.o
common.o ../libtds.la -lsocket
gcc -g -O2 -DTDS42 -o .libs/t0006 t0006.o common.o ../.libs/libtds.so
-lsocket -lnsl -lsocket -L/usr/local/freetds/lib
creating t0006 /home/shurst/g++binaries/local/bin/make check-TESTS
make[7]: Entering directory
`/usr/local/freetds/t/freetds-0.51/src/tds/unittests'
dynamic linker: lt-t0001: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0001
dynamic linker: lt-t0002: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0002
dynamic linker: lt-t0003: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0003
dynamic linker: lt-t0004: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0004
dynamic linker: lt-t0005: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0005
dynamic linker: lt-t0006: libtds.so.0 is NEEDED, but object does not exist
Killed
FAIL: t0006
===================
6 of 6 tests failed
===================


On Mon, 30 Apr 2001, Chris Wood wrote:

>
> I started digging into the "make" version I'm running, as you suggested.
> One of my co-workers has a binary of make 3.78.1 off in his own little
> area. It's not in the path anywhere, but I can path to it and compile
> 0.51 without any errors, but I still get a symbol referencing error like
> below (I assume I'm missing a library I need to include). I might be able
> to figure out which library is missing, but still have two questions.
>
> Questions:
>
> 1. Can I simply path to the make without it being in the path? Won't
> "configure" have trouble testing things if it isn't the default compiler?
>
> 2. How do I tell ./configure about the new libs?
>
> Undefined first referenced
> symbol in file
> socket ../.libs/libtds.so
> connect ../.libs/libtds.so
> gethostbyname ../.libs/libtds.so
> getservbyname ../.libs/libtds.so
> inet_ntoa ../.libs/libtds.so
> inet_addr ../.libs/libtds.so
> UX:ld: ERROR: .libs/t0001: fatal error: Symbol referencing errors. No
> output written to .libs/t0001
>





Archive powered by MHonArc 2.6.24.

Top of Page