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.h: No such file or directory #236

Closed
danielkucera opened this issue Dec 29, 2018 · 10 comments
Closed

error.h: No such file or directory #236

danielkucera opened this issue Dec 29, 2018 · 10 comments

Comments

@danielkucera
Copy link

What is this include for? If I comment it out, the code compiles OK:

tune.c:44:10: fatal error: error.h: No such file or directory
 #include <error.h>
          ^~~~~~~~~

@braice
Copy link
Owner

braice commented Dec 30, 2018 via email

@danielkucera
Copy link
Author

Hi, I did not make any changes, it's like this in the original code from master branch:
https://github.com/braice/MuMuDVB/blob/mumudvb2/src/tune.c#L44

I was just compiling for OpenWRT.

@braice
Copy link
Owner

braice commented Dec 30, 2018 via email

@danielkucera
Copy link
Author

After commenting out the line, the code compiles and binary works. OpenWRT probably uses musl:
toolchain-mipsel_24kc_gcc-7.3.0_musl

@danielkucera
Copy link
Author

It compiles without that line even with gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

@danielkucera
Copy link
Author

@braice is that include really needed?

@braice
Copy link
Owner

braice commented Jan 12, 2019 via email

@braice
Copy link
Owner

braice commented Jan 21, 2019 via email

@danielkucera
Copy link
Author

Thank you.
I don't know why did I make that referenced pull request against my own master... 🤦‍♂️

If you are interested, here is a working OpenWRT package definition:
https://github.com/danielkucera/openwrt-packages/tree/master/mumudvb

@braice
Copy link
Owner

braice commented Jan 21, 2019 via email

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