Skip to content
New issue

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

error when build net.c hdr incomplete type #8

Closed
mckaygerhard opened this issue Jun 4, 2015 · 3 comments
Closed

error when build net.c hdr incomplete type #8

mckaygerhard opened this issue Jun 4, 2015 · 3 comments

Comments

@mckaygerhard
Copy link

i got error when build:

nfo/hwinfo-21.6/src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../src/hd -O2 -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../../src/hd -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -g -O2 -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow -falign-functions=0 -falign-jumps=0 -falign-loops=0 -mmmx -march=i586  -Wl,-O1 -Lsrc -Lsrc -Lsrc net.c
net.c: En la función ‘get_ethtool_priv’:
net.c:427: error: el campo ‘hdr’ tiene tipo de dato incompleto
net.c:429: error: el nombre del campo no está en el inicializador de record o union
net.c:429: error: (cerca de la inicialización de ‘sset_info.hdr’)
net.c:429: error: ‘ETHTOOL_GSSET_INFO’ no se declaró aquí (primer uso en esta función)
net.c:429: error: (Cada identificador no declarado solamente se reporta una vez
net.c:429: error: ara cada funcion en la que aparece.)
net.c:429: error: el nombre del campo no está en el inicializador de record o union
net.c:429: error: (cerca de la inicialización de ‘sset_info.hdr’)
make[3]: *** [net.o] Error 1
@wfeldt
Copy link
Member

wfeldt commented Jun 5, 2015

My Spanish is not that good but ETHTOOL_GSSET_INFO is usually defined in /usr/include/linux/ethtool.h.

@mckaygerhard
Copy link
Author

ummm so then seem that include directive changed.. i investigate and documented here.. if i can made a patch that detect that case i made a pull request..

@wfeldt
Copy link
Member

wfeldt commented May 8, 2017

Thanks for reporting this! But no follow-up for two years, closing issue.

@wfeldt wfeldt closed this as completed May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants