What version of gcc are you using? Knoppix is compiled (well the kernel anyway, not sure about the rest) with gcc-2.95
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:
I checked to make sure that /usr/include/kudzu is there:Code:[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]#
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?Code:[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]#
What version of gcc are you using? Knoppix is compiled (well the kernel anyway, not sure about the rest) with gcc-2.95
I'm using gcc 2.95.Originally Posted by eadz
Bumping.
Surely someone has compiled hwsetup, either successfully or with the errors I've seen.
I did. The problem is the version of kudzu libraries you are using. hwsetup is incompatible with kudzu-libs >0.99Originally Posted by Fang
You must adapt hwsetup to the new version of kudzu-libs or use the apropiate version of kudzu libs, or contact me at neuralgya@users.berlios.de and a I'll send you my modified version.
The problem:
<pre>
hwsetup.c: In function `hw_info':
hwsetup.c:251: structure has no member named `class'
hwsetup.c: In function `writeconfig':
hwsetup.c:411: structure has no member named `class'
hwsetup.c: In function `hw_setup':
hwsetup.c:488: structure has no member named `class'
make: *** [hwsetup] Error 1
</pre>
The solution;
Just replace 'class' by 'type' in that lines. That's all;
Hi, @ll
does anyone of you have the latest source code of hwsetup? Like hwsetup-1.0-13?
Sourcecode of current source tree (1.0-9) doesnt work for me.
Thx.
do ls -l /usr/lib/libkudzu.a to get its size. I was not able to link hwsetup.o to a stripped libkudzu.a . It took me a long time to discover this.
An unstripped (and therefore sane) libkudzu.a is over 800 KB.
I am also looking for hwsetup-1.0-13 source. If it were not of that partitions crash, I would have mirrored it.
I finally found hwsetup-1.0-14.
http://www.hgz.com/knoppix/Packages
Found info at http://www.knoppix.net/forum/viewtop...hlight=hwsetup
AMD Ryzen 9 5900X Desktop Processor (4.8GHz, 12 Cores, Socket AM4) Tray -...
$200.00
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$546.99
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$381.99
Intel Core i5-12400F - 6-Core 2.5GHz 12th Gen Alder Lake LGA 1700 65W CPU
$118.84
Intel Core i5-6500 - 3.20GHz Quad Core CPU Processor
$24.95
AMD Ryzen 5 7600x Processor (5.3 GHz, 6 Cores, LGA 1718/Socket AM5) NEW OEM Tray
$169.98
AMD Ryzen 3 2200G CPU @ 3.50GHz
$25.00
AMD Ryzen 5 5600X 6-core 12-Thread Desktop Processor AVZ9
$104.99
LOT OF 16 Intel Xeon E3-1241v3 3.50GHz Quad Core FCLGA1150 Server Processor
$167.96
** Intel i3 10100F CPU Processor - USED **
$47.99