Skip to content

Compilation fails #5

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

Closed
ap0calypse opened this issue Jul 9, 2015 · 1 comment
Closed

Compilation fails #5

ap0calypse opened this issue Jul 9, 2015 · 1 comment

Comments

@ap0calypse
Copy link

Hi,

I tried to compile and install your module, but unfortunately I can't make it work here. I have a Raspberry Pi 2 Model B. I 'git clone'd the wiringpi-perl repo and inside this repo cloned the normal wiringpi libs. so far it seemed to work. But serial.h is missing. Even if I rename wiringSerial.h to serial.h (or vice versa) it doesn't work.

The error seems to be in wiringpi_wrap.c
I get several errors like this:

/usr/lib/perl5/core_perl/CORE/handy.h:124:34: error: 'bool' uindeclared (first use in this function) ....
yadda yadda....

I had to rewrite the build.sh script to use my correct perl path here, but there seems to be an inconistency between versions afaics.

regards,
manuel

@karstengit
Copy link

This error can really be fixed when you simply copy wiringSerial.h to serial.h.
Then it compiles but you get another error when you try to use the module.
#6

Could you get the module to fly?

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

3 participants