[Box Backup] Cross-compilation with i586-mingw32msvc under Ubuntu Hard

Chris Wilson boxbackup@boxbackup.org
Sat, 21 Mar 2009 23:40:40 +0000 (GMT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1446707039-1237678846=:17971
Content-Type: TEXT/PLAIN; charset=windows-1252; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

Hi Achim,

On Sun, 22 Mar 2009, Achim wrote:

> $ patch -p1 < openssl-0.9.8b-mingw-cross.patch
> patching file makefile.one
> patching file ms/test.sh
> patching file include/openssl/e_os2.h
>
> $ make -f makefile.one
> [..]
> i586-mingw32msvc-gcc -o tmp/set_key.o  -Ioutinc -Itmp -O -DOPENSSL_NO_RC5=
=20
> -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE      -c=
=20
> ./crypto/des/set_key.c
> ./crypto/des/set_key.c:68: error: static declaration of =91_hide_DES_chec=
k_key=92=20
> follows non-static declaration
> ./crypto/des/set_key.c:68: error: previous declaration of=20
> =91_hide_DES_check_key=92 was here
> make: *** [tmp/set_key.o] Error 1

Is this a clean build, i.e. did you delete any existing openssl sources=20
before doing this?

Also, could you double-check whether the patch actually removed the word=20
static from include/openssl/e_os2.h or not?

> $ grep regex config.log
> configure:10158: checking regex.h usability
> configure:10199: checking regex.h presence
> conftest.cpp:35:19: error: regex.h: No such file or directory
> | #include <regex.h>
> configure:10240: WARNING: regex.h: accepted by the compiler, rejected by =
the=20
> preprocessor!
> configure:10242: WARNING: regex.h: proceeding with the compiler's result
> configure:10267: checking for regex.h
> ac_cv_header_regex_h=3Dyes

Please could you tell me what happens between configure:10158 and=20
configure:10267, and also what config.log says about pcreposix.h?

Cheers, Chris.
--=20
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
--8323328-1446707039-1237678846=:17971--