Skip to content

compilation error in psutil/_psutil_linux.c when including ethtool.h #659

Closed
@maozguttman

Description

Hi,

I was trying to build psutil 3.1.1 and got compilation errors from psutil/_psutil_linux.c:
/usr/include/linux/ethtool.h:18:2: error: expected specifier-qualifier-list before 'u32'
The problem is that u32 is undefined in /usr/include/linux/ethtool.h.
ethtool.h looks like: https://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/include/linux/ethtool.h
It has no #include statements in it.

I am using: SUSE 10, Kernel 2.6.16.60

Thanks,
Maoz

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions