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
I follow the instructions https://github.com/LeMaker/RPi.GPIO_BP by doing python setup.py install or sudo python setup.py install
root@serverhttp:/etc/RPi.GPIO_BP# python setup.py install running install running build running build_py creating build creating build/lib.linux-armv7l-3.5 creating build/lib.linux-armv7l-3.5/RPi copying RPi/init.py -> build/lib.linux-armv7l-3.5/RPi running build_ext building 'RPi.GPIO' extension creating build/temp.linux-armv7l-3.5 creating build/temp.linux-armv7l-3.5/source arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c source/py_gpio.c -o build/temp.linux-armv7l-3.5/source/py_gpio.o source/py_gpio.c: In function ‘py_setup_channel’: source/py_gpio.c:124:8: warning: variable ‘func’ set but not used [-Wunused-but-set-variable] int func; ^ source/py_gpio.c: In function ‘py_cleanup’: source/py_gpio.c:102:31: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized] gpio_direction[i] = -1; ^ arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c source/c_gpio.c -o build/temp.linux-armv7l-3.5/source/c_gpio.o source/c_gpio.c: In function ‘setup’: source/c_gpio.c:87:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] printf("gpio_mem = 0x%x\t gpio_map = 0x%x\n",gpio_mem,gpio_map); ..............................................................
how to treat?
The text was updated successfully, but these errors were encountered:
OOps Ubuntu Server 14 Python 3.5
Sorry, something went wrong.
what is arm-linux-gnueabihf-gcc version?
@qmaxUser you need to install build-essential: sudo apt-get install build-essential and then build with CFLAGS="-fcommon" sudo python setup.py install
sudo apt-get install build-essential
CFLAGS="-fcommon" sudo python setup.py install
No branches or pull requests
I follow the instructions https://github.com/LeMaker/RPi.GPIO_BP
by doing python setup.py install or sudo python setup.py install
root@serverhttp:/etc/RPi.GPIO_BP# python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.5
creating build/lib.linux-armv7l-3.5/RPi
copying RPi/init.py -> build/lib.linux-armv7l-3.5/RPi
running build_ext
building 'RPi.GPIO' extension
creating build/temp.linux-armv7l-3.5
creating build/temp.linux-armv7l-3.5/source
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c source/py_gpio.c -o build/temp.linux-armv7l-3.5/source/py_gpio.o
source/py_gpio.c: In function ‘py_setup_channel’:
source/py_gpio.c:124:8: warning: variable ‘func’ set but not used [-Wunused-but-set-variable]
int func;
^
source/py_gpio.c: In function ‘py_cleanup’:
source/py_gpio.c:102:31: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
gpio_direction[i] = -1;
^
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c source/c_gpio.c -o build/temp.linux-armv7l-3.5/source/c_gpio.o
source/c_gpio.c: In function ‘setup’:
source/c_gpio.c:87:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf("gpio_mem = 0x%x\t gpio_map = 0x%x\n",gpio_mem,gpio_map);
..............................................................
how to treat?
The text was updated successfully, but these errors were encountered: