Summary: | linux-headers-2.6.0: redefinition of struct timespec | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Udo Beckmann <udo_beckmann> |
Component: | New packages | Assignee: | x86-kernel (DEPRECATED) <x86-kernel> |
Status: | VERIFIED DUPLICATE | ||
Severity: | major | CC: | media-video |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/usr/include/time.h
/usr/include/linux/time.h /usr/include/sys/time.h /var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/grab.c |
Description
Udo Beckmann
2004-01-03 02:35:01 UTC
Avifile is also now fixed. Make sure you've got linux-headers-2.6.0, ebuild CVS revision 1.2 and avifile-0.7.38.20030710, ebuild CVS revision 1.8. *** This bug has been marked as a duplicate of 31285 *** avifile-0.7.38.20030710 now compiles on my system but ffmpeg-0.4.7 is still broken. Hmm - what error do you get with ffmpeg? # emerge -pv ffmpeg ..... [ebuild UD] media-video/ffmpeg-0.4.7 [0.4.8] +mmx +encode +oggvorbis -doc +faad -dvd -static +sdl +imlib +truetype # emerge --oneshot ffmpeg ..... gcc -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall -g -I.. -I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7 -I/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o grab.o grab.c In file included from grab.c:25: /usr/include/sys/time.h:58: redefinition of `struct timezone' /usr/include/sys/time.h:95: parse error before numeric constant /usr/include/sys/time.h:109: redefinition of `struct itimerval' In file included from grab.c:26: /usr/include/time.h:160: redefinition of `struct itimerspec' make[1]: *** [grab.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/libavformat' make: *** [lib] Error 2 !!! ERROR: media-video/ffmpeg-0.4.7 failed. !!! Function src_compile, Line 56, Exitcode 2 !!! make failed. Hmm - something is very wrong somewhere and it doesn't look like the linux-headers are to blame. Can you please attach:- /usr/include/time.h /usr/include/linux/time.h /usr/include/sys/time.h /var/tmp/portage/ffmpeg-0.4.8/work/ffmpeg-0.4.8/libavformat/grab.c Created attachment 23140 [details]
/usr/include/time.h
Created attachment 23141 [details]
/usr/include/linux/time.h
Created attachment 23142 [details]
/usr/include/sys/time.h
Created attachment 23143 [details]
/var/tmp/portage/ffmpeg-0.4.7/work/ffmpeg-0.4.7/grab.c
I'm adding grab.c of (the actual stable) ffmpeg-0.4.7 (not of ffmpeg-0.4.8 as
requested) because ffmpeg-0.4.8 compiles without problems (See my initial error
description)
Ah, I was looking at the wrong version - that helps. I've patched 0.4.7, just sync your tree and it should compile without any problems. Thanks, closing bug. all fine now, Thanks! |