[Sipsak] Failure to build SIPSAK with SRV support dependency on Solaris 9

peter.3.edwards at bt.com peter.3.edwards at bt.com
Fri Nov 11 12:56:13 CET 2005


Hi, nils.

> In my case the libruli author was very responsive. But in 
> case of Solaris many 
> open source developers simply do not have any system available for 
> development/testing. Although it might be worth installing 
> Solaris 10 on x86 
> now.

Yeah, I might try emailing directly if I can find an address.  No
immediate response from the bug report (tho I have only just submitted
it!).
 
> This is both not worth mentioning on the web page, but both 
> worth fixing it. 
> If you can send me the compiler output I'll try to fix both.
> Theorectically sipsak should even compile without openssl, as 
> is has it own 
> MD5 implementation as fall back.
> 
>   Nils

Problem is, now that I've installed openssl 0.9.7i, I'm not really sure
there's a way for me to go back - there's no make uninstall option, for
example.

I did make a note of the make problems I was having in some internal
newsgroup postings so included below is what I've been able to dig up.
Hope it's of use!

Peter.

-- 
Peter Edwards
tel +44 (0) 1473 606492

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. 



Running make on SPARC Solaris 9 without openssl installed
---------------------------------------------------------

# make
make  all-am
make[1]: Entering directory `/opt/sipsak-0.9.2'
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -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
In file included from md5.c:33:
md5.h:49: error: parse error before "UINT4"
md5.h:49: warning: no semicolon at end of struct or union
md5.h:50: warning: type defaults to `int' in declaration of `count'
md5.h:50: warning: data definition has no type or storage class
md5.h:52: error: parse error before '}' token
md5.h:52: warning: type defaults to `int' in declaration of `MD5_CTX'
md5.h:52: warning: data definition has no type or storage class
md5.h:54: error: parse error before "PROTO_LIST"
md5.h:55: error: parse error before "PROTO_LIST"
md5.h:57: error: parse error before "PROTO_LIST"
md5.c:121: error: parse error before "MD5_CTX"
md5.c:121: warning: type defaults to `int' in declaration of `context'
md5.c:121: warning: data definition has no type or storage class
md5.c:122: error: parse error before '{' token
md5.c:137: error: parse error before "MD5_CTX"
md5.c:137: warning: type defaults to `int' in declaration of `context'
md5.c:137: warning: data definition has no type or storage class
md5.c:140: error: parse error before '{' token
md5.c:144: warning: type defaults to `int' in declaration of `index'
md5.c:144: warning: built-in function `index' declared as non-function
md5.c:144: error: request for member `count' in something not a
structure or
union
md5.c:144: warning: data definition has no type or storage class
md5.c:147: error: parse error before "if"
md5.c:153: warning: type defaults to `int' in declaration of `partLen'
md5.c:153: error: initializer element is not constant
md5.c:153: warning: data definition has no type or storage class
md5.c:157: error: parse error before "if"
md5.c:160: error: parse error before '->' token
md5.c:160: warning: type defaults to `int' in declaration of
`MD5Transform'
md5.c:160: error: conflicting types for `MD5Transform'
md5.c:69: error: previous declaration of `MD5Transform'
md5.c:160: warning: data definition has no type or storage class
md5.c:165: warning: type defaults to `int' in declaration of `index'
md5.c:165: error: redefinition of `index'
md5.c:144: error: `index' previously defined here
md5.c:165: warning: data definition has no type or storage class
md5.c:166: error: parse error before '}' token
md5.c:172: error: parse error before '(' token
md5.c: In function `MD5Final':
md5.c:181: error: parse error before "MD5_CTX"
md5.c:187: error: invalid type argument of `->'
md5.c:191: error: invalid type argument of `->'
md5.c:193: warning: implicit declaration of function `MD5Update'
md5.c:199: error: invalid type argument of `->'
md5.c:203: error: invalid type argument of `unary *'
md5.c: At top level:
md5.c:209: error: conflicting types for `MD5Transform'
md5.c:160: error: previous declaration of `MD5Transform'
md5.c:211: warning: `MD5Transform' defined but not used
md5.c:338: warning: `MD5_memcpy' defined but not used
make[1]: *** [md5.o] Error 1
make[1]: Leaving directory `/opt/sipsak-0.9.2'
make: *** [all] Error 2
#

Running make on SPARC Solaris 9 with openssl 0.9.8a package
[http://www.ibiblio.org/pub/packages/solaris/sparc/] installed
--------------------------------------------------------------

# make
make  all-am
make[1]: Entering directory `/opt/sipsak-0.9.2'
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -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 -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 -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: In function `get_fqdn':
helper.c:202: warning: implicit declaration of function `getdomainname'
helper.c: In function `is_number':
helper.c:349: warning: subscript has type `char'
if  gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -Wall -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
In file included from md5.h:36,
                 from md5.c:33:
/usr/local/include/openssl/md5.h:108: error: parse error before "size_t"
/usr/local/include/openssl/md5.h:110: error: parse error before "size_t"
make[1]: *** [md5.o] Error 1
make[1]: Leaving directory `/opt/sipsak-0.9.2'
make: *** [all] Error 2
#


More information about the Sipsak mailing list