[AWS] Link errors
Dominique Casserres
Dominique.Casserres at valtech.fr
Thu Jul 27 18:38:42 CEST 2006
Hello all,
I would like to test the wsdl2aws tool.
More than that I would like my callback calls some ADA code an that is
code is generated automatically.
But the point is not there.
I used the command : $ wsdl2aws -cb -main server -types Hello_Demo_IF -q
-f -doc hello.wsdl
Then I have created a project to include all these files.
with "aws";
project Essai is
for Object_Dir use "obj";
for Main use ("server.adb");
package Linker is for Default_Switches ("Ada") use ("-lcrypto",
"-lssl"); end Linker;
end Essai;
Here is the result of the compilation and likn.
gnatmake -PC:\ada\testaws\essai.gpr server.adb -d
gcc -c -I- -gnatA C:\ada\testaws\server.adb
gcc -c -I- -gnatA C:\ada\testaws\hello_demo.ads
gcc -c -I- -gnatA C:\ada\testaws\hello_demo-cb.adb
gcc -c -I- -gnatA C:\ada\testaws\hello_demo-server.adb
gcc -c -I- -gnatA C:\ada\testaws\hello_demo-types.ads
gcc -c -I- -gnatA C:\ada\testaws\hello_demo_if.adb
gnatbind -shared -I- -x c:\ada\testaws\obj\server.ali
gnatlink c:\ada\testaws\obj\server.ali -shared-libgcc -lcrypto -lssl
-Lc:\tools\gpl_2006\lib\aws -laws -Lc:\tools\gpl_2006\lib\aws -lai302
-Lc:\tools\gpl_2006\lib\aws -laws_include -Lc:\tools\gpl_2006\lib\aws
-laws_ssl -Lc:\tools\gpl_2006\lib\aws -lz -Lc:\tools\gpl_2006\lib\xmlada
-lxmlada_dom -Lc:\tools\gpl_2006\lib\xmlada -lxmlada_schema
-Lc:\tools\gpl_2006\lib\xmlada -lxmlada_sax
-Lc:\tools\gpl_2006\lib\xmlada -lxmlada_input_sources
-Lc:\tools\gpl_2006\lib\xmlada -lxmlada_unicode -o
c:\ada\testaws\obj\server.exe
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0x33a): undefined reference to `SSLeay'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xc0c): undefined reference to
`CRYPTO_set_id_callback'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xc18): undefined reference to
`CRYPTO_set_locking_callback'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xc24): undefined reference to
`CRYPTO_set_dynlock_create_callback'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xc30): undefined reference to
`CRYPTO_set_dynlock_lock_callback'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xc3c): undefined reference to
`CRYPTO_set_dynlock_destroy_callback'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xe02): undefined reference to `SSL_set_accept_state'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xecd): undefined reference to
`SSL_set_connect_state'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xfca): undefined reference to `SSL_do_handshake'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.text+0xfe3): undefined reference to `SSL_get_error'
..... MORE ERRORS ......
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl__openssl.o):aws-net-ssl__
openssl.adb:(.rdata+0x32c): undefined reference to `SSLv3_client_method'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl-certificate__openssl.o):a
ws-net-ssl-certificate__openssl.adb:(.text+0x33b): undefined reference
to `SSL_get_peer_certificate'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl-certificate__openssl.o):a
ws-net-ssl-certificate__openssl.adb:(.text+0x3ec): undefined reference
to `X509_get_subject_name'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl-certificate__openssl.o):a
ws-net-ssl-certificate__openssl.adb:(.text+0x41f): undefined reference
to `X509_get_issuer_name'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl-certificate__openssl.o):a
ws-net-ssl-certificate__openssl.adb:(.text+0x5e7): undefined reference
to `X509_free'
c:\tools\gpl_2006\lib\aws/libaws.a(aws-net-ssl-certificate__openssl.o):a
ws-net-ssl-certificate__openssl.adb:(.text+0x68f): undefined reference
to `X509_NAME_oneline'
gnatlink: cannot call C:\tools\GPL_2006\bin\gcc.exe
gnatmake: *** link failed.
process exited with status 4
Have you any ideas.
Thanks
Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/aws/attachments/20060727/615ea2a9/attachment.html
More information about the AWS
mailing list