On Sunday, 29 July 2007 20:01, Alon Bar-Lev wrote: > On 7/29/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > It doesn't work on my system (openSUSE 10.2). > > What do you get?
s2ram-x86.o: In function `s2ram_resume': s2ram-x86.c:(.text+0x31e): undefined reference to `pci_cleanup' s2ram-x86.o: In function `find_vga': s2ram-x86.c:(.text+0x359): undefined reference to `pci_scan_bus' s2ram-x86.c:(.text+0x383): undefined reference to `pci_fill_info' s2ram-x86.c:(.text+0x390): undefined reference to `pci_read_word' s2ram-x86.o: In function `s2ram_hacks': s2ram-x86.c:(.text+0x48d): undefined reference to `pci_alloc' s2ram-x86.c:(.text+0x49c): undefined reference to `pci_init' s2ram-x86.o: In function `restore_vga_pci': s2ram-x86.c:(.text+0x232): undefined reference to `pci_write_block' s2ram-x86.o: In function `save_vga_pci': s2ram-x86.c:(.text+0x342): undefined reference to `pci_read_block' radeontool.o: In function `map_radeon_cntl_mem': radeontool.c:(.text+0xac): undefined reference to `pci_alloc' radeontool.c:(.text+0xb7): undefined reference to `pci_init' radeontool.c:(.text+0xbf): undefined reference to `pci_scan_bus' radeontool.c:(.text+0xea): undefined reference to `pci_fill_info' radeontool.c:(.text+0xf7): undefined reference to `pci_read_word' radeontool.c:(.text+0x117): undefined reference to `pci_read_block' radeontool.c:(.text+0x151): undefined reference to `pci_cleanup' radeontool.c:(.text+0x1e3): undefined reference to `pci_cleanup' vbetool/vbetool.o: In function `do_post': vbetool.c:(.text+0x829): undefined reference to `pci_scan_bus' vbetool.c:(.text+0x853): undefined reference to `pci_read_word' vbetool/vbetool.o: In function `vbetool_init': vbetool.c:(.text+0x8b9): undefined reference to `pci_alloc' vbetool.c:(.text+0x8d3): undefined reference to `pci_init' collect2: ld returned 1 exit status make: *** [s2both] Error 1 > Which version of pciutils do you have? pciutils-2.2.4-13 > Can you please send the output of the following command? > $ pkg-config --libs libpci Package libpci was not found in the pkg-config search path. Perhaps you should add the directory containing `libpci.pc' to the PKG_CONFIG_PATH environment variable No package 'libpci' found Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel