[Sipsak] Building sipsak using cygwin

peter.3.edwards at bt.com peter.3.edwards at bt.com
Fri Nov 18 17:07:21 CET 2005


Alright.

I'm a glutton for punishment.  I have a laptop and an event coming up on
a remote site shortly and I thought being able to take sipsak with me
might be a good idea.

I don't want to spend ages on it, but what libraries should I need
within cygwin to compile sipsak?

I installed cygwin with those libraries I thought would be required -
the ones related to openssl and gnutls, but I get the following error
when I compile the latest src.  (in fact it doesn't seem to be able to
find openssl even though I have it installed.  That shouldn't be a
problem though as it prefers gnutls which it has found).

Is there a list of required cygwin packages anywhere?

I was hoping it'd be easy and then I could contribute a binary back to
the project to replace the aging 0.8.8 release on the FTP site.

Cheers,

Peter.

myuser at mycomp ~
$ cd desktop/sipsak/sipsak-0.9.5pre

myuser at mycomp ~/desktop/sipsak/sipsak-0.9.5pre
$ ./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 openssl/md5.h usability... no
checking openssl/md5.h presence... no
checking for openssl/md5.h... no
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 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
checking for c-ares lib... not found
checking for ruli.h... found at
checking for libruli... not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

myuser at mycomp ~/desktop/sipsak/sipsak-0.9.5pre
$ make
make  all-am
make[1]: Entering directory `/cygdrive/c/Documents and
Settings/myuser/desktop/sipsak/sipsak-0.9.5pre'
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -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 -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 -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
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c;
\
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo";
exit 1; fi
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT request.o -MD -MP -MF ".deps/request.Tpo" -c -o
request.o request.c; \
then mv -f ".deps/request.Tpo" ".deps/request.Po"; else rm -f
".deps/request.Tpo"; exit 1; fi
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT shoot.o -MD -MP -MF ".deps/shoot.Tpo" -c -o shoot.o
shoot.c; \
then mv -f ".deps/shoot.Tpo" ".deps/shoot.Po"; else rm -f
".deps/shoot.Tpo"; exit 1; fi
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT sipsak.o -MD -MP -MF ".deps/sipsak.Tpo" -c -o
sipsak.o sipsak.c; \
then mv -f ".deps/sipsak.Tpo" ".deps/sipsak.Po"; else rm -f
".deps/sipsak.Tpo"; exit 1; fi
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT exit_code.o -MD -MP -MF ".deps/exit_code.Tpo" -c -o
exit_code.o exit_code.c; \
then mv -f ".deps/exit_code.Tpo" ".deps/exit_code.Po"; else rm -f
".deps/exit_code.Tpo"; exit 1; fi
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -I/usr/include
-I/usr/include -MT transport.o -MD -MP -MF ".deps/transport.Tpo" -c -o
transport.o transport.c; \
then mv -f ".deps/transport.Tpo" ".deps/transport.Po"; else rm -f
".deps/transport.Tpo"; exit 1; fi
transport.c: In function `recv_message':
transport.c:420: error: dereferencing pointer to incomplete type
transport.c:420: error: dereferencing pointer to incomplete type
make[1]: *** [transport.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Documents and
Settings/myuser/desktop
/sipsak/sipsak-0.9.5pre'
make: *** [all] Error 2

myuser at mycomp ~/desktop/sipsak/sipsak-0.9.5pre
$


More information about the Sipsak mailing list