We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The compilation works and i can initialize the module. When the first pinMode command is called it crashes with an error.
perl -e 'use wiringpi; print wiringpi::wiringPiSetup()."\n";wiringpi::pinMode(1, 0);' perl: symbol lookup error: /usr/lib/perl/5.14/wiringpi.so: undefined symbol: softPwmStop
The text was updated successfully, but these errors were encountered:
I could solve the problem. You need to compile and link additional files to the result.
gcc -fpic -c -Dbool=char -I/usr/lib/perl/5.14.2/CORE wiringpi_wrap.c WiringPi/wiringPi/wiringPi.c WiringPi/wiringPi/softPwm.c WiringPi/wiringPi/softTone.c -D_GNU_SOURCE
gcc -shared wiringPi.o softPwm.o softTone.o wiringpi_wrap.o -o wiringpi.so
I hope gordon will add the corrected version now to his wiringpi project.
Sorry, something went wrong.
Fix for #6
c8271db
I've added this fix into the build.sh script, pending it being remixed into a proper makefile.
build.sh
No branches or pull requests
The compilation works and i can initialize the module.
When the first pinMode command is called it crashes with an error.
perl -e 'use wiringpi; print wiringpi::wiringPiSetup()."\n";wiringpi::pinMode(1, 0);'
perl: symbol lookup error: /usr/lib/perl/5.14/wiringpi.so: undefined symbol: softPwmStop
The text was updated successfully, but these errors were encountered: