Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing potion #110

Open
MisterSnrub opened this issue Aug 13, 2024 · 0 comments
Open

Problem installing potion #110

MisterSnrub opened this issue Aug 13, 2024 · 0 comments

Comments

@MisterSnrub
Copy link

Trying to install potion on Cygwin64. I've installed the following packages:

  • gcc-core
  • git
  • libsqlite3_0
  • make
  • mingw64-i686-gcc-core
  • mingw64-i686-gcc-g++

I run "make install" from the potion directory and get the following:

$ make install
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:238: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:249: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:257: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:238: warning: ignoring prerequisites on suffix rule definition
Makefile:245: warning: ignoring prerequisites on suffix rule definition
Makefile:249: warning: ignoring prerequisites on suffix rule definition
CC core/potion.opic -O0
In file included from core/potion.c:14:
core/potion.h:240:15: error: operator '==' has no left operand
  240 | #if PN_SIZE_T == 4
      |               ^~
core/potion.h:437:15: error: operator '!=' has no left operand
  437 | #if PN_SIZE_T != 8
      |               ^~
core/potion.h: In function ‘potion_gc_update’:
core/potion.h:735:45: error: expected expression before ‘,’ token
  735 |     potion_garbagecollect(P, POTION_PAGESIZE, 0);
      |                                             ^
In file included from core/potion.c:15:
core/internal.h: At top level:
core/internal.h:94:15: error: operator '==' has no left operand
   94 | #if PN_SIZE_T == 8
      |               ^~
core/internal.h:131:22: error: operator '>' has no left operand
  131 | #if POTION_STACK_DIR > 0
      |                      ^
core/internal.h:133:24: error: operator '<' has no left operand
  133 | #elif POTION_STACK_DIR < 0
      |                        ^
make: *** [Makefile:184: core/potion.opic] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant