Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 06 Jan 2011 18:12:15 -0600
From: James Nobis <quel@...lrod.net>
To: Robert Harris <rs904c@...scape.net>
CC: john-users@...ts.openwall.com
Subject: Re: hmailserver patch has errors, error when compiling in Linux x86
 64-bit and 32-bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Robert,

I did a clean build on 32-bit linux (I had only tested the build on 64-bit before) with the patches
you listed and it worked fine for me.

tested the following:
make linux-x86-64
make linux-x86-sse2
make linux-x86-mmx
make linux-x86-any


> hmailserver_fmt.o(.text+0x3fc): In function `crypt_all':
> 
> hmailserver_fmt.c: undefined reference to `SHA256_Init'
> 
> hmailserver_fmt.o(.text+0x412):hmailserver_fmt.c: undefined reference to
> `SHA256_Update'
> 
> hmailserver_fmt.o(.text+0x429):hmailserver_fmt.c: undefined reference to
> `SHA256_Update'
> 
> hmailserver_fmt.o(.text+0x43e):hmailserver_fmt.c: undefined reference to
> `SHA256_Final'

That sounds like you are missing ssl libraries.  I only tested on 64-bit and 32-bit Debian 5.0
(Lenny Stable.)

gcc 4.3.2
libssl-dev 0.9.8g
openssl 0.9.8g

I do seem to get several warnings on 32-bit that I did not on 64-bit but both compile and run.

James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCgAGBQJNJlpfAAoJEGUWgJyjXssuQwkP/iR/NkOdvBs7TTp7GjY/Fty2
+1wf5NnZ9PGh+g8X5KSIww6GEPuGhgFOglt+NAcLfzt9tWUiq8ll3ypAwYZzV0q0
grekFECbXQXq6tyMswrJJ7qIyJhar0YKVoe+SsCUfy4M6D/8Y860HHhsJfEr62zf
kFn5vlv7tm60UNKMA/QZawG2/BVf2kpVveU2b7z5uAfSwyxNCeVH67xa9kvUqCyP
y5c5l0iW8RzL6TmNtq4tVOZ4gLDGUI+gi41lfqi7tLYO9NsY21pc/iwE2eGgI17A
/NaTpH8owkMzLQ+6fBkqx1xtxMkngun58Rg8XG1fwclKubxZctaDxt+o5AmtiJKh
WjaXrSpt25NzbZOAv5Il7rQR4QZa1cNRz5oa5H3FP88mX/TuG8EDsrxmx0TzhhHw
bZ1nerTqzcGFruPD4M7jI7TQQR2IFDc2r/QP6RK4PdgSwdXy2NRxdO7yhqHKEZut
OcHfh9qL53YP+ZD39VdQtgHkOU6Jq3rbpPiGWzk3iuGUQzSxXt+ilqVjuo/iKMUD
ggk70+3Gen7+AGhb6EhvXyRiStrlKs+mzJJjexswheMJ/nRidgGhD64VWfzMjdos
A9SX5arTcuSN3I/piqwBodcKJgz5cEAo9LxduQ3Gy2onDXCpuTHyl9lW3z3o7YG3
lCw9T5DUOROflWPpxoZi
=2ODz
-----END PGP SIGNATURE-----

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.