Re: wtls

ilker Aktuna <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

Thanks for the reply.
I tried the kwtls patch but could not compile it.
Maybe someone could help me with the following output
from "make".
What is wrong and how can I fix it ?

Thanks...

# make
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o algorithm.o -c
algorithm.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o identifier.o -c
identifier.c
identifier.c: In function `Identifier_create_empty':
identifier.c:58: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o random.o -c random.c
random.c: In function `Random_create_empty':
random.c:57: warning: implicit declaration of function
`bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_event.o -c
wtls_event.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o certificate.o -c
certificate.c
certificate.c: In function
`ToBeSignedCertificate_to_OpaqueVector':
certificate.c:198: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o server_hello.o -c
server_hello.c
server_hello.c: In function
`ServerHello_to_OpaqueVector':
server_hello.c:242: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_handshake.o -c
wtls_handshake.c
wtls_handshake.c: In function `Finished_create_empty':
wtls_handshake.c:51: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o cipher_suite.o -c
cipher_suite.c
cipher_suite.c: In function
`CipherSuiteList_to_OpaqueVector':
cipher_suite.c:321: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o key_exchange.o -c
key_exchange.c
key_exchange.c: In function
`KeyExchangeId_to_OpaqueVector':
key_exchange.c:178: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o udp.o -c udp.c
udp.c: In function `setup_port':
udp.c:84: warning: implicit declaration of function
`bzero'
udp.c: In function `grab_datagram':
udp.c:111: warning: passing arg 5 of `recvfrom' from
incompatible pointer type
udp.c: In function `grab_kannel_datagram':
udp.c:163: warning: passing arg 5 of `recvfrom' from
incompatible pointer type
udp.c: In function `send_datagram':
udp.c:210: warning: passing arg 5 of `sendto' from
incompatible pointer type
udp.c: In function `send_to_kannel_gw':
udp.c:265: warning: passing arg 5 of `sendto' from
incompatible pointer type
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_machine.o -c
wtls_machine.c
wtls_machine.c: In function `WTLSMachine_initialise':
wtls_machine.c:257: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o client_hello.o -c
client_hello.c
client_hello.c: In function
`ClientHello_to_OpaqueVector':
client_hello.c:297: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_record.o -c
wtls_record.c
wtls_record.c: In function
`WTLSPlaintext_to_OpaqueVector':
wtls_record.c:516: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o compression.o -c
compression.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o utils.o -c utils.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_server.o -c
wtls_server.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o conn_state.o -c
conn_state.c
conn_state.c: In function
`SecurityParameters_create_empty':
conn_state.c:60: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o opaque_vector.o -c
opaque_vector.c
opaque_vector.c: In function `OpaqueVector_cat':
opaque_vector.c:104: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wdp.o -c wdp.c
wdp.c: In function `WDPDatagram_destroy':
wdp.c:87: warning: implicit declaration of function
`bzero'
wdp.c: In function `WDPDatagram_connect_kannel':
wdp.c:180: warning: passing arg 2 of `connect' from
incompatible pointer type
wdp.c: In function `WDPDatagram_recv':
wdp.c:227: warning: passing arg 5 of `recvfrom' from
incompatible pointer type
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_states.o -c
wtls_states.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o dh_parameters.o -c
dh_parameters.c
dh_parameters.c: In function
`DHParameters_to_OpaqueVector':
dh_parameters.c:169: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o param_specifier.o -c
param_specifier.c
param_specifier.c: In function
`ParameterSet_to_OpaqueVector':
param_specifier.c:236: warning: implicit declaration
of function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_alert.o -c
wtls_alert.c
wtls_alert.c: In function `WTLSAlert_create_empty':
wtls_alert.c:59: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o ec_parameters.o -c
ec_parameters.c
ec_parameters.c: In function
`ECCurve_to_OpaqueVector':
ec_parameters.c:176: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o prf.o -c prf.c
prf.c: In function `P_hash':
prf.c:89: warning: implicit declaration of function
`bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o public_key.o -c
public_key.c
public_key.c: In function
`XYZPublicKey_to_OpaqueVector':
public_key.c:204: warning: implicit declaration of
function `bzero'
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o wtls_encrypt.o -c
wtls_encrypt.c
wtls_encrypt.c: In function `compute_alert_checksum':
wtls_encrypt.c:182: warning: implicit declaration of
function `bzero'
ar rc libwtls.a algorithm.o identifier.o random.o
wtls_event.o certificate.o server_hello.o
wtls_handshake.o cipher_suite.o key_exchange.o udp.o
wtls_machine.o client_hello.o wtls_record.o
compression.o utils.o wtls_server.o conn_state.o
opaque_vector.o wdp.o wtls_states.o dh_parameters.o
param_specifier.o wtls_alert.o ec_parameters.o prf.o
public_key.o wtls_encrypt.o  
ranlib libwtls.a
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o kwtls.o -c kwtls.c
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -o fake_wtls.o -c
fake_wtls.c
fake_wtls.c: In function `connect_to_wtls':
fake_wtls.c:311: warning: implicit declaration of
function `bzero'
fake_wtls.c:315: warning: passing arg 2 of `connect'
from incompatible pointer type
fake_wtls.c: In function `fake_wtls':
fake_wtls.c:356: warning: passing arg 5 of `recvfrom'
from incompatible pointer type
cc -Wall -D_REENTRANT=1 -g -I/usr/include/gnome-xml
-I. -I/usr/local/ssl/include -L/usr/local/ssl/lib -o
kwtls kwtls.o libwtls.a -lz -lpthread -lnsl -lm 
-L/usr/lib -lxml -lz -lcrypto
Undefined                       first referenced
 symbol                             in file
socket                              libwtls.a(udp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
send                                libwtls.a(wdp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
bind                                libwtls.a(udp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
inet_aton                           libwtls.a(udp.o)
sendto                              libwtls.a(udp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
recvfrom                            libwtls.a(udp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
connect                             libwtls.a(wdp.o) 
(symbol belongs to implicit dependency
/usr/lib/libsocket.so.1)
ld: fatal: Symbol referencing errors. No output
written to kwtls
collect2: ld returned 1 exit status
make: *** [kwtls] Error 1




--- Stipe Tolj <[email protected]> wrote:
> > Is there any wtls workaround in Kannel 1.3.1 ?
> > Or is there a working patch that enables wtls in
> 1.3.1
> > ?
> 
> no, WTLS is in pre-alpha stage *within* Kannel. You
> can use the kwtls
> application for WTLS interfacing, see 'other
> projects' and/or
> 'add-ons' on the web site.
> 
> But we'd really appritiate if someone get's his
> crypt'ick hands on it
> ;)
> 
> Stipe
> 
> [email protected]
>
-------------------------------------------------------------------
> Wapme Systems AG
> 
> Vogelsanger Weg 80
> 40470 Düsseldorf
> 
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
> 
> E-Mail: [email protected]
> Internet: http://www.wapme-systems.de
>
-------------------------------------------------------------------
> wapme.net - wherever you are


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.