Created
April 21, 2018 08:52
-
-
Save hostilefork/8dc9ae2f2dead34e3a76219a34b4f836 to your computer and use it in GitHub Desktop.
Building with Mingw32-make fails for Windows #564 (moved to gist)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\kealist\Documents\git\kealist\ren-c\make>mingw32-make -f makefile.boot | |
./r3-make.exe -qs ../src/tools/make-make.r OS_ID=""_"" DEBUG="asserts" \ | |
GIT_COMMIT="{unknown}" STANDARD="c" \ | |
RIGOROUS="no" WITH_FFI="no" \ | |
WITH_TCC="no" STATIC="no" \ | |
OPTIMIZE="auto" TARGET=makefile CONFIG="default-config.r" | |
/C/Users/kealist/Documents/git/kealist/ren-c/src/tools/ | |
user-config: => make object! [ | |
os-id blank! _ | |
target word! makefile | |
extensions block! length: 0 | |
rebol-tool blank! _ | |
toolset block! length: 6 | |
debug word! asserts | |
optimize word! auto | |
standard word! c | |
rigorous word! no | |
static word! no | |
pkg-config blank! _ | |
with-ffi word! no | |
with-tcc word! no | |
git-commit string! "unknown" | |
includes blank! _ | |
definitions blank! _ | |
cflags blank! _ | |
libraries blank! _ | |
ldflags blank! _ | |
] | |
system-config: => make object! [ | |
id tuple! 0.3.40 | |
os-name word! windows-x64 | |
os-base word! windows | |
definitions block! length: 5 | |
cflags block! length: 0 | |
libraries block! length: 2 | |
ldflags block! length: 2 | |
] | |
Sanity checking on user config ... Good | |
Sanity checking on system config ... Good | |
Sanity checking on app config ... Good | |
definitions: ["ENDIAN_LITTLE" "UNICODE" "_FILE_OFFSET_BITS=64" <msc:WIN32> "__LLP64__"] | |
includes: [%../src/include] | |
libraries: [make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: "wsock32" | |
flags: _ | |
] | |
] make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: "comdlg32" | |
flags: _ | |
] | |
] make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: "user32" | |
flags: _ | |
] | |
] make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: "shell32" | |
flags: _ | |
] | |
] make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: "advapi32" | |
flags: _ | |
] | |
] make object! [ | |
[self: class-name output flags] | |
[ | |
class-name: ext-dynamic-class | |
output: <gnu:m> | |
flags: _ | |
] | |
]] | |
cflags: [] | |
ldflags: [<gnu:-mconsole> <msc:/subsystem:console> <gnu:-Wl,--stack=4194300> <msc:/stack:4194300>] | |
debug: true | |
optimization: 2 | |
Builtin extensions | |
ext: Crypt: [Crypt ] | |
ext: Process: [Process ] | |
ext: PNG: [LodePNG uPNG ] | |
ext: GIF: [GIF ] | |
ext: JPG: [JPG ] | |
ext: BMP: [BMP ] | |
ext: Locale: [Locale ] | |
ext: UUID: [UUID ] | |
Dynamic extensions | |
#SYMBOLS="" | |
mingw32-make clean | |
mingw32-make[1]: Entering directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
rm -fr objs\ | |
rm -fr r3.exe | |
rm -fr ..\src\include\tmp-*.h | |
rm -fr ..\src\include\host-lib.h | |
rm -fr ..\src\include\reb-evtypes.h | |
rm -fr ..\src\include\reb-lib.h | |
rm -fr ..\src\include\reb-lib-lib.h | |
rm -fr ..\src\include\reb-types.h | |
rm -fr ..\src\core\tmp-boot-block.c | |
rm -fr ..\src\core\tmp-evaltypes.c | |
rm -fr ..\src\core\tmp-maketypes.c | |
rm -fr ..\src\core\tmp-comptypes.c | |
mingw32-make[1]: Leaving directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
mingw32-make prep | |
mingw32-make[1]: Entering directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
./r3-make.exe -qs ../src/tools/make-natives.r | |
------ Generate tmp-natives.r | |
228 natives | |
------ Generate tmp-actions.r | |
./r3-make.exe -qs ../src/tools/make-headers.r | |
------ Building headers | |
... REBOL Interface Library | |
... Function Prototypes | |
... Function Symbols | |
742 function prototypes | |
... PARAM() and REFINE() Automatic Macros | |
... REBOL Constants Strings | |
./r3-make.exe -qs ../src/tools/make-boot.r OS_ID=0.3.40 GIT_COMMIT=unknown | |
--- Make Boot : System Embedded Script --- | |
... Evaluation Maps | |
... Datatype Makers | |
... Datatype Comparison Functions | |
... Datatype Definitions | |
... Boot Definitions | |
345 words + actions | |
... System Object | |
... Event Types | |
... Error Structure and Constants | |
... Error functions | |
... Port Modes | |
... Sys Context | |
... Natives and Bootstrap | |
228 natives | |
Compressed 193112 to 59399 bytes: 30 percent of original | |
... Bootstrap Structure and Root Module | |
./r3-make.exe -qs ../src/tools/make-host-init.r | |
--- Make Host Init Code --- | |
loading: encap.reb | |
loading: unzip.reb | |
loading: host-console.r | |
loading: host-start.r | |
... Host custom init code | |
Compressed 86136 to 23742 bytes: 27 percent of original | |
./r3-make.exe -qs ../src/tools/make-os-ext.r | |
--- Make OS Ext Lib --- Version: 0 | |
scanning host-device.c | |
scanning generic/host-memory.c | |
scanning windows/host-lib.c | |
... Host Access Library | |
... Host Table Definition | |
./r3-make.exe -qs ../src/tools/make-host-ext.r | |
--- Make Host Boot Extension --- | |
./r3-make.exe -qs ../src/tools/make-reb-lib.r | |
--- Make Reb-Lib Headers --- | |
[file] | |
[file] | |
... REBOL Host and Extension API | |
... REBOL Host/Extension API | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=Crypt SRC=../extensions/crypt/mod-crypt.c OS_ID=0.3.40 | |
building Crypt from ../extensions/crypt/mod-crypt.c | |
n-name: => rc4: | |
n-name: => rsa: | |
n-name: => dh-generate-key: | |
n-name: => dh-compute-key: | |
n-name: => aes: | |
n-name: => sha256: | |
n-name: => decloak: | |
n-name: => encloak: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms blank! _ | |
name word! rc4 | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words block! length: 9 | |
errors block! length: 10 | |
platforms blank! _ | |
name word! rsa | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words block! length: 4 | |
errors blank! _ | |
platforms blank! _ | |
name word! dh-generate-key | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! dh-compute-key | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms blank! _ | |
name word! aes | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! sha256 | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! decloak | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! encloak | |
] | |
to block! first native/spec => [native export] | |
... Crypt | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-init.r SRC=../extensions/crypt/ext-crypt-init.reb | |
--- Make Extension Init Code from ../extensions/crypt/ext-crypt-init.reb --- | |
... Ext custom init code | |
Compressed 1503 to 601 bytes: 39 percent of original | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=Process SRC=../extensions/process/mod-process.c OS_ID=0.3.40 | |
building Process from ../extensions/process/mod-process.c | |
n-name: => call: | |
n-name: => get-os-browsers: | |
n-name: => sleep: | |
n-name: => terminate: | |
n-name: => get-pid: | |
n-name: => get-uid: | |
n-name: => get-euid: | |
n-name: => get-gid: | |
n-name: => get-egid: | |
n-name: => set-uid: | |
n-name: => set-euid: | |
n-name: => set-gid: | |
n-name: => set-egid: | |
n-name: => send-signal: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms blank! _ | |
name word! call | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! get-os-browsers | |
] | |
to block! first native/spec => [native export] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! sleep | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 6 | |
platforms blank! _ | |
name word! terminate | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms block! length: 4 | |
name word! get-pid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms block! length: 4 | |
name word! get-uid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms block! length: 4 | |
name word! get-euid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms block! length: 4 | |
name word! get-gid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms block! length: 4 | |
name word! get-egid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms block! length: 4 | |
name word! set-uid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms block! length: 4 | |
name word! set-euid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms block! length: 4 | |
name word! set-gid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms block! length: 4 | |
name word! set-egid | |
] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors block! length: 4 | |
platforms block! length: 4 | |
name word! send-signal | |
] | |
... Process | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-init.r SRC=../extensions/process/ext-process-init.reb | |
--- Make Extension Init Code from ../extensions/process/ext-process-init.reb --- | |
... Ext custom init code | |
Compressed 1128 to 610 bytes: 54 percent of original | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=LodePNG SRC=../extensions/png/mod-lodepng.c OS_ID=0.3.40 | |
building LodePNG from ../extensions/png/mod-lodepng.c | |
n-name: => encode-png-lodepng: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! encode-png-lodepng | |
] | |
to block! first native/spec => [native] | |
... LodePNG | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=uPNG SRC=../extensions/png/u-png.c OS_ID=0.3.40 | |
building uPNG from ../extensions/png/u-png.c | |
n-name: => encode-png: | |
n-name: => identify-png?: | |
n-name: => decode-png: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! encode-png | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! identify-png? | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! decode-png | |
] | |
to block! first native/spec => [native] | |
... uPNG | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=GIF SRC=../extensions/gif/mod-gif.c OS_ID=0.3.40 | |
building GIF from ../extensions/gif/mod-gif.c | |
n-name: => identify-gif?: | |
n-name: => decode-gif: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! identify-gif? | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! decode-gif | |
] | |
to block! first native/spec => [native] | |
... GIF | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=JPG SRC=../extensions/jpg/mod-jpg.c OS_ID=0.3.40 | |
building JPG from ../extensions/jpg/mod-jpg.c | |
n-name: => identify-jpeg?: | |
n-name: => decode-jpeg: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! identify-jpeg? | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! decode-jpeg | |
] | |
to block! first native/spec => [native] | |
... JPG | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=BMP SRC=../extensions/bmp/mod-bmp.c OS_ID=0.3.40 | |
building BMP from ../extensions/bmp/mod-bmp.c | |
n-name: => identify-bmp?: | |
n-name: => decode-bmp: | |
n-name: => encode-bmp: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! identify-bmp? | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! decode-bmp | |
] | |
to block! first native/spec => [native] | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! encode-bmp | |
] | |
to block! first native/spec => [native] | |
... BMP | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=Locale SRC=../extensions/locale/mod-locale.c OS_ID=0.3.40 | |
building Locale from ../extensions/locale/mod-locale.c | |
n-name: => locale: | |
native: => make object! [ | |
spec block! length: 2 | |
words block! length: 4 | |
errors block! length: 2 | |
platforms blank! _ | |
name word! locale | |
] | |
to block! first native/spec => [native export] | |
... Locale | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-init.r SRC=../extensions/locale/ext-locale-init.reb | |
--- Make Extension Init Code from ../extensions/locale/ext-locale-init.reb --- | |
... Ext custom init code | |
Compressed 11862 to 4561 bytes: 38 percent of original | |
./r3-make.exe -qs ../src/tools/make-ext-natives.r MODULE=UUID SRC=../extensions/uuid/mod-uuid.c OS_ID=0.3.40 | |
building UUID from ../extensions/uuid/mod-uuid.c | |
n-name: => generate: | |
native: => make object! [ | |
spec block! length: 2 | |
words blank! _ | |
errors blank! _ | |
platforms blank! _ | |
name word! generate | |
] | |
to block! first native/spec => [native] | |
... UUID | |
... PARAM() and REFINE() Automatic Macros | |
./r3-make.exe -qs ../src/tools/make-ext-init.r SRC=../extensions/uuid/ext-uuid-init.reb | |
--- Make Extension Init Code from ../extensions/uuid/ext-uuid-init.reb --- | |
... Ext custom init code | |
Compressed 599 to 295 bytes: 49 percent of original | |
./r3-make.exe -qs ../src/tools/make-boot-ext-header.r EXTENSIONS=Crypt,Process,PNG,GIF,JPG,BMP,Locale,UUID | |
... Boot Modules | |
mingw32-make[1]: Leaving directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
mingw32-make folders | |
mingw32-make[1]: Entering directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
mkdir -p objs\ | |
mkdir -p objs\bmp\ | |
mkdir -p objs\crypt\ | |
mkdir -p objs\crypt\aes\ | |
mkdir -p objs\crypt\bigint\ | |
mkdir -p objs\crypt\dh\ | |
mkdir -p objs\crypt\rc4\ | |
mkdir -p objs\crypt\rsa\ | |
mkdir -p objs\crypt\sha256\ | |
mkdir -p objs\generic\ | |
mkdir -p objs\gif\ | |
mkdir -p objs\jpg\ | |
mkdir -p objs\locale\ | |
mkdir -p objs\png\ | |
mkdir -p objs\process\ | |
mkdir -p objs\uuid\ | |
mkdir -p objs\windows\ | |
mingw32-make[1]: Leaving directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
echo "Going to build with 8 jobs" | |
Going to build with 8 jobs | |
mingw32-make -j 8 top | |
mingw32-make[1]: Entering directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
mingw32-make[1]: *** No rule to make target 'objs\a-constants.obj', needed by 'r3.exe'. Stop. | |
mingw32-make[1]: Leaving directory 'C:/Users/kealist/Documents/git/kealist/ren-c/make' | |
makefile.boot:104: recipe for target 'top' failed | |
mingw32-make: *** [top] Error 2 | |
C:\Users\kealist\Documents\git\kealist\ren-c\make> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment