Skip to content

Error in istall #15

@MVV66

Description

@MVV66

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions