LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Fasttrack 378 and SuSe 9.0, compilation probs (reeeally urgent) (https://www.linuxquestions.org/questions/linux-hardware-18/fasttrack-378-and-suse-9-0-compilation-probs-reeeally-urgent-125588/)

danny2055 12-13-2003 04:55 PM

Fasttrack 378 and SuSe 9.0, compilation probs (reeeally urgent)
 
hi, im trying to compile the sources for the promise fasttrack driver, as it says in the HOWTO on getting the fasttrack driver working here:
http://www.linuxquestions.org/questions/history/124770

only problem is, typing in MAKE i get this:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c wrapper.c
In file included from /usr/src/linux/include/asm/io.h:4,
from wrapper.c:10:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/src/linux/include/linux/wait.h:20,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:11,
from /usr/src/linux/include/linux/vmalloc.h:4,
from /usr/src/linux/include/asm/io.h:47,
from wrapper.c:10:
/usr/src/linux/include/asm/processor.h:57: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/include/asm/processor.h:57: error: requested alignment is not a constant
In file included from /usr/src/linux/include/linux/mm.h:12,
from /usr/src/linux/include/linux/vmalloc.h:5,
from /usr/src/linux/include/asm/io.h:47,
from wrapper.c:10:
/usr/src/linux/include/linux/mmzone.h:44: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux/include/linux/mmzone.h:44: error: requested alignment is not a constant
In file included from /usr/src/linux/include/linux/highmem.h:6,
from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/src/linux/include/asm/io.h:47,
from wrapper.c:10:
/usr/src/linux/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/src/linux/include/asm/pgalloc.h:64: error: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/pgalloc.h:64: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/pgalloc.h:64: error: for each function it appears in.)
In file included from /usr/src/linux/include/linux/vmalloc.h:8,
from /usr/src/linux/include/asm/io.h:47,
from wrapper.c:10:
/usr/src/linux/include/linux/highmem.h: In function `kmap':
/usr/src/linux/include/linux/highmem.h:72: error: `PAGE_OFFSET_RAW' undeclared (first use in this function)
In file included from wrapper.c:10:
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
/usr/src/linux/include/asm/io.h:78: error: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:96: error: `PAGE_OFFSET_RAW' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `isa_check_signature':
/usr/src/linux/include/asm/io.h:280: error: `PAGE_OFFSET_RAW' undeclared (first use in this function)
make: *** [wrapper.o] Error 1



any ideas?

thanks!!


All times are GMT -5. The time now is 10:27 AM.