cross compile error for SSL suport

inoue masatoshi inoue at qubitstar.co.jp
Tue Mar 20 09:01:51 CET 2007


Hi,

Thanks for your replying.
But even I retried to compile the konq/e with OpenSSL-0.9.7i, the message 
was not changed.

well, If I compile the konq/e without option "--disable-dynamic-ssl", then I 
could complete the compalition. and I put the libssl and libcrypt to /lib of 
target board.
then debug message of konq/e when I open the web page with https protocol 
was follows.
・
・
・
debug: KSSL initialize
debug: Cipher list: 
RC4-MD5:RC4-SHA:DES-CBC3-SHA:RC2-CBC-MD5:DES-CBC3-MD5:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DH-RSA-AES256-SHA:DH-DSS-AES256-SHA:AES256-SHA:EDH-RSAA
debug: KSSL connected OK
debug: KSSL connected OK
debug: X509Callback: ok = 0 error = 18
debug: X509Callback: ok = 0 error = 18
debug: Matching CN=[sodesu-test] to [sodesu-test]
debug: X509Callback: ok = 0 error = 18
debug: X509Callback: ok = 0 error = 18
debug: Matching CN=[sodesu-test] to [sodesu-test]
debug: SSL HTTP frame the parent?
debug: dcopclient::call(kded, kssld, 
cacheGetPolicyByCertificate(KSSLCertificate))
debug: DCOPDispatcher::slotDispatch() 16
debug: SSL HTTP frame the parent?
debug: dcopclient::call(kded, kssld, 
cacheGetPolicyByCertificate(KSSLCertificate))
debug: DCOPDispatcher::slotDispatch() 20
debug: needs a msg box
debug: messageBox 4 The server certificate failed the authenticity test 
(sodesu-test). - Server Authentication
debug: SlaveInterface::messageBox m_progressId=0

This is last part of debug messages of konq/e .
And here, the konq/e did hung up!
Could anyone please tell me how I can solve this?

And I have question.
I checked configure script about OpenSSL, then output of configure script 
say:
"checking whether OpenSSL uses rsaref... no"

rsaref must be needed for konq/e???

regards

inoue masatoshi


----- Original Message ----- 
From: "Akshay Mishra" <akshaymishra at gmail.com>
To: "inoue masatoshi" <inoue at qubitstar.co.jp>
Sent: Monday, March 19, 2007 7:18 PM
Subject: Re: cross compile error for SSL suport


> use openssl-0.9.7i. that should hopefully solve the problem.
>
> Akshay
>
> On 3/19/07, inoue masatoshi <inoue at qubitstar.co.jp> wrote:
>> Hello all
>>
>> I would like to use konqueror embedded with https protocol suport, so I
>> cross compiled openssl-0.9.6c with opetion :
>> ./Configure no-idea no-threads shared --prefix=$(pwd)/dist
>>
>> then, I reconfigure  konqueror3-embedded-0.2-20040524 with option:
>>
>> ./configure --enable-qt-embedded --enable-embedded --host=i686-pc-linux-gnu
>> --target=arm-linux --disable-mt --disable-pcre --disable-threading --includedir=/usr/include/kde,/home/inoue/workspace/openssl/dist/include
>>  --prefix=/home/shared/konqe --with-qt-dir=/usr/local/qt-embedded-free-3.3.5
>>  --enable-add-ons=felicacard,setting --with-gui=kiosk --with-ssl-dir=/home/inoue/workspace/openssl/dist
>>  --with-ssl-version=0.9.6c
>>
>> and, it compiled fine, but when I open a web page with https protocol, 
>> then
>> I got message "Could not connect host ******"
>> I thought this is similar problem to
>> http://lists.kde.org/?l=konq-e&m=100807797116559&w=2.
>> So I retried configure of konqueror embedded with option:
>>
>> ./configure --enable-qt-embedded --enable-embedded --host=i686-pc-linux-gnu
>> --target=arm-linux --disable-mt --disable-pcre --disable-threading --includedir=/usr/include/kde,/home/inoue/workspace/openssl/dist/include
>>  --prefix=/home/shared/konqe --with-qt-dir=/usr/local/qt-embedded-free-3.3.5
>>  --enable-add-ons=felicacard,setting --with-gui=kiosk --with-ssl-dir=/home/inoue/workspace/openssl/dist
>>  --with-ssl-version=0.9.6c --disable-dynamic-ssl
>>
>> then I got following message
>>
>> /bin/sh ../../libtool --silent --mode=link --tag=CXX
>> rm-linux-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
>>  -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
>>  -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -DQT_NO_ASCII_CAST
>>     -o
>> konqueror -L/home/inoue/workspace/openssl/dist/lib -R/home/inoue/workspace/openssl/dist/lib
>>  -L/usr/local/qt-embedded-free-3.3.5/lib -L/home/shared/konqe/lib  -export-dynamic
>> main.o mainwindowbase.o mainwindebug.o htmlview.o popuphandler.o view.o
>> run.o browseriface.o bookmarks.o preferences.o preferencesimpl.o
>> mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o mainwindow_tv.o
>> xmltree.o bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o
>> bookmarkeditimpl.o simpleim.o
>> ../../konq-embed/add-ons/felicacard/libfelica_e.la
>> ../../konq-embed/add-ons/setting/libsetting_e.la
>> ./../dropin/kio/libkiodropin.la
>> ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la
>> ../../konq-embed/kdesrc/kjs/libkjs.la  ../lib/libkonqe.la
>> ./../kdesrc/kparts/libkparts.la ./../dropin/libdropin.la
>> ./../dropin/kparts/libkpartsdropin.la
>> ../../konq-embed/kdesrc/khtml/libkhtml_i.la 
>> ../dropin/kssl/libkssldropin.la
>> ../kdesrc/kssl/libkssl.la
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_check_purpose(x509_st *, int, int)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::EVP_md5(void)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::ERR_print_errors_fp(_IO_FILE *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::RAND_load_file(char const *, long)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::SSL_peek(ssl_st *, void *, int)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_get_pubkey(x509_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_PURPOSE_get_count(void)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_STORE_CTX_set_purpose(x509_store_ctx_st *, int)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_get_serialNumber(x509_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_digest(x509_st const *, env_md_st const *, unsigned
>> char *, unsigned int *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::i2d_PKCS12(PKCS12 *, unsigned char **)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_PURPOSE_get0(int)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::OBJ_obj2nid(asn1_object_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_PURPOSE_get_id(x509_purpose_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::i2s_ASN1_INTEGER(v3_ext_method *, asn1_string_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::sk_pop(stack_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::RAND_write_file(char const *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::BN_bn2hex(bignum_st const *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::ERR_clear_error(void)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::SSL_accept(ssl_st *)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::OBJ_nid2ln(int)'
>> ../lib/.libs/libkonqe.so: undefined reference to
>> `KOpenSSLProxy::X509_check_private_key(x509_st *, evp_pkey_st *)'
>> collect2: ld returned 1 exit status
>> make[5]: *** [konqueror] エラー 1
>> make[5]: Leaving directory
>> `/home/inoue/workspace/konq_arm/konqueror3-embedded-0.2-20040524/konq-embed/src'
>> make[4]: *** [all-recursive] エラー 1
>> make[4]: Leaving directory
>> `/home/inoue/workspace/konq_arm/konqueror3-embedded-0.2-20040524/konq-embed/src'
>> make[3]: *** [all] エラー 2
>> make[3]: Leaving directory
>> `/home/inoue/workspace/konq_arm/konqueror3-embedded-0.2-20040524/konq-embed/src'
>> make[2]: *** [all-recursive] エラー 1
>> make[2]: Leaving directory
>> `/home/inoue/workspace/konq_arm/konqueror3-embedded-0.2-20040524/konq-embed'
>> make[1]: *** [all-recursive] エラー 1
>> make[1]: Leaving directory
>> `/home/inoue/workspace/konq_arm/konqueror3-embedded-0.2-20040524'
>> make: *** [all] エラー 2
>>
>> somewhere you can see "エラー", sorry it is Japanese and it means "error"
>> Could anyone please tell me advice to fix this problem?
>>
>> regards
>>
>> inoue
>>
>>
>> _______________________________________________
>> konq-e mailing list
>> konq-e at kde.org
>> https://mail.kde.org/mailman/listinfo/konq-e
>>
> 




More information about the konq-e mailing list