Skip to content

Compilation bugs, with emsdk, on Windows #2

Description

@advancedwebdeveloper

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>for /r %i in (*.c) do emcc %i -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\amiga.c -I.
In file included from C:\Users\Worker\Downloads\make-4.3\make-4.3\src\amiga.c:18:
./variable.h:123:58: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
char *variable_expand_for_file (const char *line, struct file *file);
^
./variable.h:124:68: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
char *allocated_variable_expand_for_file (const char *line, struct file *file);
^
./variable.h:146:63: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
char *recursively_expand_for_file (struct variable *v, struct file *file);
^
./variable.h:155:40: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
void initialize_file_variables (struct file *file, int reading);
^
./variable.h:156:41: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
void print_file_variables (const struct file *file);
^
./variable.h:157:43: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
void print_target_variables (const struct file *file);
^
./variable.h:233:35: warning: declaration of 'struct file' will not be visible outside of this function [-Wvisibility]
char **target_environment (struct file *file);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\amiga.c:21:10: fatal error: 'exec/memory.h' file not found
#include <exec/memory.h>
^~~~~~~~~~~~~~~
7 warnings and 1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\amiga.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_t3a8z358\amiga_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\ar.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\arscan.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\commands.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\default.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1185:8: error: unknown type name '__ptr_t'
static __ptr_t open_dirstream (const char *);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1186:39: error: a parameter list without types is only allowed in a function definition
static struct dirent *read_dirstream (__ptr_t);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1188:8: error: unknown type name '__ptr_t'
static __ptr_t
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1208:11: error: use of undeclared identifier 'ptr_t'
return (ptr_t) new;
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1212:17: error: unknown type name 'ptr_t'
read_dirstream (ptr_t stream)
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1336:7: error: no member named 'gl_opendir' in 'glob_t'
gl->gl_opendir = open_dirstream;
~~ ^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1337:7: error: no member named 'gl_readdir' in 'glob_t'
gl->gl_readdir = read_dirstream;
~~ ^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1338:7: error: no member named 'gl_closedir' in 'glob_t'
gl->gl_closedir = free;
~~ ^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1339:7: error: no member named 'gl_lstat' in 'glob_t'
gl->gl_lstat = local_lstat;
~~ ^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c:1340:7: error: no member named 'gl_stat' in 'glob_t'
gl->gl_stat = local_stat;
~~ ^
10 errors generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major=1 -D__EMSCRIPTEN_minor=39 -D__EMSCRIPTEN_tiny=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix
-Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\dir.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_b_l1ctte\dir_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\expand.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\file.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\function.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:558:30: error: implicitly declaring library function 'strcmp' with type
'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (optind != argc && !strcmp (argv[optind], "--"))
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:558:30: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:634:7: error: implicitly declaring library function 'strncmp' with type
'int (const char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
if (!strncmp (p->name, nextchar, nameend - nextchar))
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:634:7: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:637:21: error: implicitly declaring library function 'strlen' with type
'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]
== (unsigned int) strlen (p->name))
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:637:21: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c:685:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
1 warning and 3 errors generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_9sxx5i6j\getopt_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\getopt1.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\guile.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\hash.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\implicit.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\job.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\job.c:141:11: fatal error: 'findprog.h' file not found

include "findprog.h"

      ^~~~~~~~~~~~

1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\job.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_pfgbo_r3\job_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\load.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\loadapi.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:784:11: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
if (streq (output_sync_option, "none"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:786:16: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
else if (streq (output_sync_option, "line"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:788:16: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
else if (streq (output_sync_option, "target"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:790:16: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
else if (streq (output_sync_option, "recurse"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:1124:34: error: use of undeclared identifier 'LOCALEDIR'
(void)bindtextdomain (PACKAGE, LOCALEDIR);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c:1401:13: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
if (streq (v->name, "SHELL"))
^~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
5 warnings and 1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\main.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_gpe5lech\main_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\misc.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\output.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\posixos.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:110:5: error: use of undeclared identifier 'INCLUDEDIR'
INCLUDEDIR,
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:2081:30: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
if (!posix_pedantic && streq (name, ".POSIX"))
^~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:2095:37: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
else if (!second_expansion && streq (name, ".SECONDEXPANSION"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:2098:30: warning: result of comparison against a string literal is unspecified (use an explicit string
comparison function instead) [-Wstring-compare]
else if (!one_shell && streq (name, ".ONESHELL"))
^~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:2925:16: error: invalid application of 'sizeof' to an incomplete type 'const char *[]'
idx = sizeof (default_include_directories) / sizeof (const char *);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c:3394:29: error: use of undeclared identifier 'GLOB_ALTDIRFUNC'
switch (glob (name, GLOB_ALTDIRFUNC, NULL, &gl))
^
3 warnings and 3 errors generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\read.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_q9qfj6y9\read_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remake.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remake.c:1614:7: error: use of undeclared identifier 'LIBDIR'
LIBDIR, /* Defined by configuration. */
^
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remake.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_dukr0f0f\remake_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remote-cstms.c -I.
In file included from C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remote-cstms.c:23:
./commands.h:40:35: warning: declaration of 'struct child' will not be visible outside of this function [-Wvisibility]
void delete_child_targets (struct child *child);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remote-cstms.c:30:10: fatal error: 'customs.h' file not found
#include "customs.h"
^~~~~~~~~~~
1 warning and 1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remote-cstms.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_s3774lf5\remote-cstms_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\remote-stub.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\rule.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\signame.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\strcache.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\variable.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\variable.c:405:47: warning: result of comparison against a string literal is unspecified (use an explicit
string comparison function instead) [-Wstring-compare]
if (variable_changenum != last_changenum && streq (var->name, ".VARIABLES"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\variable.c:1055:23: warning: result of comparison against a string literal is unspecified (use an explicit
string comparison function instead) [-Wstring-compare]
if (streq (v->name, "SHELL") && shell_var.value)
^~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\variable.c:1126:7: warning: result of comparison against a string literal is unspecified (use an explicit
string comparison function instead) [-Wstring-compare]
if (streq (var->name, RECIPEPREFIX_NAME))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./makeint.h:316:9: note: expanded from macro 'streq'
((a) == (b) ||
^ ~~~
3 warnings generated.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\version.c -I.

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsfunctions.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsfunctions.c:28:10: fatal error: 'rms.h' file not found
#include <rms.h>
^~~~~~~
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsfunctions.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_ppdt9a0m\vmsfunctions_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:119:3: error: implicit declaration of function '$DESCRIPTOR' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
$DESCRIPTOR (reslt_dsc, reslt);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:119:16: error: use of undeclared identifier 'reslt_dsc'
$DESCRIPTOR (reslt_dsc, reslt);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:121:27: error: variable has incomplete type 'struct dsc$descriptor_s'
struct dsc$descriptor_s name_dsc;
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:121:10: note: forward declaration of 'struct dsc$descriptor_s'
struct dsc$descriptor_s name_dsc;
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:128:3: error: implicit declaration of function 'INIT_DSC_CSTRING' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
INIT_DSC_CSTRING (name_dsc, (char *)name);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:130:10: error: implicit declaration of function 'lib$sys_trnlog' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
stat = lib$sys_trnlog (&name_dsc, &resltlen, &reslt_dsc);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:130:49: error: use of undeclared identifier 'reslt_dsc'
stat = lib$sys_trnlog (&name_dsc, &resltlen, &reslt_dsc);
^
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c:136:15: error: use of undeclared identifier 'SS$NOTRAN'
if (stat == SS$NOTRAN)
^
7 errors generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major
=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsify.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_vuiluci0\vmsify_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsjobs.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsjobs.c:20:10: fatal error: 'descrip.h' file not found
#include <descrip.h>
^~~~~~~~~~~
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vmsjobs.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_66nfe5ba\vmsjobs_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_exit.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_exit.c:31:10: fatal error: 'stsdef.h' file not found
#include <stsdef.h>
^~~~~~~~~~
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_exit.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_tgft4_g_\vms_exit_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_export_symbol.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_export_symbol.c:32:10: fatal error: 'descrip.h' file not found
#include <descrip.h>
^~~~~~~~~~~
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_export_symbol.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_xes8gmyo\vms_export_symbol_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_progname.c -I.
C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_progname.c:68:10: fatal error: 'descrip.h' file not found
#include <descrip.h>
^~~~~~~~~~~
1 error generated.
emcc: error: 'C:/Users/Worker/emsdk/upstream/bin\clang.exe -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=19 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\compat -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\libc -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\lib\libc\musl\arch\emscripten -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\local\include -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SSE -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\cache\wasm\include -DEMSCRIPTEN -fignore-exceptions -I. C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vms_progname.c -Xclang -isystemC:\Users\Worker\emsdk\upstream\emscripten\system\include\SDL -c -o C:\Users\Worker\AppData\Local\Temp\emscripten_temp_fu51xm2x\vms_progname_0.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)

C:\Users\Worker\Downloads\make-4.3\make-4.3\src>emcc C:\Users\Worker\Downloads\make-4.3\make-4.3\src\vpath.c -I.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions