Building on DG-UX x86 4.20 MU07 - Openssl

This is a discussion on Building on DG-UX x86 4.20 MU07 - Openssl ; This is a multi-part message in MIME format. --------------010009050001000506050405 Content-Type: multipart/alternative; boundary="------------090605040804060701020602" --------------090605040804060701020602 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I'm trying to build openssl for the purpose of getting openssh build for DG-UX 4.20MU07 . I tried to to build ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Building on DG-UX x86 4.20 MU07

  1. Building on DG-UX x86 4.20 MU07

    This is a multi-part message in MIME format.
    --------------010009050001000506050405
    Content-Type: multipart/alternative;
    boundary="------------090605040804060701020602"


    --------------090605040804060701020602
    Content-Type: text/plain; charset=us-ascii; format=flowed
    Content-Transfer-Encoding: 7bit

    I'm trying to build openssl for the purpose of getting openssh build
    for DG-UX 4.20MU07 . I tried to to build 0.97 and 0.98 with the
    exact same result and I am getting nowhere. Could anybody point out
    what I'm missing ?

    The output of make report is in the following:

    OpenSSL self-test report:

    OpenSSL version: 0.9.8
    Last change: Add libcrypto.pc and libssl.pc for those who feel they ...
    Options: no-gmp no-krb5 no-mdc2 no-rc5 no-shared no-zlib
    no-zlib-dynamic
    OS (uname): dgux bed36a R4.20MU07 generic AViiON PentiumPro
    OS (config): AViiON-dg-dgux
    Target (default): dgux
    Target: dist
    Compiler:

    Failure!
    -----------------------------------------------------------------------------
    making all in crypto...
    making all in crypto/objects...
    making all in crypto/md2...
    making all in crypto/md4...
    making all in crypto/md5...
    making all in crypto/sha...
    making all in crypto/hmac...
    making all in crypto/ripemd...
    making all in crypto/des...
    making all in crypto/aes...
    making all in crypto/rc2...
    making all in crypto/rc4...
    making all in crypto/idea...
    making all in crypto/bf...
    making all in crypto/cast...
    making all in crypto/bn...
    making all in crypto/ec...
    making all in crypto/rsa...
    making all in crypto/dsa...
    making all in crypto/ecdsa...
    making all in crypto/dh...
    making all in crypto/ecdh...
    making all in crypto/dso...
    making all in crypto/engine...
    making all in crypto/buffer...
    making all in crypto/bio...
    making all in crypto/stack...
    making all in crypto/lhash...
    making all in crypto/rand...
    making all in crypto/err...
    making all in crypto/evp...
    making all in crypto/asn1...
    making all in crypto/pem...
    making all in crypto/x509...
    making all in crypto/x509v3...
    making all in crypto/conf...
    making all in crypto/txt_db...
    making all in crypto/pkcs7...
    making all in crypto/pkcs12...
    making all in crypto/comp...
    making all in crypto/ocsp...
    making all in crypto/ui...
    making all in crypto/krb5...
    making all in crypto/store...
    making all in crypto/pqueue...
    if [ -n "" ]; then \
    (cd ..; make libcrypto); \
    fi
    making all in ssl...
    if [ -n "" ]; then \
    (cd ..; make libssl); \
    fi
    making all in engines...
    making all in apps...
    rm -f openssl
    shlib_target=; if [ -n "" ]; then \
    shlib_target=""; \
    fi; \
    if [ "${shlib_target}" = "darwin-shared" ] ; then \
    LIBRARIES="../libssl.a ../libcrypto.a" ; \
    else \
    LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
    fi; \
    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 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 spkac.o smime.o rand.o engine.o ocsp.o prime.o" \
    LIBDEPS=" $LIBRARIES " \
    link_app.${shlib_target}
    ( :; \
    LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; \
    LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \
    LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' >
    /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | 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 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 spkac.o smime.o rand.o engine.o
    ocsp.o prime.o ${LIBDEPS} )
    Undefined first referenced
    symbol in file
    accept s_socket.o
    socket s_socket.o
    send ../libcrypto.a(bss_dgram.o)
    connect s_socket.o
    gethostbyname s_socket.o
    getservbyname s_socket.o
    setsockopt s_socket.o
    getsockname s_client.o
    bind s_socket.o
    recvfrom ../libcrypto.a(bss_dgram.o)
    gethostbyaddr s_socket.o
    shutdown s_server.o
    getsockopt ../libcrypto.a(b_sock.o)
    sendto ../libcrypto.a(bss_dgram.o)
    UX:ld: ERROR: openssl: fatal error: Symbol referencing errors. No output
    written to openssl
    Fatal error in /usr/bin/ld
    Exit status 01
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    -----------------------------------------------------------------------------
    Doing certs
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    argena.pem => .0
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate argeng.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng1.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng2.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng3.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng4.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng5.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate RegTP-5R.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate RegTP-6R.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate thawteCb.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate thawteCp.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate wellsfgo.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsign1.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsign3.pem
    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsignss.pem
    touch rehash.time
    testing...
    cc -I.. -I../include -O -c bntest.c
    ( :; \
    LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; \
    LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \
    LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' >
    /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | 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
    socket ../libcrypto.a(rand_egd.o)
    connect ../libcrypto.a(rand_egd.o)
    UX:ld: ERROR: bntest: fatal error: Symbol referencing errors. No output
    written to bntest
    Fatal error in /usr/bin/ld
    Exit status 01
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    -----------------------------------------------------------------------------








    --------------090605040804060701020602
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit










    I'm trying to build openssl  for the purpose of  getting openssh  build
    for DG-UX 4.20MU07  . I  tried to  to build  0.97 and 0.98 with the
    exact same result and I am getting nowhere. Could anybody  point out
    what I'm missing ?



    The output of make report is in the following:



    OpenSSL self-test report:



    OpenSSL version:  0.9.8

    Last change:      Add libcrypto.pc and libssl.pc for those who feel
    they ...

    Options:           no-gmp no-krb5 no-mdc2 no-rc5 no-shared no-zlib
    no-zlib-dynamic

    OS (uname):       dgux bed36a R4.20MU07 generic AViiON PentiumPro

    OS (config):      AViiON-dg-dgux

    Target (default): dgux

    Target:           dist

    Compiler:        



    Failure!

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

    making all in crypto...

    making all in crypto/objects...

    making all in crypto/md2...

    making all in crypto/md4...

    making all in crypto/md5...

    making all in crypto/sha...

    making all in crypto/hmac...

    making all in crypto/ripemd...

    making all in crypto/des...

    making all in crypto/aes...

    making all in crypto/rc2...

    making all in crypto/rc4...

    making all in crypto/idea...

    making all in crypto/bf...

    making all in crypto/cast...

    making all in crypto/bn...

    making all in crypto/ec...

    making all in crypto/rsa...

    making all in crypto/dsa...

    making all in crypto/ecdsa...

    making all in crypto/dh...

    making all in crypto/ecdh...

    making all in crypto/dso...

    making all in crypto/engine...

    making all in crypto/buffer...

    making all in crypto/bio...

    making all in crypto/stack...

    making all in crypto/lhash...

    making all in crypto/rand...

    making all in crypto/err...

    making all in crypto/evp...

    making all in crypto/asn1...

    making all in crypto/pem...

    making all in crypto/x509...

    making all in crypto/x509v3...

    making all in crypto/conf...

    making all in crypto/txt_db...

    making all in crypto/pkcs7...

    making all in crypto/pkcs12...

    making all in crypto/comp...

    making all in crypto/ocsp...

    making all in crypto/ui...

    making all in crypto/krb5...

    making all in crypto/store...

    making all in crypto/pqueue...

        if [ -n "" ]; then \

            (cd ..; make libcrypto); \

        fi

    making all in ssl...

        if [ -n "" ]; then \

            (cd ..; make libssl); \

        fi

    making all in engines...

    making all in apps...

        rm -f openssl

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

            shlib_target=""; \

        fi; \

        if [ "${shlib_target}" = "darwin-shared" ] ; then \

          LIBRARIES="../libssl.a  ../libcrypto.a" ; \

        else \

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

        fi; \

        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 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 spkac.o smime.o rand.o engine.o  ocsp.o prime.o" \

            LIBDEPS=" $LIBRARIES " \

            link_app.${shlib_target}

        ( :;   \

            LIBDEPS="${LIBDEPS:--L.. -lssl  -L.. -lcrypto }"; \

            LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \

            LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' >
    /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done |
    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 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 spkac.o smime.o rand.o engine.o 
    ocsp.o prime.o ${LIBDEPS} )

    Undefined            first referenced

     symbol                  in file

    accept                              s_socket.o

    socket                              s_socket.o

    send                                ../libcrypto.a(bss_dgram.o)

    connect                             s_socket.o

    gethostbyname                       s_socket.o

    getservbyname                       s_socket.o

    setsockopt                          s_socket.o

    getsockname                         s_client.o

    bind                                s_socket.o

    recvfrom                            ../libcrypto.a(bss_dgram.o)

    gethostbyaddr                       s_socket.o

    shutdown                            s_server.o

    getsockopt                          ../libcrypto.a(b_sock.o)

    sendto                              ../libcrypto.a(bss_dgram.o)

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

    Fatal error in /usr/bin/ld

    Exit status 01

    *** Error code 1



    Stop.

    *** Error code 1



    Stop.

    *** Error code 1



    Stop.

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

    Doing certs

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    argena.pem => .0

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate argeng.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate eng1.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate eng2.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate eng3.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate eng4.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate eng5.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate RegTP-5R.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate RegTP-6R.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate thawteCb.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate thawteCp.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate wellsfgo.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate vsign1.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate vsign3.pem

    UX:sh (opensslwrap.sh): ERROR:
    /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found

    WARNING: Skipping duplicate certificate vsignss.pem

        touch rehash.time

    testing...

        cc -I.. -I../include  -O -c bntest.c

        ( :;   \

            LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; \

            LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \

            LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' >
    /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done |
    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

    socket                              ../libcrypto.a(rand_egd.o)

    connect                             ../libcrypto.a(rand_egd.o)

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

    Fatal error in /usr/bin/ld

    Exit status 01

    *** Error code 1



    Stop.

    *** Error code 1



    Stop.

    *** Error code 1



    Stop.

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


















    --------------090605040804060701020602--

    --------------010009050001000506050405
    Content-Type: text/plain;
    name="testlog.txt"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline;
    filename="testlog.txt"

    OpenSSL self-test report:

    OpenSSL version: 0.9.8
    Last change: Add libcrypto.pc and libssl.pc for those who feel they ...
    Options: no-gmp no-krb5 no-mdc2 no-rc5 no-shared no-zlib no-zlib-dynamic
    OS (uname): dgux bed36a R4.20MU07 generic AViiON PentiumPro
    OS (config): AViiON-dg-dgux
    Target (default): dgux
    Target: dist
    Compiler:

    Failure!
    -----------------------------------------------------------------------------
    making all in crypto...
    making all in crypto/objects...
    making all in crypto/md2...
    making all in crypto/md4...
    making all in crypto/md5...
    making all in crypto/sha...
    making all in crypto/hmac...
    making all in crypto/ripemd...
    making all in crypto/des...
    making all in crypto/aes...
    making all in crypto/rc2...
    making all in crypto/rc4...
    making all in crypto/idea...
    making all in crypto/bf...
    making all in crypto/cast...
    making all in crypto/bn...
    making all in crypto/ec...
    making all in crypto/rsa...
    making all in crypto/dsa...
    making all in crypto/ecdsa...
    making all in crypto/dh...
    making all in crypto/ecdh...
    making all in crypto/dso...
    making all in crypto/engine...
    making all in crypto/buffer...
    making all in crypto/bio...
    making all in crypto/stack...
    making all in crypto/lhash...
    making all in crypto/rand...
    making all in crypto/err...
    making all in crypto/evp...
    making all in crypto/asn1...
    making all in crypto/pem...
    making all in crypto/x509...
    making all in crypto/x509v3...
    making all in crypto/conf...
    making all in crypto/txt_db...
    making all in crypto/pkcs7...
    making all in crypto/pkcs12...
    making all in crypto/comp...
    making all in crypto/ocsp...
    making all in crypto/ui...
    making all in crypto/krb5...
    making all in crypto/store...
    making all in crypto/pqueue...
    if [ -n "" ]; then \
    (cd ..; make libcrypto); \
    fi
    making all in ssl...
    if [ -n "" ]; then \
    (cd ..; make libssl); \
    fi
    making all in engines...
    making all in apps...
    rm -f openssl
    shlib_target=; if [ -n "" ]; then \
    shlib_target=""; \
    fi; \
    if [ "${shlib_target}" = "darwin-shared" ] ; then \
    LIBRARIES="../libssl.a ../libcrypto.a" ; \
    else \
    LIBRARIES="-L.. -lssl -L.. -lcrypto" ; \
    fi; \
    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 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 spkac.o smime.o rand.o engine.o ocsp.o prime.o" \
    LIBDEPS=" $LIBRARIES " \
    link_app.${shlib_target}
    ( :; \
    LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; \
    LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \
    LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | 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 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 spkac.o smime.o rand.o engine.o ocsp.o prime.o ${LIBDEPS} )
    Undefined first referenced
    symbol in file
    accept s_socket.o
    socket s_socket.o
    send ../libcrypto.a(bss_dgram.o)
    connect s_socket.o
    gethostbyname s_socket.o
    getservbyname s_socket.o
    setsockopt s_socket.o
    getsockname s_client.o
    bind s_socket.o
    recvfrom ../libcrypto.a(bss_dgram.o)
    gethostbyaddr s_socket.o
    shutdown s_server.o
    getsockopt ../libcrypto.a(b_sock.o)
    sendto ../libcrypto.a(bss_dgram.o)
    UX:ld: ERROR: openssl: fatal error: Symbol referencing errors. No output written to openssl
    Fatal error in /usr/bin/ld
    Exit status 01
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    -----------------------------------------------------------------------------
    Doing certs
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    argena.pem => .0
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate argeng.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng1.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng2.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng3.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng4.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate eng5.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate RegTP-5R.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate RegTP-6R.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate thawteCb.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate thawteCp.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate wellsfgo.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsign1.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsign3.pem
    UX:sh (opensslwrap.sh): ERROR: /opt/shareware/openssl-0.9.8/util/../apps/openssl: Not found
    WARNING: Skipping duplicate certificate vsignss.pem
    touch rehash.time
    testing...
    cc -I.. -I../include -O -c bntest.c
    ( :; \
    LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }"; \
    LDCMD="${LDCMD:-cc}"; LDFLAGS="${LDFLAGS:--O}"; \
    LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | 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
    socket ../libcrypto.a(rand_egd.o)
    connect ../libcrypto.a(rand_egd.o)
    UX:ld: ERROR: bntest: fatal error: Symbol referencing errors. No output written to bntest
    Fatal error in /usr/bin/ld
    Exit status 01
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    *** Error code 1

    Stop.
    -----------------------------------------------------------------------------

    --------------010009050001000506050405--
    __________________________________________________ ____________________
    OpenSSL Project http://www.openssl.org
    Development Mailing List openssl-dev@openssl.org
    Automated List Manager majordomo@openssl.org

  2. Re: Building on DG-UX x86 4.20 MU07

    The following steps worked for me, with openssl-0.9.6m on dgux R4.20MU07 generic AViiON PentiumPro :



    sosad@myaviion$ tar xvf openssl-0.9.6m.tar
    sosad@myaviion$



    sosad@myaviion$ cd openssl-0.9.6m
    sosad@myaviion$



    sosad@myaviion$ cp –ip config config.orig
    sosad@myaviion$



    sosad@myaviion$ diff config config.orig
    634c634
    < *-dgux) OUT="dgux-R4-gcc" ;;
    ---
    > # *-dgux) OUT="dgux" ;;
    sosad@myaviion$



    sosad@myaviion$ ./config
    sosad@myaviion$


    sosad@myaviion$ make
    sosad@myaviion$


    sosad@myaviion$ make test

    sosad@myaviion$


    sosad@myaviion$ su
    Password:
    root@myaviion#



    root@myaviion# pwd
    /home/sosad/src/c/openssl-0.9.6m
    root@myaviion#



    root@myaviion# make install
    root@myaviion#

+ Reply to Thread