[LinuxBIOS] EPIA M-II (CF Boot)

Carl Farrington linuxbios at compsup.demon.co.uk
Thu Dec 1 12:12:41 CET 2005


Here is the uname:
Linux thinkpad 2.6.12-gentoo-r6 #5 SMP Tue Nov 29 20:39:38 GMT 2005 i686 
Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

The error is something to do with the include of pci.h. I apologise if it's 
due to my system being broken. Here's the output of make:

thinkpad flashrom # make
gcc -O2 -g -Wall -Werror    -c -o flash_enable.o flash_enable.c
flash_enable.c:3:17: pci.h: No such file or directory
flash_enable.c:6: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:6: warning: its scope is only this definition or declaration, 
which is probably not what you want
flash_enable.c:60: warning: `struct pci_dev' declared inside parameter list
flash_enable.c: In function `enable_flash_e7500':
flash_enable.c:68: warning: implicit declaration of function `pci_read_byte'
flash_enable.c:75: warning: implicit declaration of function 
`pci_write_byte'
flash_enable.c: At top level:
flash_enable.c:85: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:110: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:148: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:164: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:180: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:196: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:219: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:253: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:290: warning: `struct pci_dev' declared inside parameter list
flash_enable.c:294: warning: initialization from incompatible pointer type
flash_enable.c:295: warning: initialization from incompatible pointer type
flash_enable.c:296: warning: initialization from incompatible pointer type
flash_enable.c:297: warning: initialization from incompatible pointer type
flash_enable.c:298: warning: initialization from incompatible pointer type
flash_enable.c:299: warning: initialization from incompatible pointer type
flash_enable.c:300: warning: initialization from incompatible pointer type
flash_enable.c:301: warning: initialization from incompatible pointer type
flash_enable.c:302: warning: initialization from incompatible pointer type
flash_enable.c:303: warning: initialization from incompatible pointer type
flash_enable.c:304: warning: initialization from incompatible pointer type
flash_enable.c:305: warning: initialization from incompatible pointer type
flash_enable.c: In function `enable_flash_write':
flash_enable.c:315: warning: implicit declaration of function `pci_alloc'
flash_enable.c:315: warning: assignment makes pointer from integer without a 
cast
flash_enable.c:317: warning: implicit declaration of function `pci_init'
flash_enable.c:318: warning: implicit declaration of function `pci_scan_bus'
flash_enable.c:323: error: storage size of `f' isn't known
flash_enable.c:326: warning: implicit declaration of function 
`pci_filter_init'
flash_enable.c:329: error: dereferencing pointer to incomplete type
flash_enable.c:329: error: dereferencing pointer to incomplete type
flash_enable.c:330: warning: implicit declaration of function 
`pci_filter_match'
flash_enable.c:323: warning: unused variable `f'
flash_enable.c:339: warning: passing arg 1 of pointer to function from 
incompatible pointer type
make: *** [flash_enable.o] Error 1

regards,
Carl
----- Original Message ----- 
From: "Ronald G Minnich" <rminnich at lanl.gov>
To: "Carl Farrington" <linuxbios at compsup.demon.co.uk>
Cc: <linuxbios at openbios.org>
Sent: Thursday, December 01, 2005 3:59 AM
Subject: Re: [LinuxBIOS] EPIA M-II (CF Boot)


> this is the second report of flashrom not compiling. Can you send in
> your error messages, and uname -a, and what distro this is?
>
> ron
>
> -- 
> LinuxBIOS mailing list
> LinuxBIOS at openbios.org
> http://www.openbios.org/mailman/listinfo/linuxbios 





More information about the coreboot mailing list