This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Trying to compile siproxd on cygwin
- From: Nelson Pereira <npereira at videotron dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 30 May 2006 09:22:14 -0400
- Subject: Trying to compile siproxd on cygwin
- Reply-to: npereira at videotron dot ca
Has anyone done this successfuly?
Running latest cygwin.
Here is what I did:
Compiled libosip successfully:
$ locate libosip
/usr/local/lib/libosip2.a
/usr/local/lib/libosip2.dll.a
/usr/local/lib/libosip2.la
/usr/local/lib/libosipparser2.a
/usr/local/lib/libosipparser2.dll.a
/usr/local/lib/libosipparser2.la
/usr/local/lib/pkgconfig/libosip2.pc
Configure siproxd:
$ ./configure --with-libosip-prefix=/usr/local
Configs is fine with no errors...
Then the Make: This is where it fails !
$ make
make all-recursive
make[1]: Entering directory `/usr/src/siproxd-0.5.12'
Making all in src
make[2]: Entering directory `/usr/src/siproxd-0.5.12/src'
incrementing BUILD number
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall
-D_GNU_SOURCE -
DBUILDSTR="\"`cat .buildno`\"" -g -O2 -D_POSIX_THREAD_SAFE_FUNCTIONS
-MT resolv
e.o -MD -MP -MF ".deps/resolve.Tpo" \
-c -o resolve.o `test -f 'resolve.c' || echo './'`resolve.c; \
then mv -f ".deps/resolve.Tpo" ".deps/resolve.Po"; \
else rm -f ".deps/resolve.Tpo"; exit 1; \
fi
resolve.c:23:26: arpa/nameser.h: No such file or directory
resolve.c:24:20: resolv.h: No such file or directory
resolve.c: In function `resolve_SRV':
resolve.c:43: error: `T_SRV' undeclared (first use in this function)
resolve.c:43: error: (Each undeclared identifier is reported only once
resolve.c:43: error: for each function it appears in.)
resolve.c: In function `resolve_NAPTR':
resolve.c:51: error: `T_NAPTR' undeclared (first use in this function)
resolve.c: In function `_resolve':
resolve.c:62: error: `C_ANY' undeclared (first use in this function)
resolve.c:65: error: `PACKETSZ' undeclared (first use in this function)
resolve.c:69: error: `HEADER' undeclared (first use in this function)
resolve.c:69: error: `res_header' undeclared (first use in this
function)
resolve.c:72: error: `MAXDNAME' undeclared (first use in this function)
resolve.c:90: warning: implicit declaration of function `res_query'
resolve.c:96: error: parse error before ')' token
resolve.c:105: warning: implicit declaration of function `dn_expand'
resolve.c:139: error: `T_NAPTR' undeclared (first use in this function)
resolve.c:183: error: `T_SRV' undeclared (first use in this function)
resolve.c:65: warning: unused variable `msg'
resolve.c:72: warning: unused variable `exp_dn'
resolve.c:83: warning: unused variable `tmpname'
make[2]: *** [resolve.o] Error 1
make[2]: Leaving directory `/usr/src/siproxd-0.5.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/siproxd-0.5.12'
make: *** [all] Error 2
Can anyone help?
Regards,
Nelson Pereira
www.npereira.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/