View previous topic :: View next topic |
Author |
Message |
lordalbert l33t
Joined: 26 Nov 2006 Posts: 840 Location: Italy
|
Posted: Mon Aug 27, 2007 2:45 pm Post subject: error compiling k3b |
|
|
hello. I have a problem compiling k3b
error's message
Code: |
make[3]: Entering directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/filter/preview'
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.Tpo -c -o filter_preview.lo filter_preview.c
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT display.lo -MD -MP -MF .deps/display.Tpo -c -o display.lo display.c
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT filter_pv.lo -MD -MP -MF .deps/filter_pv.Tpo -c -o filter_pv.lo filter_pv.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT display.lo -MD -MP -MF .deps/display.Tpo -c display.c -fPIC -DPIC -o .libs/display.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT filter_pv.lo -MD -MP -MF .deps/filter_pv.Tpo -c filter_pv.c -fPIC -DPIC -o .libs/filter_pv.o
display.c: In function 'dv_display_Xv_init':
display.c:405: warning: pointer targets in passing argument 3 of 'XvQueryAdaptors' differ in signedness
display.c:567: warning: pointer targets in passing argument 4 of 'XvShmCreateImage' differ in signedness
display.c:574: warning: pointer targets in assignment differ in signedness
display.c:574: warning: pointer targets in assignment differ in signedness
display.c: In function 'dv_center_window':
display.c:595: error: 'SDL_SysWMinfo' has no member named 'subsystem'
display.c:595: error: 'SDL_SYSWM_X11' undeclared (first use in this function)
display.c:595: error: (Each undeclared identifier is reported only once
display.c:595: error: for each function it appears in.)
display.c:596: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:597: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:597: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:599: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:599: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:603: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:603: error: 'SDL_SysWMinfo' has no member named 'info'
display.c:604: error: 'SDL_SysWMinfo' has no member named 'info'
make[3]: *** [display.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I../.. -I../../filter -I../../src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -MT filter_preview.lo -MD -MP -MF .deps/filter_preview.Tpo -c filter_preview.c -fPIC -DPIC -o .libs/filter_preview.o
mv -f .deps/filter_pv.Tpo .deps/filter_pv.Plo
mv -f .deps/filter_preview.Tpo .deps/filter_preview.Plo
make[3]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/filter/preview'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3'
make: *** [all] Error 2
!!! ERROR: media-video/transcode-1.0.3 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
transcode-1.0.3.ebuild, line 112: Called die
|
could you help me? |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Mon Aug 27, 2007 3:14 pm Post subject: |
|
|
Looks like transcode isn't compatible with the version of libsdl you have installed - which version is this? I've got 1.2.11-r2 installed and it looks to have the required members. |
|
Back to top |
|
|
lordalbert l33t
Joined: 26 Nov 2006 Posts: 840 Location: Italy
|
Posted: Mon Aug 27, 2007 3:19 pm Post subject: |
|
|
i have media-libs/libsdl-1.2.11-r2 |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Mon Aug 27, 2007 3:26 pm Post subject: |
|
|
Hmm, what USE flags do you have set for libsdl? And what's the output of:
Code: |
grep SDL_VIDEO_DRIVER_X11 /usr/include/SDL/SDL_config.h | grep define
|
|
|
Back to top |
|
|
lordalbert l33t
Joined: 26 Nov 2006 Posts: 840 Location: Italy
|
Posted: Mon Aug 27, 2007 3:39 pm Post subject: |
|
|
[ebuild R ] media-libs/libsdl-1.2.11-r2 USE=" alsa nojoystick -aalib -arts -dga -directfb -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -novideo -opengl -oss -svga -X -xinerama -xv"
morgan matteo # grep SDL_VIDEO_DRIVER_X11 /usr/include/SDL/SDL_config.h | grep define
morgan matteo # |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Mon Aug 27, 2007 3:58 pm Post subject: |
|
|
Aha - there's the problem. libsdl needs to be compiled with the X USE flag if you want to use it with transcode (otherwise the SDL_SysWMinfo structure doesn't contain the necessary info & subsystem members). You'll need to either add the X USE flag for libsdl, or remove the sdl USE flag for transcode.
And you should log a bug for this - the transcode ebuild should check that libsdl was built with the required USE flags. |
|
Back to top |
|
|
lordalbert l33t
Joined: 26 Nov 2006 Posts: 840 Location: Italy
|
Posted: Mon Aug 27, 2007 4:39 pm Post subject: |
|
|
ok, tnx a lot! |
|
Back to top |
|
|
davew33 n00b
Joined: 10 Mar 2005 Posts: 2
|
Posted: Fri Aug 31, 2007 2:01 pm Post subject: |
|
|
This exchange is why I rave about gentoo. The gentoo community has some of the best support I've ever seen (and I've been using "personal" computers since 1981!)
Thanks, this solved a problem I was having as well! |
|
Back to top |
|
|
|