Skip to content

Installing python-evdev on arduino yun - fhonour-copts error #34

@vrbs

Description

@vrbs

Hi:
I am trying to install python-evdev on my arduino yun using "./setup.py install". I get the following error: Any suggestion will be appreciated (bear in mind that I am a newbie).

./setup.py install

running install

running bdist_egg

writing ecodes.c (using /usr/include/linux/input.h)

running egg_info

writing evdev.egg-info/PKG-INFO

writing top-level names to evdev.egg-info/top_level.txt

writing dependency_links to evdev.egg-info/dependency_links.txt

reading manifest file 'evdev.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

writing manifest file 'evdev.egg-info/SOURCES.txt'

installing library code to build/bdist.linux-mips/egg

running install_lib

running build_py

running build_ext

building 'evdev._input' extension

mips-openwrt-linux-uclibc-gcc -fno-strict-aliasing -Os -pipe -mips32r2 
-mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -DNDEBUG -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fPIC -I/usr/include/python2.7 -c evdev/input.c -o build/temp.linux-mips-2.7/evdev/input.o -std=c99 -Wno-error=declaration-after-statement

cc1: error: unrecognized command line option '-fhonour-copts'

cc1: error: unrecognized command line option '-fhonour-copts'

error: command 'mips-openwrt-linux-uclibc-gcc' failed with exit status 1

root@Arduino:/mnt/sda1/python-evdev-0.4.7# cc1: error: unrecognized command 
line option '-fhonour-copts'
-ash: cc1:: not found
root@Arduino:/mnt/sda1/python-evdev-0.4.7# cc1: error: unrecognized command line option '-fhonour-copts'
-ash: cc1:: not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions