[cvsnt-dev] Compiling on XP using CYGWIN

Farrell, Jerry D jfarrell at utk.edu
Mon Mar 20 13:31:37 UTC 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Good morning all,
 
I need a little direction trying to compile cvsnt on a XP Pro box using
cygwin. I get the following error:
 
$ make
make  all-recursive
make[1]: Entering directory `/home/jfarrell/cvsnt-2.5.03.2151'
Making all in lib
make[2]: Entering directory `/home/jfarrell/cvsnt-2.5.03.2151/lib'
source='getaddrinfo.c' object='getaddrinfo.o' libtool=no \
depfile='.deps/getaddrinfo.Po' tmpdepfile='.deps/getaddrinfo.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src  -I../src  -I/usr/include
-DCVS_CONFIG
_DIR=\"/etc/cvsnt\" -DCVS_LIBRARY_DIR=\"/usr/local/lib/cvsnt\" -g -O2 -c
`test -
f 'getaddrinfo.c' || echo './'`getaddrinfo.c
In file included from getaddrinfo.c:16:
socket.h:11: error: redefinition of `struct sockaddr_storage'
getaddrinfo.c: In function `malloc_ai':
getaddrinfo.c:49: error: invalid application of `sizeof' to incomplete
type `soc
kaddr_in'
getaddrinfo.c:53: error: invalid application of `sizeof' to incomplete
type `soc
kaddr_in'
getaddrinfo.c:57: error: invalid application of `sizeof' to incomplete
type `soc
kaddr_in'
getaddrinfo.c:61: error: dereferencing pointer to incomplete type
getaddrinfo.c:62: error: dereferencing pointer to incomplete type
getaddrinfo.c: In function `getaddrinfo':
getaddrinfo.c:72: error: storage size of 'in' isn't known
getaddrinfo.c:109: error: dereferencing pointer to incomplete type
make[2]: *** [getaddrinfo.o] Error 1
make[2]: Leaving directory `/home/jfarrell/cvsnt-2.5.03.2151/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jfarrell/cvsnt-2.5.03.2151'
make: *** [all] Error 2
 
I have downloaded all packages for cygwin and they are up to date as of
this weekend. I am using the configure program to set up the project,
but as you can see I have been unsuccessful. Is there a trick to
compiling this code on a windows box and if so could you let me in on
it. Or do I need something else to compile the project. My target system
will be XP Pro. Any help someone can give me would be appreciated.
 
 
Thanks and have a great day!
 
Farrell, Jerry D 
Internet Programmer/Analyst 
 
The University of Tennessee
OIT Web Services Group
111 Student Services Building 
1331 Circle Park 
Knoxville, TN 37996-0211 
 
Local Phone:  (865) 679-5949
Office Phone: (865) 974-8445
 


More information about the cvsnt-dev mailing list