Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19981 - glibc / linux-2.5 / v4l compile problems
Summary: glibc / linux-2.5 / v4l compile problems
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-25 23:35 UTC by Bret Towe
Modified: 2003-10-31 14:07 UTC (History)
1 user (show)

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 Bret Towe 2003-04-25 23:35:49 UTC
those using 2.5 kernel headers to build a system will see problems like...
In file included from /usr/include/linux/videodev2.h:16,
                 from /usr/include/linux/videodev.h:14,
                 from filters.c:15:
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/linux/time.h:15: redefinition of `struct timeval'
/usr/include/linux/time.h:181: redefinition of `struct itimerspec'

when trying to build an app that requires the videodev.h and videodev2.h kernel
headers the problem is due to time.h stuff being defined already by glibc
it is mentioned here:
http://marc.theaimsgroup.com/?l=linux-video&m=104884621625451&w=2
i think this is more a glibc problem than kernel but i dont know the policys of
ether project well enuf to knwo for sure

i think we need a fix in glibc to fix all apps so we dont have to have patchs
like the one ill attach for gqcam

im not sure if this is just related to glibc-2.3.1 or if its fixed under 2.3.2

Reproducible: Always
Steps to Reproduce:
1. using 2.5 kernel headers merge any v4l related app
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-10-31 14:07:44 UTC
Erm, 2.5 / 2.6 headers are not officially supported yet because of the horrendous
breakage they cause.