lspci command not working

Johan van der Meer johanvandermeer at gmail.com
Mon Nov 21 12:08:06 UTC 2005


Hello, I've recently installen FC 4 on my laptop (Acer Apsire 1692).

Now I try to run the command lspci, but i get no output. Thinking that
i don't have the package yet, and FC4 doesn't come with the pciutils
package, I tried to install it myself. Downloaded version
pciutils-2.2.0.tar.gz, uncompressed it, and typed 'make' and 'make
install'.

Something seemed to be happening, but I get loads of error
messages/warnings (see below).

when i try to type lspci, i get a 'command not found'. How do I fix that?

What do I need to do?

Cheers,
Johan


cd lib && ./configure /usr/local/share 2.2.0
Configuring libpci for your system... i386--linux 2.6.11-1.1369_FC4
Looking for access methods... sysfs proc i386-ports dump
make -C lib all
make[1]: Entering directory `/home/johan/Desktop/pciutils-2.2.0/lib'
cc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes -Winli ne   -c -o access.o access.c
In file included from sysdep.h:28,
                 from internal.h:10,
                 from access.c:14:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private
kernel header;  include <endian.h> instead!
cc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes -Winli ne   -c -o generic.o generic.c
In file included from sysdep.h:28,
                 from internal.h:10,
                 from generic.c:11:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private
kernel header;  include <endian.h> instead!
cc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes -Winli ne   -c -o dump.o dump.c
In file included from sysdep.h:28,
                 from internal.h:10,
                 from dump.c:14:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private
kernel header;  include <endian.h> instead!
cc -O2 -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes -Winli ne   -c -o names.o names.c
In file included from sysdep.h:28,
                 from internal.h:10,
                 from names.c:15:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private
kernel header;  include <endian.h> instead!
names.c: In function 'id_insert':
names.c:102: warning: pointer targets in passing argument 1 of
'strlen' differ i n signedness
names.c: In function 'id_parse_list':
names.c:152: warning: pointer targets in passing argument 1 of 'fgets'
differ in  signedness


--
J.N. van der Meer, PhD-student
Department of Clinical Neurophysiology
Academic Medical Centre
P.O. box 22700
1100 DE Amsterdam
telephone: ++31.20.566.2965
e-mail   : j.n.vandermeer at amc.uva.nl




More information about the users mailing list