While compiling the qc-usb-0.5.1, I on my up-to-date-Gentoo got the following error message: [...] gcc -I/lib/modules/2.4.20-gentoo-r5/build/include -nostdinc -iwithprefix include -DMODULE - D__KERNEL__ -DNOKERNEL -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wall - Wstrict-prototypes -Wno-trigraphs -pipe -c qc-memory.c gcc -Wall -O2 -s qcset.c -o qcset qc-memory.c: In function `qc_mm_remap': qc-memory.c:194: warning: passing arg 1 of `remap_page_range_R69d01e73' makes integer from pointer without a cast qc-memory.c:194: incompatible type for argument 4 of `remap_page_range_R69d01e73' qc-memory.c:194: too many arguments to function `remap_page_range_R69d01e73' make: *** [qc-memory.o] Error 1 !!! ERROR: media-video/qc-usb-0.5.1 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message)
thats odd given that i have similar headers but the compile/emerge doesn't complain. can you give me the output of: fgrep -r remap_page_range /usr/src/linux/include/linux
i had a look at the source, and it will only give that error if you are using 2.5 kernel headers with 2.4 sources. make sure your link in /usr/src/linux points to a 2.4 kernel if you are indeed using one.
please reopen if you've got more information
reclosing
Hi, i am using the 2.4.20 gentoo kernel (linux -> linux-2.4.20-gentoo-r7) and i also can't compile qc-usb. I have no 2.5/2.6 kernel installed.