Giter Site home page Giter Site logo

Elkscmd build fail about elks HOT 3 CLOSED

hellocyf avatar hellocyf commented on May 20, 2024
Elkscmd build fail

from elks.

Comments (3)

hellocyf avatar hellocyf commented on May 20, 2024

rebuild dev86

make[3]: bcc' is up to date. make[3]:ncc' is up to date.
make[3]: bcc-cc1' is up to date. make[3]: Leaving directory/elks/dev86/bcc'
cp -p bcc/bcc bin/Bcc
cp -p bcc/ncc bin/ncc
cp -p bcc/bcc-cc1 lib/bcc-cc1
make -C cpp CC='cc' CFLAGS=' -O2 -fno-strict-aliasing' LDFLAGS='' PREFIX=/usr LIBDIR='/usr/lib/bcc' BINDIR='/usr/bin' ANSI='' bcc-cpp
make[3]: Entering directory ~/elks/dev86/cpp' gperf -aptTc -N is_ctok -H hash1 token1.tok > tmp.h token1.tok:10: declarations are not allowed in the keywords section. To declare a keyword starting with %, enclose it in double-quotes. make[3]: *** [token1.h] Error 1 make[3]: Leaving directory
/elks/dev86/cpp'
make[2]: *** [cpp] Error 2
make[2]: Leaving directory ~/elks/dev86' make[1]: *** [all] Error 2 make[1]: Leaving directory~/elks/dev86'
make: *** [all] Error 2

token1.tok
struct token_trans { char * name; int token; };
%%
..., TK_ELLIPSIS

=, TK_RIGHT_ASSIGN
<<=, TK_LEFT_ASSIGN
+=, TK_ADD_ASSIGN
-=, TK_SUB_ASSIGN
*=, TK_MUL_ASSIGN
/=, TK_DIV_ASSIGN
%=, TK_MOD_ASSIGN
&=, TK_AND_ASSIGN
^=, TK_XOR_ASSIGN
|=, TK_OR_ASSIGN
, TK_RIGHT_OP
<<, TK_LEFT_OP
++, TK_INC_OP
--, TK_DEC_OP
->, TK_PTR_OP
&&, TK_AND_OP
||, TK_OR_OP
<=, TK_LE_OP
=, TK_GE_OP
==, TK_EQ_OP
!=, TK_NE_OP
.., TK_WORD

os unbuntu 14.04.

from elks.

jbruchon avatar jbruchon commented on May 20, 2024

It seems as if you are having problems due to the default shell (/bin/sh) on Debian-based distributions not being GNU Bash (they use dash instead). The [[ command is a shell builtin which is an alias for the test command. I should also point out that I have not personally tested "make images.zip" and do not know if it currently works.

from elks.

hellocyf avatar hellocyf commented on May 20, 2024

boot_blocks: $(FD_BSECT) $(KHELPER)
@if [[ ! -e $(MINIX_BOOT)/minix.bin || ! -e $(MINIX_BOOT)/minix_elks.bin ]];
then echo -e "\n\n *** Do builds in dev86 and dev86/bootblocks first *** \n\n"; exit 1; fi
I delete boot_blocks in _build_bootable_target like below
_build_bootable_target: _build_target kernel_image
it's works!

from elks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.