[Fedora-livecd-list] Kadischi Build fails

dexter ddmbox2000 at yahoo.co.uk
Tue May 1 17:08:07 UTC 2007


Hello Jasper

The current Kadischi fails to build in current rawhide, it bails out compiling 
find_live_cd.c & eject_live_cd.c with this error:

gcc  -g -O2   -o eject-live-cd eject_live_cd.o -lkudzu -lpci
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`pci_load_name_list':
(.text+0x6e8): undefined reference to `gzopen'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`pci_load_name_list':
(.text+0x781): undefined reference to `gzgets'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L174':
(.text+0x886): undefined reference to `gzclose'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L174':
(.text+0x8a8): undefined reference to `gzeof'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L174':
(.text+0x945): undefined reference to `gzclose'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L174':
(.text+0xd74): undefined reference to `gzopen'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L177':
(.text+0xf17): undefined reference to `gzerror'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libpci.a(names.o): In function 
`.L177':
(.text+0xf3a): undefined reference to `gzclose'
collect2: ld returned 1 exit status
make: *** [eject-live-cd] Error 1

Looks like a link error! after some digging I found that these gzopen ... etc 
belong to libz and adding it to both makefiles obtained a successfull build.
ie:
gcc  -g -O2   -o eject-live-cd eject_live_cd.o -lkudzu -lpci -lz

...dex



  


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html




More information about the Fedora-livecd-list mailing list