Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26679 - Error while compiling media-video/qc-usb-0.5.1
Summary: Error while compiling media-video/qc-usb-0.5.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-15 09:48 UTC by Thomas Schlesinger (RETIRED)
Modified: 2003-10-07 06:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schlesinger (RETIRED) gentoo-dev 2003-08-15 09:48:59 UTC
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)
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-08-29 10:00:12 UTC
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
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-08-30 00:44:24 UTC
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.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-09-02 12:53:02 UTC
please reopen if you've got more information
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 03:40:43 UTC
reclosing
Comment 5 Harald Fielker 2003-10-07 06:41:05 UTC
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.