[Ohrrpgce] SVN: james/12141 Docker: add a first-draft attempt at an mxe build environment in a docke

James Paige Bob at hamsterrepublic.com
Tue Dec 22 12:38:41 PST 2020


Right now this always fails in the step that does:

RUN make TARGET=i686-w64-mingw32.static prefix=/usr/local/ rtlib gfxlib2
install-rtlib install-gfxlib2

It fails with this error message about ffi.h

CC src/rtlib/obj/win32/sys_portio.o
CC src/rtlib/obj/win32/sys_rmdir.o
CC src/rtlib/obj/win32/sys_run.o
CC src/rtlib/obj/win32/sys_shell.o
CC src/rtlib/obj/win32/thread_call.o
src/rtlib/thread_call.c:33:17: fatal error: ffi.h: No such file or directory
compilation terminated.
makefile:554: recipe for target 'src/rtlib/obj/win32/thread_call.o' failed
make: *** [src/rtlib/obj/win32/thread_call.o] Error 1
The command '/bin/sh -c make TARGET=i686-w64-mingw32.static
prefix=/usr/local/ rtlib gfxlib2 install-rtlib install-gfxlib2' returned a
non-zero code: 2

libffi-dev is definitely installed, so i don't know what the problem is.

I tried skipping libffi with CFLAGS=-DDISABLE_FFI per the instructions in
https://rpg.hamsterrepublic.com/ohrrpgce/Cross-compiling but that made no
difference.

I also tried switching from https://github.com/freebasic/fbc.git to
https://github.com/rversteegen/fbc for the FBC sources, and that didn't
help either (unless maybe I needed to use a specific branch?)

Anyway, I'll look at it more later. This was as far as I got today :D

---
James Paige

On Tue, Dec 22, 2020 at 3:32 PM <subversion at hamsterrepublic.com> wrote:

> james
> 2020-12-22 12:32:41 -0800 (Tue, 22 Dec 2020)
> 158
> Docker: add a first-draft attempt at an mxe build environment in a docker
> container.
>
> This does not work yet, but will provide a base for further improvements
> ---
> A   wip/docker/ohrrpgce-mxe-build-env/
> A   wip/docker/ohrrpgce-mxe-build-env/Dockerfile
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20201222/7ea624c5/attachment-0001.html>


More information about the Ohrrpgce mailing list