FS#5853 - hal 0.5.8.1-3 does not compile with pciutils 2.2.4-1
Attached to Project:
Arch Linux
Opened by Pierluigi (pierluigi) - Saturday, 18 November 2006, 17:51 GMT
Opened by Pierluigi (pierluigi) - Saturday, 18 November 2006, 17:51 GMT
|
Details
checking for /usr/share/hwdata/pci.ids... no
checking for /usr/share/misc/pci.ids... no checking for /usr/share/pci.ids... no checking for /var/lib/misc/pci.ids... no configure: error: cannot find pci.ids. Use --with-hwdata to specify location But this is already described in bug report 5852 (http://bugs.archlinux.org/task/5852) I tried also to decompress /usr/share/pci.ids.gz in /usr/share/pci.ids , the build starts but gives this error: gcc -march=pentium-m -O3 -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/hald-addon-macbookpro-backlight addon-macbookpro-backlight.o logger.o ../../../libhal/.libs/libhal.so -lpci -ldbus-glib-1 -ldbus-1 -lglib-2.0 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0x4e1): undefined reference to `gzopen' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0x57d): undefined reference to `gzgets' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0x682): undefined reference to `gzclose' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0x6a8): undefined reference to `gzeof' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0x737): undefined reference to `gzclose' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0xb11): undefined reference to `gzopen' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0xc99): undefined reference to `gzerror' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libpci.a(names.o): In function `pci_load_name_list': (.text+0xcb9): undefined reference to `gzclose' collect2: ld returned 1 exit status make[5]: *** [hald-addon-macbookpro-backlight] Error 1 make[5]: Leaving directory `/home/pigi/packages/hal/src/hal-0.5.8.1/hald/linux/addons' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/pigi/packages/hal/src/hal-0.5.8.1/hald/linux' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/pigi/packages/hal/src/hal-0.5.8.1/hald' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/pigi/packages/hal/src/hal-0.5.8.1/hald' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/pigi/packages/hal/src/hal-0.5.8.1' make: *** [all] Error 2 |
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 19 November 2006, 12:58 GMT
Reason for closing: Fixed
Additional comments about closing: pciutils doesn't use zlib anymore.
Sunday, 19 November 2006, 12:58 GMT
Reason for closing: Fixed
Additional comments about closing: pciutils doesn't use zlib anymore.
Comment by Pierluigi (pierluigi) -
Saturday, 18 November 2006, 17:52 GMT
Comment by Jan de Groot (JGC) -
Sunday, 19 November 2006, 11:00 GMT
I forgot to say that with pciutils-2.2.1 there is no problem.
It seems the latest pciutils needs -lz in LDFLAGS, I received a
patch for hal to include that flag for the macbook backlight
addon, while it's not even a bug in hal. Somehow pciutils supports
reading a compressed pci.ids.gz using zlib now.