Fang
09-25-2003, 09:08 AM
Thanks to Stephen's help, I managed to obtain the sources for hwsetup from http://developer.linuxtag.net/knoppix/sources/. I untarred them, then installed the debian package for kudzu-dev. However, when I try to compile hwsetup, I receive the following errors:
[root@bog hwsetup-1.0]# make
gcc -I/usr/include/kudzu -DBLACKLIST -Wall -fPIC -O2 -s -o hwsetup hwsetup.c -lkudzu -lpci
hwsetup.c: In function `startwheel':
hwsetup.c:86: warning: implicit declaration of function `exit'
hwsetup.c: In function `hw_info':
hwsetup.c:264: error: structure has no member named `type'
hwsetup.c: In function `writeconfig':
hwsetup.c:437: error: structure has no member named `type'
hwsetup.c: In function `hw_setup':
hwsetup.c:514: error: structure has no member named `type'
make: *** [hwsetup] Error 1
[root@bog hwsetup-1.0]#
I checked to make sure that /usr/include/kudzu is there:
[root@bog hwsetup-1.0]# ls /usr/include/kudzu/
ddc.h isapnp.h misc.h pci.h sbus.h usb.h
device.h keyboard.h modules.h pciserial.h scsi.h
ide.h kudzu.h parallel.h psaux.h serial.h
[root@bog hwsetup-1.0]#
It was my understanding that all hwsetup depended on was kudzu-dev, but it looks like this is not the case. Has anyone else run into this problem before? If so, what is the solution?
[root@bog hwsetup-1.0]# make
gcc -I/usr/include/kudzu -DBLACKLIST -Wall -fPIC -O2 -s -o hwsetup hwsetup.c -lkudzu -lpci
hwsetup.c: In function `startwheel':
hwsetup.c:86: warning: implicit declaration of function `exit'
hwsetup.c: In function `hw_info':
hwsetup.c:264: error: structure has no member named `type'
hwsetup.c: In function `writeconfig':
hwsetup.c:437: error: structure has no member named `type'
hwsetup.c: In function `hw_setup':
hwsetup.c:514: error: structure has no member named `type'
make: *** [hwsetup] Error 1
[root@bog hwsetup-1.0]#
I checked to make sure that /usr/include/kudzu is there:
[root@bog hwsetup-1.0]# ls /usr/include/kudzu/
ddc.h isapnp.h misc.h pci.h sbus.h usb.h
device.h keyboard.h modules.h pciserial.h scsi.h
ide.h kudzu.h parallel.h psaux.h serial.h
[root@bog hwsetup-1.0]#
It was my understanding that all hwsetup depended on was kudzu-dev, but it looks like this is not the case. Has anyone else run into this problem before? If so, what is the solution?