Replies: 1 comment 1 reply
-
|
From the docs:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm having trouble making an
mpyfile from C source that uses math functions. Without math it works, e.g.factorialexample from Native machine code in .mpy files. The errors I'm getting are:CC dsp.c LINK build/dsp.o LinkError: build/dsp.o: undefined symbol: sinf build/dsp.o: undefined symbol: cosf build/dsp.o: undefined symbol: __mulsc3 build/dsp.o: undefined symbol: cabsf build/dsp.o: undefined symbol: sqrtf make: *** [build/dsp.native.mpy] Error 1I suspect I have to statically link the
libmlibrary, my makefile is:The idea, from Gemini, is to use
LDFLAGSbut that doesn't work :(.Any suggestions?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions