Hi there,

I met the following undefined symbol when building. I have moved two
dependent functions from aes_misc.c to aes_core.c for a temporary work
around.



Additionally, would you know if there is a schedule for OpenSSL to support
TLS 1.1 in 1.0.1 release?


Many thanks,

Volan


OpenSSL self-test report:



OpenSSL version:  1.0.1-dev

Last change:      Redirect HMAC and CMAC operations to FIPS module in FIP...

Options:           no-ec-nistp224-64-gcc-128 no-gmp no-jpake no-krb5 no-md2
no-rc5 no-rfc3779 no-shared no-store no-zlib no-zlib-dynamic static-engine

OS (uname):       SunOS cd11 5.9 Generic_122300-18 sun4u sparc
SUNW,Netra-T12

OS (config):      sun4u-whatever-solaris2

Target (default): solaris-sparcv9-gcc

Target:           solaris-sparcv9-gcc

Compiler:         Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls

Thread model: posix

gcc version 3.4.2



Failure!

-----------------------------------------------------------------------------

make[1]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617'

making all in crypto...

make[2]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto'

making all in crypto/objects...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/objects'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/objects'

making all in crypto/md4...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md4'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md4'

making all in crypto/md5...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md5'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md5'

making all in crypto/sha...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/sha'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/sha'

making all in crypto/mdc2...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/mdc2'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/mdc2'

making all in crypto/hmac...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/hmac'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/hmac'

making all in crypto/ripemd...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ripemd'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ripemd'

making all in crypto/whrlpool...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/whrlpool'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/whrlpool'

making all in crypto/des...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/des'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/des'

making all in crypto/aes...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/aes'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/aes'

making all in crypto/rc2...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc2'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc2'

making all in crypto/rc4...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc4'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc4'

making all in crypto/idea...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/idea'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/idea'

making all in crypto/bf...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bf'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bf'

making all in crypto/cast...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cast'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cast'

making all in crypto/camellia...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/camellia'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/camellia'

making all in crypto/seed...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/seed'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/seed'

making all in crypto/modes...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/modes'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/modes'

making all in crypto/bn...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bn'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bn'

making all in crypto/ec...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ec'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ec'

making all in crypto/rsa...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rsa'

making all in crypto/dsa...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dsa'

making all in crypto/ecdsa...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdsa'

making all in crypto/dh...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dh'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dh'

making all in crypto/ecdh...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdh'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdh'

making all in crypto/dso...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dso'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dso'

making all in crypto/engine...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/engine'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/engine'

making all in crypto/buffer...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/buffer'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/buffer'

making all in crypto/bio...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bio'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bio'

making all in crypto/stack...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/stack'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/stack'

making all in crypto/lhash...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/lhash'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/lhash'

making all in crypto/rand...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rand'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rand'

making all in crypto/err...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/err'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/err'

making all in crypto/evp...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/evp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/evp'

making all in crypto/asn1...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/asn1'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/asn1'

making all in crypto/pem...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pem'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pem'

making all in crypto/x509...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509'

making all in crypto/x509v3...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509v3'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509v3'

making all in crypto/conf...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/conf'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/conf'

making all in crypto/txt_db...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/txt_db'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/txt_db'

making all in crypto/pkcs7...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs7'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs7'

making all in crypto/pkcs12...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs12'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs12'

making all in crypto/comp...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/comp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/comp'

making all in crypto/ocsp...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ocsp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ocsp'

making all in crypto/ui...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ui'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ui'

making all in crypto/krb5...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/krb5'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/krb5'

making all in crypto/cms...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cms'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cms'

making all in crypto/pqueue...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pqueue'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pqueue'

making all in crypto/ts...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ts'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ts'

making all in crypto/srp...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/srp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/srp'

making all in crypto/cmac...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cmac'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cmac'

if [ -n "" ]; then \

                (cd ..; make libcrypto.so.1.0.0); \

fi

make[2]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto'

making all in ssl...

make[2]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/ssl'

if [ -n "" ]; then \

                (cd ..; make libssl.so.1.0.0); \

fi

make[2]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/ssl'

making all in engines...

make[2]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines'

echo



making all in engines/ccgost...

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines/ccgost'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines/ccgost'

make[2]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines'

making all in apps...

make[2]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

rm -f openssl

shlib_target=; if [ -n "" ]; then \

                shlib_target="solaris-shared"; \

elif [ -n "" ]; then \

  FIPSLD_CC="gcc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; export CC
FIPSLD_CC; \

fi; \

LIBRARIES="-L.. -lssl  -L.. -lcrypto" ; \

make -f ../Makefile.shared -e \

                APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o
dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o
crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o
gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o
s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o
pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o
prime.o ts.o srp.o" \

                LIBDEPS=" $LIBRARIES -lsocket -lnsl -ldl" \

                link_app.${shlib_target}

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

( :; LIBDEPS="${LIBDEPS:--L.. -lssl  -L.. -lcrypto -lsocket -lnsl -ldl}";
LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed
-e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o
rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o
version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o
pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o srp.o
${LIBDEPS} )

Undefined                                          first referenced

 symbol                                                    in file

private_AES_set_decrypt_key         ../libcrypto.a(aes_misc.o)

private_AES_set_encrypt_key         ../libcrypto.a(aes_misc.o)

ld: fatal: Symbol referencing errors. No output written to openssl

collect2: ld returned 1 exit status

make[3]: *** [link_app.] Error 1

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

make[2]: *** [openssl] Error 2

make[2]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

make[1]: *** [build_apps] Error 1

make[1]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617'

-----------------------------------------------------------------------------

make[1]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617'

Doing certs

testing...

make[2]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

gcc -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DAES_ASM   -c -o bntest.o bntest.c

make[3]: Entering directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto  -lsocket -lnsl -ldl}";
LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT
-DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer
-Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed
-e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=bntest} bntest.o ${LIBDEPS} )

Undefined                                          first referenced

 symbol                                                    in file

private_AES_set_decrypt_key         ../libcrypto.a(aes_misc.o)

private_AES_set_encrypt_key         ../libcrypto.a(aes_misc.o)

ld: fatal: Symbol referencing errors. No output written to bntest

collect2: ld returned 1 exit status

make[3]: *** [link_app.] Error 1

make[3]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

make[2]: *** [bntest] Error 2

make[2]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

make[1]: *** [tests] Error 2

