[Sipsak] (no subject)
peter.3.edwards at bt.com
peter.3.edwards at bt.com
Mon Nov 21 12:33:08 CET 2005
> Hi Peter,
>
> please try the just released version 0.9.5. For me it
> compiles and runs on
> CygWin. In case just try the new executable from the download
> directory.
>
> Greetings
> Nils
Hi, Nils.
First up, congrats and thanks for the new release. I was able to
download and compile it under both cygwin and Solaris 9 (altho the first
time I compiled it with cygwin, I did it with the gnutls software which
meant it wouldn't run the executable without a load of other cygwin
DLLs. I compared mine to yours and realised if I compiled it against
the internal MD5 implementation, it doesn't require any of the other
DLLs except the main cygwin1.dll).
I did, however, push the envelope a bit :) and tried to see if I could
compile a Windows binary with SRV support (as that's a requirement for
my SIP environment here - which is why I had so much trouble with the
Solaris compilation).
Although I think you've done far more than I could have hopefully
expected, I thought I'd detail my attempt here, in case it is of
interest.
Of the two DNS resolvers sipsak supports, I could only find evidence of
cygwin support for c-ares:
Re: [GTG] Re: [ITP] c-ares-1.3.0,
http://sources.redhat.com/ml/cygwin-apps/2005-11/threads.html#00050
This mailing list thread indicates that c-ares will shortly find it's
way into the main distribution. In the meantime, there is a link in the
thread to a binary .tar.bz2 archive. By executing this command from the
cygwin / directory:
bunzip2 -c %path_to_archive%/c-ares-1.3.0-1.tar.bz2 | tar xvf -
I was able to install c-ares into my cygwin installation.
Unfortunately, although the sipsak configure script picks up the
presence of c-ares, the make itself fails. I assume (as your
cygwin-compiled binary does not include SRV support) this is because you
haven't yet tested c-ares support under cygwin?
Anyway, that's about as far as I got. Not being a C coder, I didn't get
much further than working out that the arpa/nameser.h appears to be
missing in the cygwin environment. A google search didn't throw up
anything obvious for me. C'est la vie.
Thanks again for all your help!
Peter.
~/desktop/sipsak/sipsak-0.9.5
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /cygdrive/c/Documents: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc accepts -fstack-protector... no
checking for distcc... not requested
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for netinet/ip.h... yes
checking for netinet/udp.h... yes
checking for netinet/ip_icmp.h... yes
checking cygwin/icmp.h usability... yes
checking cygwin/icmp.h presence... yes
checking for cygwin/icmp.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached)
yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for getchar... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getopt... yes
checking for getpid... yes
checking for gettimeofday... yes
checking for memset... yes
checking for ntohs... yes
checking for regcomp... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strcmp... yes
checking for strstr... yes
checking for strtol... yes
checking for uname... yes
checking for calloc... yes
checking for getdomainname... yes
checking for getopt_long... yes
checking for inet_ntop... yes
checking for strncasecmp... yes
checking for strcasestr... no
checking disabled gnutls... not requested
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... yes
checking for ares_version.h... found at /usr/include
checking for c-ares lib... found at /usr/lib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
~/desktop/sipsak/sipsak-0.9.5
$ make
make all-am
make[1]: Entering directory `/cygdrive/c/Documents and
Settings/samwise/desktop/sipsak/sipsak-0.9.5'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I/usr/include
-I/usr/include -I/usr/include -MT auth.o -MD -MP -MF ".deps/auth.Tpo" -c
-o auth.o auth.c; \
then mv -f ".deps/auth.Tpo" ".deps/auth.Po"; else rm -f
".deps/auth.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I/usr/include
-I/usr/include -I/usr/include -MT header_f.o -MD -MP -MF
".deps/header_f.Tpo" -c -o header_f.o header_f.c; \
then mv -f ".deps/header_f.Tpo" ".deps/header_f.Po"; else rm -f
".deps/header_f.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -Wall -I/usr/include
-I/usr/include -I/usr/include -MT helper.o -MD -MP -MF
".deps/helper.Tpo" -c -o helper.o helper.c; \
then mv -f ".deps/helper.Tpo" ".deps/helper.Po"; else rm -f
".deps/helper.Tpo";exit 1; fi
helper.c:49:27: arpa/nameser.h: No such file or directory
helper.c: In function `parse_rr':
helper.c:150: error: `NS_RRFIXEDSZ' undeclared (first use in this
function)
helper.c:150: error: (Each undeclared identifier is reported only once
helper.c:150: error: for each function it appears in.)
helper.c: In function `skip_rr':
helper.c:230: error: `NS_RRFIXEDSZ' undeclared (first use in this
function)
helper.c: In function `skip_query':
helper.c:246: error: `NS_QFIXEDSZ' undeclared (first use in this
function)
helper.c: In function `cares_callback':
helper.c:272: error: `NS_HFIXEDSZ' undeclared (first use in this
function)
make[1]: *** [helper.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/samwise/desktop/sipsak/sipsak-0.9.5'
make: *** [all] Error 2
~/desktop/sipsak/sipsak-0.9.5
$
More information about the Sipsak
mailing list