freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Mike Groeneweg <mikeg AT scorpion.murdoch.edu.au>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: compile problem - login.c - CVS version
- Date: Thu, 20 Apr 2000 13:32:11 +0800
I have just checked out the latest CVS copy, and tried to compile
freetds on a Solaris 7.0 box, using gcc.
In ./src/tds/login.c - my compile is bugging out.... it doesn't like
'FIONBIO'.
-----------------------------------------
/* Jeff's hack *** START OF NEW CODE *** */
if (login->connect_timeout) {
start = time (NULL);
ioctl_blocking = 1; /* ~0; //TRUE; */
if (IOCTL(tds->s, FIONBIO, &ioctl_blocking) < 0) {
return NULL;
}
connect(tds->s, (struct sockaddr *) &sin, sizeof(sin));
-----------------------------------------
scorpion>make
Making all in src
make[1]: Entering directory `/opt/local/src/freetds/freetds_2004/src'
Making all in tds
make[2]: Entering directory
`/opt/local/src/freetds/freetds_2004/src/tds'
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.50\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1
-DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_STRFTIME=1 -I. -I.
-I../../include -g -O2 -DHW_BIG_ENDIAN -DTDS42 -c login.c
rm -f .libs/login.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.50\" -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DWORDS_BIGENDIAN=1
-DHAVE_STRFTIME=1 -I. -I. -I../../include -g -O2 -DHW_BIG_ENDIAN -DTDS42
-Wp,-MD,.deps/login.pp -c -fPIC -DPIC login.c -o .libs/login.lo
login.c: In function `tds_connect':
login.c:176: `FIONBIO' undeclared (first use in this function)
login.c:176: (Each undeclared identifier is reported only once
login.c:176: for each function it appears in.)
make[2]: *** [login.lo] Error 1
make[2]: Leaving directory `/opt/local/src/freetds/freetds_2004/src/tds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/src/freetds/freetds_2004/src'
make: *** [all-recursive] Error 1
Any help/pointers appreciated.
Mike Groeneweg
--
-=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=-
,-._|\ M.Groeneweg AT murdoch.edu.au
/ Oz \ Workstation & Network Officer
x_,--._/ ITS Murdoch University
v Western Australia
Ph: (+618) 9360 2766 Fax: (+618) 9360 6156
``Vi is my shepherd, I shall not font.''
-
compile problem - login.c - CVS version,
Mike Groeneweg, 04/20/2000
- <Possible follow-up(s)>
- Re: compile problem - login.c - CVS version, Brian Bruns, 04/20/2000
- Re: compile problem - login.c - CVS version, Martin Spott, 04/24/2000
Archive powered by MHonArc 2.6.24.