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

fix(dev-cli): c build script #1007

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Quantaindew
Copy link

$ ao build

Traceback (most recent call last):
  File "/usr/local/bin/ao-build-module", line 159, in <module>
    main()
  File "/usr/local/bin/ao-build-module", line 73, in main
    c_program = inject_c_files(definition, c_program, c_source_files)
TypeError: inject_c_files() missing 1 required positional argument: 'link_libraries'

Fixed the error by removing it as an argument

had to edit the build.js file so that it routed to same image, will need attention too because the container build script builds it to p3rmaw3b/ao but the updates didnt reflect in p3rmaw3b/ao:1.2.0 ( ${VERSION.IMAGE} ) which is used by the build command

fixed output

emcc: warning: -sMEMORY64 is still experimental. Many features may not work. [-Wexperimental]
cache:INFO: generating system asset: symbol_lists/7722a3472580a3a3ad7076282253431c6535d1a0.json... (this will be cached in "/emsdk/upstream/emscripten/cache/symbol_lists/7722a3472580a3a3ad7076282253431c6535d1a0.json" for subsequent builds)
cache:INFO:  - ok

@Quantaindew Quantaindew changed the title fix: c build script fix(dev-cli): c build script Sep 6, 2024
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

Successfully merging this pull request may close these issues.

1 participant