Summary: | media-libs/libsdl fails to build fbcon drivers with sanitized linux-headers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 | ||
Attachments: | My patch |
Description
SpanKY
2007-01-03 23:06:52 UTC
fixed in cvs I tried to emerge media-libs/libsdl-1.2.11-r1, and the asm/page.h header file issue,still exists: /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbvideo.c -o build/SDL_fbvideo.lo i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbriva.c -o build/SDL_fbriva.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/fbcon/SDL_fbvideo.c -fPIC -DPIC -o build/.libs/SDL_fbvideo.o /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -o build/SDL_cacaevents.lo ./src/video/fbcon/SDL_fbvideo.c:32:57: error: asm/page.h: No such file or directory make: *** [build/SDL_fbvideo.lo] Error 1 make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -fPIC -DPIC -o build/.libs/SDL_cacaevents.o i686-pc-linux-gnu-gcc -O3 -march=pentium-m -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -DXTHREADS -I/usr/include/ -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/caca/SDL_cacaevents.c -o build/SDL_cacaevents.o >/dev/null 2>&1 !!! ERROR: media-libs/libsdl-1.2.11-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3594: Called src_compile libsdl-1.2.11-r1.ebuild, line 160: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-libs/libsdl-1.2.11-r1/temp/build.log'. I did some search, and I found that PAGE_SIZE, is also defined in sys/user.h, and I made a patch for myself instead of the original libsdl-1.2.11-linux-headers.patch . The patch follows: Created attachment 111453 [details, diff]
My patch
I didn't file a new bug, because I'm not sure about what is going on. I read your changelog, and found that the problem with the sanitizes headers was fixed before 40 days, so I suppose that you can compile libsdl without problems?
you should file a new bug |