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

Error in rake libmruby with the Latest mrubyc #177

Closed
hayaokimura opened this issue Mar 22, 2024 · 1 comment
Closed

Error in rake libmruby with the Latest mrubyc #177

hayaokimura opened this issue Mar 22, 2024 · 1 comment

Comments

@hayaokimura
Copy link

I was unable to execute rake libmruby in prk_firmware due to the following error:

cc1: fatal error: /prk_firmware/lib/picoruby/mrbgems/picoruby-mrubyc/repos/mrubyc/src/hal_posix/hal.c: No such file or directory

It appears that in the latest version of mrubyc, the file has been moved from src/hal_posix/hal.c to hal/posix/hal.c. Specifying MRUBYC_REVISION=18e8f9d (the commit hash for release3.2) as an environment variable resolved the issue, and the process completed successfully. I was uncertain whether to align prk_firmware with the master branch of mrubyc or to specify the revision in the compose.yml of prk_firmware, so I am reporting this without submitting a PR.

services:
  prk:
    environment:
      - MRUBYC_REVISION=18e8f9d
    build:
      context: .
      dockerfile: Dockerfile
    stdin_open: true
    tty: true
    volumes:
      - .:/prk_firmware
@hasumikin
Copy link
Member

Fixed. You will need to do rake deep_clean once

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

2 participants