Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] problem with directfb => MPLAYER wont compile:'(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
lagrenouille
n00b
n00b


Joined: 08 Jan 2006
Posts: 18
Location: Liège (BELGIUM)

PostPosted: Mon Feb 27, 2006 3:50 am    Post subject: [solved] problem with directfb => MPLAYER wont compile:'( Reply with quote

directfb wont compile:'(i use a 2.6.15-r1)

here is the error code:

Making all in inputdrivers
make[2]: Entering directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers'
Making all in joystick
make[3]: Entering directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers/joystick'
if /bin/sh ../../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt -D_GNU_SOURCE -Werror-implicit-function-declaration -MT joystick.lo -MD -MP -MF ".deps/joystick.Tpo" -c -o joystick.lo joystick.c; \
then mv -f ".deps/joystick.Tpo" ".deps/joystick.Plo"; else rm -f ".deps/joystick.Tpo"; exit 1; fi
mkdir .libs
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt -D_GNU_SOURCE -Werror-implicit-function-declaration -MT joystick.lo -MD -MP -MF .deps/joystick.Tpo -c joystick.c -fPIC -DPIC -o .libs/joystick.o
/bin/sh ../../libtool --tag=CC --mode=link powerpc-unknown-linux-gnu-gcc -Wall -O3 -ffast-math -pipe -mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt -D_GNU_SOURCE -Werror-implicit-function-declaration -o libdirectfb_joystick.la -rpath /usr/lib/directfb-0.9.22/inputdrivers -export-dynamic -avoid-version -lz joystick.lo -ldl -lpthread
powerpc-unknown-linux-gnu-gcc -shared .libs/joystick.o -lz -ldl -lpthread -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -Wl,-soname -Wl,libdirectfb_joystick.so -o .libs/libdirectfb_joystick.so
creating libdirectfb_joystick.la
(cd .libs && rm -f libdirectfb_joystick.la && ln -s ../libdirectfb_joystick.la libdirectfb_joystick.la)
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers/joystick'
Making all in keyboard
make[3]: Entering directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/inputdrivers/keyboard'
if /bin/sh ../../libtool --tag=CC --mode=compile powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt -D_GNU_SOURCE -Werror-implicit-function-declaration -MT keyboard.lo -MD -MP -MF ".deps/keyboard.Tpo" -c -o keyboard.lo keyboard.c; \
then mv -f ".deps/keyboard.Tpo" ".deps/keyboard.Plo"; else rm -f ".deps/keyboard.Tpo"; exit 1; fi
mkdir .libs
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -mpowerpc-gfxopt -D_GNU_SOURCE -Werror-implicit-function-declaration -MT keyboard.lo -MD -MP -MF .deps/keyboard.Tpo -c keyboard.c -fPIC -DPIC -o .libs/keyboard.o
In file included from /usr/include/linux/keyboard.h:14,
from keyboard.c:42:
/usr/include/linux/wait.h: In function `wait_on_bit':
/usr/include/linux/wait.h:376: error: implicit declaration of function `test_bit'
/usr/include/linux/wait.h: In function `wait_on_bit_lock':
/usr/include/linux/wait.h:400: error: implicit declaration of function `test_and_set_bit'
make[3]: *** [keyboard.lo] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.2
make: *** [all] Erreur 2

