WTL_patch_lxml error!
"Ivone Uribe" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all again! Now, I'm trying to install the wtls_patch for the kannel gateway. But when I execute " make " for this patch (wtls_patch) I get an error! [root@WAP_GATEWAY wtls]# make gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o algorithm.o -c algorithm.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o certificate.o -c certificate.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o cipher_suite.o -c cipher_suite.c .............. ............. gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o fake_wtls.o -c fake_wtls.c fake_wtls.c: In function `connect_to_wtls': fake_wtls.c:257: warning: passing arg 2 of `connect' from incompatible pointer type fake_wtls.c: In function `fake_wtls': fake_wtls.c:298: warning: passing arg 5 of `recvfrom' from incompatible pointer type gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o identifier.o -c identifier.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o key_exchange.o -c key_exchange.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o opaque_vector.o -c opaque_vector.c ............. ........... I/usr/local/ssl/include -I. -o random.o -c random.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o server_hello.o -c server_hello.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o udp.o -c udp.c udp.c: In function `grab_datagram': udp.c:109: warning: passing arg 5 of `recvfrom' from incompatible pointer type udp.c: In function `grab_kannel_datagram': udp.c:159: warning: passing arg 5 of `recvfrom' from incompatible pointer type udp.c: In function `send_datagram': udp.c:203: warning: passing arg 5 of `sendto' from incompatible pointer type udp.c: In function `send_to_kannel_gw': udp.c:254: warning: passing arg 5 of `sendto' from incompatible pointer type gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o utils.o -c utils.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wdp.o -c wdp.c wdp.c: In function `WDPDatagram_connect_kannel': wdp.c:164: warning: passing arg 2 of `connect' from incompatible pointer type wdp.c: In function `WDPDatagram_recv': wdp.c:204: warning: passing arg 5 of `recvfrom' from incompatible pointer type gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wtls_alert.o -c wtls_alert.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wtls_box.o -c wtls_box.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wtls_encrypt.o -c wtls_encrypt.c .......... .................... I/usr/local/ssl/include -I. -o wtls_server.o -c wtls_server.c gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wtls_states.o -c wtls_states.c ar rc libwtls.a algorithm.o certificate.o cipher_suite.o client_hello.o compression.o conn_state.o dh_parameters.o ec_parameters.o fake_wtls.o identifier.o key_exchange.o opaque_vector.o param_specifier.o prf.o public_key.o random.o server_hello.o udp.o utils.o wdp.o wtls_alert.o wtls_box.o wtls_encrypt.o wtls_event.o wtls_handshake.o wtls_machine.o wtls_record.o wtls_server.o wtls_states.o ranlib libwtls.a gcc -D_REENTRANT=1 -g -O2 -I/usr/include/libxml -I/usr/local/ssl/include -I. -o wtls_box wtls_box.o libwtls.a -lz -lpthread -lnsl -lm -L/usr/lib -lxml -lz -L/usr/local/ssl/lib -lcrypto /usr/bin/ld: cannot find -lxml collect2: ld returned 1 exit status make: *** [wtls_box] Error 1 I don't understand the cause for this error: "/usr/bin/ld: cannot find -lxml. " I have the libxml2-devel-2.4.2-1...rpm and the libxml2-2.4.2-1...rpm installed. I set this variables LD_LIBRARY_PATH=/usr/lib, LD_RUN_PATH=/usr/lib, but the error stay. Do I need another library like "libxml1" or maybe I need set any variable? Please, anyone can help me? Any idea? Thanks in advance, Ivone _________________________________________________________________ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx