Maybe you built using the other backend, then rebuilt with the new one
without "make clean"? If there are object files or libraries from the old
backend, it may not know it needs to rebuild them automatically.

If that's not it, you can inspect the files it warns on (like gc.o) to see
that they contain, that should help.

On Sat, Nov 2, 2019 at 3:48 AM Amirouche Boubekki <
[email protected]> wrote:

> I am trying to rebuild chibi-scheme using wasm backend from scratch. Using
> latest master, I get the following error:
>
> $ cd chibi-scheme/ && make js/chibi.js
>
> make[1]: Entering directory
> '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
> emmake make PLATFORM=emscripten CHIBI_DEPENDENCIES=
> CHIBI=./chibi-scheme-emscripten PREFIX= CFLAGS=-O2 SEXP_USE_DL=0 EXE=.bc
> SO=.bc CPPFLAGS="-DSEXP_USE_STRICT_TOPLEVEL_BINDINGS=1
> -DSEXP_USE_ALIGNED_BYTECODE=1 -DSEXP_USE_STATIC_LIBS=1
> -DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0" clibs.c chibi-scheme-static.bc
> make: ['make', 'PLATFORM=emscripten', 'CHIBI_DEPENDENCIES=',
> 'CHIBI=./chibi-scheme-emscripten', 'PREFIX=', 'CFLAGS=-O2',
> 'SEXP_USE_DL=0', 'EXE=.bc', 'SO=.bc',
> 'CPPFLAGS=-DSEXP_USE_STRICT_TOPLEVEL_BINDINGS=1
> -DSEXP_USE_ALIGNED_BYTECODE=1 -DSEXP_USE_STATIC_LIBS=1
> -DSEXP_USE_STATIC_LIBS_NO_INCLUDE=0', 'clibs.c', 'chibi-scheme-static.bc']
> make[2]: Entering directory
> '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
> Makefile:180: warning: overriding recipe for target
> 'chibi-scheme-static.bc'
> Makefile:128: warning: ignoring old recipe for target
> 'chibi-scheme-static.bc'
> make[2]: 'clibs.c' is up to date.
> /home/amirouche/src/scheme/chibi/scheme-comparator/emsdk/upstream/emscripten/emcc
> -Wall -DSEXP_USE_DL=0 -g -g3 -O3 -O2 -static -DSEXP_USE_DL=0 -o
> chibi-scheme-static.bc main.o gc.o sexp.o bignum.o gc_heap.o opcodes.o vm.o
> eval.o simplify.o   -lm
> emcc:WARNING: main.o is not a valid input file
> emcc:WARNING: gc.o is not a valid input file
> emcc:WARNING: sexp.o is not a valid input file
> emcc:WARNING: bignum.o is not a valid input file
> emcc:WARNING: gc_heap.o is not a valid input file
> emcc:WARNING: opcodes.o is not a valid input file
> emcc:WARNING: vm.o is not a valid input file
> emcc:WARNING: eval.o is not a valid input file
> emcc:WARNING: simplify.o is not a valid input file
> shared:ERROR: no input files
> note that input files without a known suffix are ignored, make sure your
> input files end with one of: ('.c', '.C', '.i', '.cpp', '.cxx', '.cc',
> '.c++', '.CPP', '.CXX', '.CC', '.C++', '.ii', '.m', '.mi', '.mm', '.mii',
> '/dev/null', '.bc', '.o', '.obj', '.lo', '.dylib', '.so', '.a', '.ll',
> '.h', '.hxx', '.hpp', '.hh', '.H', '.HXX', '.HPP', '.HH')
> make[2]: *** [Makefile:180: chibi-scheme-static.bc] Error 1
> make[2]: Leaving directory
> '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
> make[1]: *** [Makefile:128: chibi-scheme-static.bc] Error 2
> make[1]: Leaving directory
> '/home/amirouche/src/scheme/chibi/scheme-comparator/chibi-scheme'
> make: *** [Makefile:11: init1] Error 2
>
>
> Does it ring a bell to anyone?
>
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/0d8fc148-f7d2-465d-8c04-7fdfd527664d%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/0d8fc148-f7d2-465d-8c04-7fdfd527664d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpQWVd104eh1%3DQVEYZ%3Dz1nrh9OH9zC2gOdNkhmYxQ1UkSw%40mail.gmail.com.

Reply via email to