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

sptdecode.c:158:4: error: ‘ptic_error’ undeclared #39

Open
PaulFangBayArea opened this issue Feb 19, 2021 · 1 comment
Open

sptdecode.c:158:4: error: ‘ptic_error’ undeclared #39

PaulFangBayArea opened this issue Feb 19, 2021 · 1 comment

Comments

@PaulFangBayArea
Copy link

PaulFangBayArea commented Feb 19, 2021

Hi @andikleen,

I hope you are doing great!

I came across with an error while running "make user" and hope you can help me. Thank you.

sptdecode.c:158:4: error: ‘ptic_error’ undeclared (first use in this function); did you mean ‘perror’?
158 | [ptic_error] = "error",
| ^~~~~~~~~~
| perror
sptdecode.c:158:4: note: each undeclared identifier is reported only once for each function it appears in
sptdecode.c:158:4: error: array index in initializer not of integer type
sptdecode.c:158:4: note: (near initialization for ‘class_name’)
make: *** [: sptdecode.o] Error 1

Best,
Puming

@zhangbonian
Copy link

same issue

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