Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pseudo solution for xorgcfg and xdirectfb
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
elabdel
n00b
n00b


Joined: 19 Apr 2004
Posts: 71
Location: France

PostPosted: Sun Jan 09, 2005 9:06 am    Post subject: Pseudo solution for xorgcfg and xdirectfb Reply with quote

Hello
Before all, I speak french but I will explain the problem

I have read somme posts that present problems with xorgcfg[solved for me] and xdirectfb[not yet]

For Xorg
You should run xorgcfg with
Code:
xorgcfg -textmode -modulepath /usr/X11R6/lib/modules/drivers

And i works fine for me

For xdirectfb
emerge comiled it fine but I haven't /usr/X11R6/bin/XDirectFB as someone in this forum.
For that I compiled xdirectfb with
Code:
ebuild /usr/portage/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild compile

this finished with a message as "/var/...../xc/programs/XDirectFB doesn't exist"
Code:
cd /var/tmp/portage/xdirectfb-1.0_rc5-r1/work/xc/

Code:
make
.....
......
directfbCursor.c: In function `MakeCursorSurface':
directfbCursor.c:84: erreur: erreur d'analyse syntaxique avant une chaîne constante [//translation: parse syntax error before string constant]
directfbCursor.c:91: erreur: erreur d'analyse syntaxique avant une chaîne constante
directfbCursor.c: In function `XDirectFBInitCursor':
directfbCursor.c:481: attention : utilisation de transtypage d'expressions comme lvalues est obsolète
make[4]: *** [directfbCursor.o] Erreur 1
make[4]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5-r1/work/xc/programs/Xserver/hw/directfb'
make[3]: *** [hw/directfb] Erreur 2
make[3]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5-r1/work/xc/programs/Xserver'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5-r1/work/xc/programs'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/xdirectfb-1.0_rc5-r1/work/xc'
make: *** [all] Erreur 2

The lines in directfbCursor.c are :

Code:

 81      /* create the surface containing the cursor shape */
     82      ret = dfb->CreateSurface (dfb, &dsc, &surface);
     83      if (ret) {
     84           DirectFBError (__FUNCTION__":CreateSurface", ret);
     85           return FALSE;
     86      }
     87
     88      /* lock surface for writing */
     89      ret = surface->Lock (surface, DSLF_WRITE, (void**)&data, &pitch);
     90      if (ret) {
     91           DirectFBError (__FUNCTION__":Surface::Lock", ret);
     92           surface->Release (surface);
     93           return NULL;
     94      }


That is all but I am not a big developer if someone could find a solution, I am ready to get it.
_________________
Athlon XP 2000+, Nvidia, udev, NPTL, Gensplash, Intel810 audio chipst.
Math SUP : http://www.ac-nice.fr/rouviere/prepas_tsi/maths-sup-TSI.htm
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Sun Jan 09, 2005 9:56 am    Post subject: Reply with quote

thank you

Code:
xorgcfg -textmode -modulepath /usr/X11R6/lib/modules/drivers


did it for me :)
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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