Skip to Content.
Sympa Menu

freetds - make error on Solaris 2.6 with gcc 2.95.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Gu Zheng-hao <guzh AT lucent.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: make error on Solaris 2.6 with gcc 2.95.1
  • Date: Mon, 22 May 2000 18:51:57 +0800


Hi,
I just download the snapshot version of FreeTDS.
But when I make it on my box, make prompt the errors as following:
=======================================
$ make
Making all in src
make[1]: Entering directory `/home/gzh/freetds/src'
Making all in tds
make[2]: Entering directory `/home/gzh/freetds/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
-DH
AVE_STRFTIME=1 -I. -I. -I../../include -g -O2 -DHW_BIG_ENDIAN -DTDS50
-c me
m.c
rm -f .libs/mem.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../../includ
e -g -O2 -DHW_BIG_ENDIAN -DTDS50 -Wp,-MD,.deps/mem.pp -c -fPIC -DPIC mem.c
-o .
libs/mem.lo
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from
/opt/exp/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/inclu
de/sys/stream.h:16,
from /usr/include/netinet/in.h:38,
from ../../include/tds.h:30,
from mem.c:20:
/opt/exp/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/include/sys/param.h:185
: wa
rning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the previous
defi
nition
In file included from
/opt/exp/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.95.1/inclu
de/sys/stream.h:16,
from /usr/include/netinet/in.h:38,
from ../../include/tds.h:30,
from mem.c:20:
/usr/include/sys/vnode.h:162: parse error before `u_offset_t'
/usr/include/sys/vnode.h:162: warning: no semicolon at end of struct or
union
/usr/include/sys/vnode.h:170: parse error before `}'
/usr/include/sys/vnode.h:170: warning: data definition has no type or
storage cl
ass
/usr/include/sys/vnode.h:278: parse error before `intptr_t'
/usr/include/sys/vnode.h:331: parse error before `u_offset_t'
In file included from ../../include/tds.h:30,
from mem.c:20:
/usr/include/netinet/in.h:156: parse error before `uint32_t'
/usr/include/netinet/in.h:156: warning: no semicolon at end of struct or
union
/usr/include/netinet/in.h:156: warning: no semicolon at end of struct or
union
/usr/include/netinet/in.h:160: warning: data definition has no type or
storage c
lass
/usr/include/netinet/in.h:167: parse error before `}'
/usr/include/netinet/in.h:226: field `sin_addr' has incomplete type
/usr/include/netinet/in.h:286: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:287: field `imr_interface' has incomplete type
In file included from ../../include/tds.h:31,
from mem.c:20:
/usr/include/arpa/inet.h:53: warning: parameter has incomplete type
/usr/include/arpa/inet.h:55: warning: parameter has incomplete type
/usr/include/arpa/inet.h:57: warning: parameter has incomplete type
make[2]: *** [mem.lo] Error 1
make[2]: Leaving directory `/home/gzh/freetds/src/tds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gzh/freetds/src'
make: *** [all-recursive] Error 1
$
=======================================
Could you pls help me to work it out, I need it working well badly.

Best regards,

GZH



  • make error on Solaris 2.6 with gcc 2.95.1, Gu Zheng-hao, 05/22/2000

Archive powered by MHonArc 2.6.24.

Top of Page