make test fails with ver. 0.9.8

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

make test fails with ver. 0.9.8

Muenz, Michael
Hi,

just tried to install the new version on my debian woody.
All versions prior 0.9.8 work fine, but with this one I get
an error while make test:

ecb cast5 ok
This test will take some time....123456789ABCDEF ok
../util/shlib_wrap.sh ./randtest
test 1 done
test 2 done
test 3 done
test 4 done
starting big number library test, could take a while...
test BN_add
test BN_sub
test BN_lshift1
test BN_lshift (fixed)
test BN_lshift
test BN_rshift1
test BN_rshift
test BN_sqr
make[1]: *** [test_bn] Error 139
make[1]: Leaving directory `/root/source/openssl-0.9.8/test'
make: *** [tests] Error 2


Don't know if this is important? Can I ignore this error?
Thanks,


Michael


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: make test fails with ver. 0.9.8

Richard Levitte - VMS Whacker
Standard request:

 - configuration log, please
 - build log, please (at least if something failed)

I build regularly on Debian [unstable].  It didn't fail, so I wonder how
your platform differs.

Muenz, Michael writes:

> Hi,
>
> just tried to install the new version on my debian woody.
> All versions prior 0.9.8 work fine, but with this one I get
> an error while make test:
>
> ecb cast5 ok
> This test will take some time....123456789ABCDEF ok
> ../util/shlib_wrap.sh ./randtest
> test 1 done
> test 2 done
> test 3 done
> test 4 done
> starting big number library test, could take a while...
> test BN_add
> test BN_sub
> test BN_lshift1
> test BN_lshift (fixed)
> test BN_lshift
> test BN_rshift1
> test BN_rshift
> test BN_sqr
> make[1]: *** [test_bn] Error 139
> make[1]: Leaving directory `/root/source/openssl-0.9.8/test'
> make: *** [tests] Error 2
>
>
> Don't know if this is important? Can I ignore this error?
> Thanks,
>
>
> Michael
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]
 


 -----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

--
Richard Levitte                         [hidden email]
                                       http://richard.levitte.org/ 

"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
                                               -- C.S. Lewis
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: make test fails with ver. 0.9.8

Muenz, Michael
> I build regularly on Debian [unstable].  It didn't fail, so I wonder how
> your platform differs.

Ok, when I do a ./config && make && make test it works.
But with ./config shared && make && make test it fails.

Now I've found the error:
grsec: From XXX: denied resource overstep by requesting
4096 for RLIMIT_CORE against limit 0 for
/root/source/openssl-0.9.8/test/bntest[bntest:4889]
uid/euid:0/0 gid/egid:0/0, parent /bin/bash[sh:1205] uid/euid:0/0
gid/egid:0/0

Sorry ...


Michael
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Cygwin/MinGW DLL creation with 0.9.8

Jim Mosier
I am sure that this is rookie user stuff, but try as I might, I am
unable to figure out how to create the DLLs:

libeay32.dll
libssl32.dll

to use with the w32 stunnel.

When trying "./Configure mingw -shared" I get the following make error.

make[2]: Entering directory `/cygdrive/c/openssl-0.9.8/test'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -lwsock32 -lgdi32}"; LDCMD="${
LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC
-DOPENSSL_THREADS  -DDSO_WIN32 -mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -
march=i486 -Wall -D_WIN32_WINNT=0x333 -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32
_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM}"; 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:=rc5test.exe} rc5tes
t.o ${LIBDEPS} )
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/libmingw32.a(
main.o):main.c:(.text+0x106): undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [link_app.cygwin] Error 1
make[2]: Leaving directory `/cygdrive/c/openssl-0.9.8/test'
make[1]: *** [rc5test.exe] Error 2
make[1]: Leaving directory `/cygdrive/c/openssl-0.9.8/test'
make: *** [build_tests] Error 1

MinGW 3.1 "ms\mingw32" works as expected for 0.9.7g in my environment;
generating both of the DLLs mentioned above and the openssl.exe.  I
get this error with 0.9.8

gcc -o out\md2test  tmp\md2test.o out\libssl.a out\libcrypto.a -lwsock32 -lgdi32
out\libcrypto.a(cryptlib.o)(.text+0xb79):cryptlib.c: undefined reference to `OPE
NSSL_ia32_cpuid'
mingw32-make: *** [out\md2test] Error 1
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]