!!! ERROR: dev-libs/DirectFB-0.9.22 failed.
_________________
;;Student-"Institut d'Informatique"(http://www.info.fundp.ac.be/).
;;Working on a Tibook II G4 667MHz without any hardware failure yet (try to find such quality products nowadays..)
update:
I got my master's degree, yay :D


Last edited by lagrenouille on Mon Feb 27, 2006 4:15 pm; edited 3 times in total
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Mon Feb 27, 2006 4:31 am    Post subject: Reply with quote

suppose you read this?

https://forums.gentoo.org/viewtopic-t-263956-highlight-directfb0+9+22+inputdrivers+keyboard.html
Back to top
View user's profile Send private message
lagrenouille
n00b
n00b


Joined: 08 Jan 2006
Posts: 18
Location: Liège (BELGIUM)

PostPosted: Mon Feb 27, 2006 4:39 am    Post subject: grrrrr mplayer needs DirectFB Reply with quote

i read in the forum about that subject but i prefered to add a new subject because it is now 'obsolete'!

https://forums.gentoo.org/viewtopic-t-263956-highlight.html

u can read it if u want but it not working anymore since linux26-headers atom doesnt exist anymore and linux-headers is at version 2.6.11-r2 but it doesnt work:'(an btw, my 'use flags' r okay)

im trying to use earlier versions but no ebuilds seems to exist anymore and i really want to install mplayer (totem and vlc arent working on my tibook:'(
_________________
;;Student-"Institut d'Informatique"(http://www.info.fundp.ac.be/).
;;Working on a Tibook II G4 667MHz without any hardware failure yet (try to find such quality products nowadays..)
update:
I got my master's degree, yay :D


Last edited by lagrenouille on Mon Feb 27, 2006 4:47 am; edited 1 time in total
Back to top
View user's profile Send private message
lagrenouille
n00b
n00b


Joined: 08 Jan 2006
Posts: 18
Location: Liège (BELGIUM)

PostPosted: Mon Feb 27, 2006 4:41 am    Post subject: Reply with quote

yeah i did it and i was writing it while u replied me;)
_________________
;;Student-"Institut d'Informatique"(http://www.info.fundp.ac.be/).
;;Working on a Tibook II G4 667MHz without any hardware failure yet (try to find such quality products nowadays..)
update:
I got my master's degree, yay :D
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Feb 27, 2006 5:46 am    Post subject: Reply with quote

Again, I'll ask why? Why do you need directfb? mplayer will play to a framebuffer perfectly with the fbcon driver. If you really need directfb, please at least try the latest version, 9.24, earlier versions will most likely not work.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lagrenouille
n00b
n00b


Joined: 08 Jan 2006
Posts: 18
Location: Liège (BELGIUM)

PostPosted: Mon Feb 27, 2006 12:21 pm    Post subject: Reply with quote

in fact i dont really want to install directfb, it is just that when i want to emerge the last (stable) version of mplayer, it says that its going to install directfb first.
and totem and vlc (ppc versions) arent working.
i already have mplayer installed but its "graphical controller" is so slow and X too (at a point that it is faster to reboot than managing to kill it:)
Fortunately for me, it works fine when launched from a Konsole
(sorry to ask such stupid questions but it makes only 2 months im using linux lol)

# emerge -a mplayer

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] dev-libs/DirectFB-0.9.22
[ebuild N ] virtual/libintl-0
[ebuild U ] media-video/mplayer-1.0.20060217 [1.0_pre7-r1]

Do you want me to merge these packages? [Yes/No]


ill try to unmask it (jdk5 too;) ill tell u after if its okey
_________________
;;Student-"Institut d'Informatique"(http://www.info.fundp.ac.be/).
;;Working on a Tibook II G4 667MHz without any hardware failure yet (try to find such quality products nowadays..)
update:
I got my master's degree, yay :D
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Feb 27, 2006 2:32 pm    Post subject: Reply with quote

Your use flags are probably set to include directfb. Please try this:
Code:
emerge mplayer -pv


The -pv at the end will make it show you the use flags that it will use when compiling that package. Please paste the result and we'll get it fixed for you.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lagrenouille
n00b
n00b


Joined: 08 Jan 2006
Posts: 18
Location: Liège (BELGIUM)

PostPosted: Mon Feb 27, 2006 4:14 pm    Post subject: Reply with quote

lol, its what i have thought of and did before i read ur reply:D

i did an 'emerge -pv mplayer' to see the use flags and then

i did an 'USE="-directfb" emerge mplayer'


thx for ur help;)
_________________
;;Student-"Institut d'Informatique"(http://www.info.fundp.ac.be/).
;;Working on a Tibook II G4 667MHz without any hardware failure yet (try to find such quality products nowadays..)
update:
I got my master's degree, yay :D
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Feb 27, 2006 5:14 pm    Post subject: Reply with quote

You should probably take a look at ufed, which is a nice console tool for editing your useflags, and then use ufed to disable the directfb flag in your system wide configuration.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Cenrim
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2004
Posts: 142
Location: Germany

PostPosted: Tue Mar 07, 2006 2:30 pm    Post subject: Reply with quote

I got mplayer on console/without X working with SDL ;)
directfb didn't do anything at all and fbcon caused some hard freezes on my iBook G4 (when used as mplayers video out) and while playing with the useflags I found the fbcon one of sdl. so I tried that and it works ^^

summary:
mplayer with useflag "sdl", libsdl with useflag "fbcon" -> playing videos without X works with mplayer -vo sdl /path/to/video
Code:
$ mplayer -vo sdl /data/video/Bleach/\[Lunar\]\ Bleach\ -\ 63\ \[619DB7DB\].avi
{blabla...}
==========================================================================
 SDL: Using driver: fbcon
 vo: couldn't open the X11 display ()!
 ==========================================================================
{..blabla...}
Starte Wiedergabe...
{killed ;)}

_________________
[/garbage]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum