metaeducation / ren-c

Library for embedding a Rebol interpreter into C codebases
GNU Lesser General Public License v3.0
128 stars 27 forks source link

ren-c doesn't compile on Linux #1144

Closed IngoHohmann closed 2 years ago

IngoHohmann commented 2 years ago
Running: gcc -c -I/home/ianus/Data/Src/ren-c/src/include/ -Iprep/include/ -Iprep/core -DREB_API -DNDEBUG -DOS_STACK_GROWS_DOWN -DENDIAN_LITTLE -DHAS_LL_CONSTS -DUSE_PIPE2_NOT_PIPE -D__LP64__ -DTO_LINUX=1 -DTO_LINUX_X64=1 -O2 -fvisibility=hidden -o objs/a-constants.o /home/ianus/Data/Src/ren-c/src/core/a-constants.c
Running: gcc -c -I/home/ianus/Data/Src/ren-c/src/include/ -Iprep/include/ -Iprep/core -DREB_API -DNDEBUG -DOS_STACK_GROWS_DOWN -DENDIAN_LITTLE -DHAS_LL_CONSTS -DUSE_PIPE2_NOT_PIPE -D__LP64__ -DTO_LINUX=1 -DTO_LINUX_X64=1 -O2 -fvisibility=hidden -o objs/a-globals.o /home/ianus/Data/Src/ren-c/src/core/a-globals.c
In file included from /home/ianus/Data/Src/ren-c/src/include/sys-core.h:557,
                 from /home/ianus/Data/Src/ren-c/src/core/a-globals.c:33:
/home/ianus/Data/Src/ren-c/src/include/datatypes/sys-frame.h: In function ‘Prep_Frame_Core’:
/home/ianus/Data/Src/ren-c/src/include/datatypes/sys-frame.h:516:6: error: ‘REBFRM’ {aka ‘struct Reb_Frame’} has no member named ‘tick’
  516 |     f->tick = TG_Tick;
      |      ^~
/home/ianus/Data/Src/ren-c/src/include/datatypes/sys-frame.h:516:15: error: ‘TG_Tick’ undeclared (first use in this function)
  516 |     f->tick = TG_Tick;
      |               ^~~~~~~

And then lots of the same ...

commit #5e11dc078 gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0

hostilefork commented 2 years ago

Should be fixed here:

https://github.com/metaeducation/ren-c/commit/6775013ae50ba0862c0f30b081d4d1dc4a42bff6

I'm not clear on why that started causing a problem all of a sudden, it's been wrong for a while.