Hello,
Thanks for the response. Using ST SH4 core.
For now its SSL_has_matching_session_id, POLICY_MAPPING_new, _X509_free', cause these are checked in the configure script of Wvstreams. May be if I can resolve this and proceed from the configure stage to "make", will have more missing functions to report.
I have cut paste below the error regarding the ssl and crypto libraries.
configure:8462: checking for openssl/ssl.h
configure:8483: sh4g++ -c -mboard=mediarefsim -DSINGLE_THREADED -I/home/pallavi/wvdial-SH4/cyassl/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/pallavi/wvdial-SH4/cyassl/include conftest.cpp >&5
configure:8490: $? = 0
configure:8507: result: yes
configure:8525: checking for X509_free in -lcrypto
configure:8560: sh4g++ -o conftest -mboard=mediarefsim -DSINGLE_THREADED -I/home/pallavi/wvdial-SH4/cyassl/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/pallavi/wvdial-SH4/cyassl/include -L/home/pallavi/wvdial-SH4/cyassl -L/lib -L/home/pallavi/wvdial-SH4/cyassl conftest.cpp -lcrypto >&5
/tmp/ccYCDG64.o: In function `_main':
conftest.cpp:(.text+0x1c): undefined reference to `_X509_free'
collect2: ld returned 1 exit status
configure:8567: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "WvStreams"
| #define PACKAGE_TARNAME "wvstreams"
| #define PACKAGE_VERSION "4.6.1"
| #define PACKAGE_STRING "WvStreams 4.6.1"
| #define PACKAGE_BUGREPORT "wvstreams-devel@googlegroups.com"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define ATTR_DEPRECATED __attribute__ ((deprecated))
| #define HAVE_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERRNO_H 1
| #define ETHER_ADDR_LEN 6
| #define VER_STRING_EXTRA " (pallavi@pallavi-Vostro-3400)"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_OPENSSL_SSL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char X509_free ();
| int
| main ()
| {
| return X509_free ();
| ;
| return 0;
| }
configure:8588: result: no
configure:8600: checking for SSL_has_matching_session_id in -lssl
configure:8635: sh4g++ -o conftest -mboard=mediarefsim -DSINGLE_THREADED -I/home/pallavi/wvdial-SH4/cyassl/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/pallavi/wvdial-SH4/cyassl/include -L/home/pallavi/wvdial-SH4/cyassl -L/lib -L/home/pallavi/wvdial-SH4/cyassl conftest.cpp -lssl >&5
/tmp/ccAGsy1i.o: In function `_main':
conftest.cpp:(.text+0x1c): undefined reference to `_SSL_has_matching_session_id'
collect2: ld returned 1 exit status
configure:8642: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "WvStreams"
| #define PACKAGE_TARNAME "wvstreams"
| #define PACKAGE_VERSION "4.6.1"
| #define PACKAGE_STRING "WvStreams 4.6.1"
| #define PACKAGE_BUGREPORT "wvstreams-devel@googlegroups.com"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define ATTR_DEPRECATED __attribute__ ((deprecated))
| #define HAVE_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERRNO_H 1
| #define ETHER_ADDR_LEN 6
| #define VER_STRING_EXTRA " (pallavi@pallavi-Vostro-3400)"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_OPENSSL_SSL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char SSL_has_matching_session_id ();
| int
| main ()
| {
| return SSL_has_matching_session_id ();
| ;
| return 0;
| }
configure:8663: result: no
configure:8678: checking for POLICY_MAPPING_new in -lssl
configure:8713: sh4g++ -o conftest -mboard=mediarefsim -DSINGLE_THREADED -I/home/pallavi/wvdial-SH4/cyassl/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/home/pallavi/wvdial-SH4/cyassl/include -L/home/pallavi/wvdial-SH4/cyassl -L/lib -L/home/pallavi/wvdial-SH4/cyassl conftest.cpp -lssl >&5
/tmp/ccWxVBRw.o: In function `_main':
conftest.cpp:(.text+0x1c): undefined reference to `_POLICY_MAPPING_new'
collect2: ld returned 1 exit status
configure:8720: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "WvStreams"
| #define PACKAGE_TARNAME "wvstreams"
| #define PACKAGE_VERSION "4.6.1"
| #define PACKAGE_STRING "WvStreams 4.6.1"
| #define PACKAGE_BUGREPORT "wvstreams-devel@googlegroups.com"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define ATTR_DEPRECATED __attribute__ ((deprecated))
| #define HAVE_DIRENT_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ARGZ_H 1
| #define HAVE_ERRNO_H 1
| #define ETHER_ADDR_LEN 6
| #define VER_STRING_EXTRA " (pallavi@pallavi-Vostro-3400)"
| #define HAVE_DBUS_DBUS_H 1
| #define HAVE_OPENSSL_SSL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char POLICY_MAPPING_new ();
| int
| main ()
| {
| return POLICY_MAPPING_new ();
| ;
| return 0;
| }
configure:8741: result: no
Can you help me, with this fix?
Regards
Pallavi