[Sipsak] Failure to build SIPSAK with SRV support dependency on
Solaris 9
peter.3.edwards at bt.com
peter.3.edwards at bt.com
Thu Nov 10 17:53:34 CET 2005
Hi,
I'm trying to compile SIPSAK with SRV support on Solaris 9 using gcc
3.3.2 and openssl 0.9.7i (the latter also compiled from source).
I've managed to source a copy of liboops 1.0 (not currently available
from the main site) but I'm having trouble compiling libruli - shell log
included below.
Any help would be gratefully received. Has anyone actually managed to
build SIPSAK with SRV support on Solaris?
Many thanks,
Peter.
--
Peter Edwards
This Personal email contains my own opinions, sent In
Confidence and does not represent the views of British
Telecommunications plc.
__________________________________________________________________
British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000
This electronic message contains information from British
Telecommunications plc which may be privileged and
confidential. The information is intended to be for the use of
the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the number
or address above) immediately.
Activity and use of the British Telecommunications plc
email system is monitored to secure its effective operation
and for other lawful business purposes. Communications using
this system will also be monitored and may be recorded to
secure effective operation and for other lawful business purposes.
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
# cd tmp
# gunzip ruli_0.35.orig.tar.gz
# tar xvf ruli_0.35.orig.tar
x ruli-0.35, 0 bytes, 0 tape blocks
<SNIP>
# cd rul*
# ls -al
total 288
drwxr-xr-x 11 1017 1017 919 Sep 1 12:17 .
drwxrwxrwt 7 root sys 760 Nov 10 14:53 ..
-rw-r--r-- 1 1017 1017 18007 Nov 28 2002 COPYING
-rw-r--r-- 1 1017 1017 565 Jun 24 2004 Makefile
-rw-r--r-- 1 1017 1017 4467 Jun 14 2004 README
-rw-r--r-- 1 1017 1017 10466 Aug 31 11:43 TODO
drwxr-xr-x 3 1017 1017 243 Sep 1 12:17 doc
drwxr-xr-x 2 1017 1017 587 Sep 1 12:17 guile
drwxr-xr-x 3 1017 1017 305 Sep 1 12:17 java
drwxr-xr-x 2 1017 1017 573 Sep 1 12:17 lua
drwxr-xr-x 3 1017 1017 178 Sep 1 12:17 perl
drwxr-xr-x 3 1017 1017 241 Sep 1 12:17 php
drwxr-xr-x 2 1017 1017 1330 Sep 1 12:17 sample
drwxr-xr-x 2 1017 1017 3180 Sep 1 12:17 src
drwxr-xr-x 3 1017 1017 2820 Sep 1 12:17 tools
# cd src
# ls
Makefile ruli_host.h ruli_oop.h ruli_sock.h
libruli.ver ruli_http.c ruli_parse.c ruli_srv.c
ruli.h ruli_http.h ruli_parse.h ruli_srv.h
ruli_addr.c ruli_isaac.c ruli_rand.c ruli_sync.c
ruli_addr.h ruli_isaac.h ruli_rand.h ruli_sync.h
ruli_conf.c ruli_limits.h ruli_res.c ruli_txt.c
ruli_conf.h ruli_list.c ruli_res.h ruli_txt.h
ruli_fsm.c ruli_list.h ruli_search.c ruli_util.c
ruli_fsm.h ruli_mem.c ruli_search.h ruli_util.h
ruli_getaddrinfo.c ruli_mem.h ruli_smtp.c
ruli_getaddrinfo.h ruli_msg.c ruli_smtp.h
ruli_host.c ruli_msg.h ruli_sock.c
# ls /usr/local/lib
libcrypto.a liboop-glib2.so.0.0.0 liboop.so.4.0.1
liboop-glib2.a liboop.a libssl.a
liboop-glib2.la liboop.la pkgconfig
liboop-glib2.so liboop.so ser
liboop-glib2.so.0 liboop.so.4
# make OOP_BASE_DIR=/usr/local/lib build
rm -f *~ .*~ *.o *.os *.so *.a *.so.*
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g
-shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_isaac.os -c ruli_isaac.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g
-shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_mem.os -c ruli_mem.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g
-shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_rand.os -c ruli_rand.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -Wall -g -shared
-D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_util.os -c ruli_util.c
ruli_util.c: In function `ruli_memrchr':
ruli_util.c:67: warning: cast discards qualifiers from pointer target
type
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -Werror -O2 -pipe -Wall -g
-shared -D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_list.os -c ruli_list.c
gcc -fPIC -pedantic -ansi -Wshadow -Wpointer-arith -Wcast-qual
-Wcast-align -Wwrite-strings -Wredundant-decls -Wnested-externs
-Wmissing-prototypes -Wstrict-prototypes -O2 -pipe -Wall -g -shared
-D_REENTRANT -D_RULI_SOLARIS_ -I. -I/usr/local/lib/include -o
ruli_addr.os -c ruli_addr.c
ruli_addr.c: In function `ruli_addr_size':
ruli_addr.c:87: warning: `size' might be used uninitialized in this
function
ruli_addr.c: In function `ruli_addr_src_get_addr':
ruli_addr.c:161: warning: cast discards qualifiers from pointer target
type
ruli_addr.c:164: warning: cast discards qualifiers from pointer target
type
ruli_addr.c:155: warning: `ad' might be used uninitialized in this
function
ruli_addr.c: In function `search_forward':
ruli_addr.c:221: warning: integer overflow in expression
ruli_addr.c:221: warning: integer overflow in expression
ruli_addr.c: In function `search_backward':
ruli_addr.c:264: warning: integer overflow in expression
ruli_addr.c:264: warning: integer overflow in expression
ruli_addr.c: At top level:
ruli_addr.c:599: warning: missing braces around initializer
ruli_addr.c:599: warning: (near initialization for
`default_label[0].prefix._S6_un')
ruli_addr.c:607: warning: missing braces around initializer
ruli_addr.c:607: warning: (near initialization for
`default_precedence[0].prefix._S6_un')
ruli_addr.c: In function `match_prefix':
ruli_addr.c:670: warning: missing braces around initializer
ruli_addr.c:670: warning: (near initialization for `tmp._S6_un')
ruli_addr.c:674: warning: missing braces around initializer
ruli_addr.c:674: warning: (near initialization for `tmp._S6_un')
ruli_addr.c:680: error: structure has no member named `s6_addr16'
ruli_addr.c:681: error: structure has no member named `s6_addr32'
make: *** [ruli_addr.os] Error 1
#
More information about the Sipsak
mailing list