tag 450447 patch
thanks

Lucas Nussbaum <[EMAIL PROTECTED]> (07/11/2007):
> gcc -Wall -g -O2 athcool.o scanpci.o -lpci -o athcool
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In 
> function `pci_load_name_list':
> (.text+0x533): undefined reference to `gzopen'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In 
> function `pci_load_name_list':
> […]

Missing -lz, patch attached.

There are some lintian warnings around, too:
(source) W: athcool source: debian-rules-ignores-make-clean-error line 28
(binary) E: athcool: postrm-contains-additional-updaterc.d-calls 
/etc/init.d/athcool
(binary) W: athcool: script-in-etc-init.d-not-registered-via-update-rc.d 
/etc/init.d/athcool

Cheers,

-- 
Cyril Brulebois
--- athcool-0.3.11.orig/Makefile
+++ athcool-0.3.11/Makefile
@@ -20,7 +20,7 @@
 DEFS    = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
 #DEFS   += -DENABLE_FORCEID=1
 #DEFS   += -DDISABLE_WRITE_REG=1
-LIBS   = -lpci
+LIBS   = -lpci -lz
 
 ### rules ###
 

Attachment: pgpK9ah2rdVef.pgp
Description: PGP signature

Reply via email to