make[1]: Leaving directory
`/users/tester/openssl-1.0.1-stable-SNAP-20110617'

-----------------------------------------------------------------------------

Hi there,

I met the following undefined symbol when building. I have moved two dependent functions from aes_misc.c to aes_core.c for a temporary work around.

?

Additionally, would you know if there is a schedule for OpenSSL to support TLS 1.1 in 1.0.1 release?


Many thanks,

Volan


OpenSSL self-test report:

?

OpenSSL version:? 1.0.1-dev

Last change:????? Redirect HMAC and CMAC operations to FIPS module in FIP...

Options:?????????? no-ec-nistp224-64-gcc-128 no-gmp no-jpake no-krb5 no-md2 no-rc5 no-rfc3779 no-shared no-store no-zlib no-zlib-dynamic static-engine

OS (uname):?????? SunOS cd11 5.9 Generic_122300-18 sun4u sparc SUNW,Netra-T12

OS (config):????? sun4u-whatever-solaris2

Target (default): solaris-sparcv9-gcc

Target:?????????? solaris-sparcv9-gcc

Compiler:???????? Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls

Thread model: posix

gcc version 3.4.2

?

Failure!

-----------------------------------------------------------------------------

make[1]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617'

making all in crypto...

make[2]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto'

making all in crypto/objects...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/objects'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/objects'

making all in crypto/md4...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md4'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md4'

making all in crypto/md5...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md5'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/md5'

making all in crypto/sha...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/sha'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/sha'

making all in crypto/mdc2...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/mdc2'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/mdc2'

making all in crypto/hmac...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/hmac'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/hmac'

making all in crypto/ripemd...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ripemd'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ripemd'

making all in crypto/whrlpool...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/whrlpool'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/whrlpool'

making all in crypto/des...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/des'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/des'

making all in crypto/aes...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/aes'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/aes'

making all in crypto/rc2...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc2'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc2'

making all in crypto/rc4...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc4'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rc4'

making all in crypto/idea...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/idea'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/idea'

making all in crypto/bf...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bf'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bf'

making all in crypto/cast...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cast'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cast'

making all in crypto/camellia...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/camellia'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/camellia'

making all in crypto/seed...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/seed'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/seed'

making all in crypto/modes...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/modes'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/modes'

making all in crypto/bn...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bn'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bn'

making all in crypto/ec...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ec'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ec'

making all in crypto/rsa...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rsa'

making all in crypto/dsa...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dsa'

making all in crypto/ecdsa...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdsa'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdsa'

making all in crypto/dh...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dh'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dh'

making all in crypto/ecdh...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdh'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ecdh'

making all in crypto/dso...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dso'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/dso'

making all in crypto/engine...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/engine'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/engine'

making all in crypto/buffer...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/buffer'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/buffer'

making all in crypto/bio...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bio'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/bio'

making all in crypto/stack...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/stack'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/stack'

making all in crypto/lhash...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/lhash'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/lhash'

making all in crypto/rand...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rand'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/rand'

making all in crypto/err...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/err'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/err'

making all in crypto/evp...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/evp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/evp'

making all in crypto/asn1...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/asn1'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/asn1'

making all in crypto/pem...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pem'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pem'

making all in crypto/x509...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509'

making all in crypto/x509v3...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509v3'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/x509v3'

making all in crypto/conf...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/conf'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/conf'

making all in crypto/txt_db...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/txt_db'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/txt_db'

making all in crypto/pkcs7...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs7'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs7'

making all in crypto/pkcs12...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs12'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pkcs12'

making all in crypto/comp...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/comp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/comp'

making all in crypto/ocsp...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ocsp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ocsp'

making all in crypto/ui...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ui'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ui'

making all in crypto/krb5...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/krb5'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/krb5'

making all in crypto/cms...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cms'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cms'

making all in crypto/pqueue...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pqueue'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/pqueue'

making all in crypto/ts...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ts'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/ts'

making all in crypto/srp...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/srp'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/srp'

making all in crypto/cmac...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cmac'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto/cmac'

if [ -n "" ]; then \

??????????????? (cd ..; make libcrypto.so.1.0.0); \

fi

make[2]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/crypto'

making all in ssl...

make[2]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/ssl'

if [ -n "" ]; then \

??????????????? (cd ..; make libssl.so.1.0.0); \

fi

make[2]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/ssl'

making all in engines...

make[2]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines'

echo

?

making all in engines/ccgost...

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines/ccgost'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines/ccgost'

make[2]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/engines'

making all in apps...

make[2]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

rm -f openssl

shlib_target=; if [ -n "" ]; then \

??????????????? shlib_target="solaris-shared"; \

elif [ -n "" ]; then \

? FIPSLD_CC="gcc"; CC=/usr/local/ssl/fips-2.0/bin/fipsld; export CC FIPSLD_CC; \

fi; \

LIBRARIES="-L.. -lssl? -L.. -lcrypto" ; \

make -f ../Makefile.shared -e \

??????????????? APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o srp.o" \

??????????????? LIBDEPS=" $LIBRARIES -lsocket -lnsl -ldl" \

??????????????? link_app.${shlib_target}

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

( :; LIBDEPS="${LIBDEPS:--L.. -lssl? -L.. -lcrypto -lsocket -lnsl -ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o srp.o ${LIBDEPS} )

Undefined????????????????????????????????????????? first referenced

?symbol? ????????????????????????????????????????????? ????in file

private_AES_set_decrypt_key???????? ../libcrypto.a(aes_misc.o)

private_AES_set_encrypt_key???????? ../libcrypto.a(aes_misc.o)

ld: fatal: Symbol referencing errors. No output written to openssl

collect2: ld returned 1 exit status

make[3]: *** [link_app.] Error 1

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

make[2]: *** [openssl] Error 2

make[2]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/apps'

make[1]: *** [build_apps] Error 1

make[1]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617'

-----------------------------------------------------------------------------

make[1]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617'

Doing certs

testing...

make[2]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

gcc -I.. -I../include? -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM?? -c -o bntest.o bntest.c

make[3]: Entering directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto? -lsocket -lnsl -ldl}"; LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do echo $x; done | sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=bntest} bntest.o ${LIBDEPS} )

Undefined????????????????????????????????????????? first referenced

?symbol? ????????????????????????????????????????????? ????in file

private_AES_set_decrypt_key???????? ../libcrypto.a(aes_misc.o)

private_AES_set_encrypt_key???????? ../libcrypto.a(aes_misc.o)

ld: fatal: Symbol referencing errors. No output written to bntest

collect2: ld returned 1 exit status

make[3]: *** [link_app.] Error 1

make[3]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

make[2]: *** [bntest] Error 2

make[2]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617/test'

make[1]: *** [tests] Error 2

make[1]: Leaving directory `/users/tester/openssl-1.0.1-stable-SNAP-20110617'

-----------------------------------------------------------------------------

Reply via email to