Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56547 - module spca50x builds with unresolved symbol on gentoo-sources-2.4.20-r20
Summary: module spca50x builds with unresolved symbol on gentoo-sources-2.4.20-r20
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 09:21 UTC by Corvus
Modified: 2005-01-01 17:51 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 Corvus 2004-07-09 09:21:41 UTC
when emerging spca50x-0.30.ebuild on gentoo-sources-2.4.20-r20 the resulting modules has 1 unresolved symbol to "pte_offset"

it refers to a kernel internal symbol in linux/include/asm*/pgtable.h which must have been removed by some patch

gentoo-sources-2.4.20-r20 defines "pte_offset_kernel" there instead

changing line #468 in drivers/usb/spca50x.c in the spca50x-src-0.30 package

ptep = pte_offset(pmd, adr);

into

ptep = pte_offset_kernel(pmd, adr);

fixes the problem, so maybe the ebuild could patch this eventually,
it worked for me, the camera was detected and runs :-)



Reproducible: Always
Steps to Reproduce:
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-07-20 07:43:32 UTC
I am still not 100% sure for which kernel versions this change is ok and currently don't have time to investigate. Your report is not forgotten :-)
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-07 02:54:35 UTC
Didn't find a satisfying solution for that version, but there have been updates to their homepage. Will perhaps make a CVS snapshot and give that a try.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-01 17:51:41 UTC
According to Mike Doty (kingtaco@gentoo.org) there will soon be the successor package in portage. Closing this as WONTFIX, sorry.