View previous topic :: View next topic |
Author |
Message |
dzeus-net n00b
Joined: 20 Mar 2004 Posts: 54 Location: France
|
Posted: Wed Apr 21, 2004 8:36 am Post subject: Erreur Xfree [non résolue] |
|
|
bonjour
Je monte une nouvelle machine sur gentoo : je part du dernier stage3 (pour pentium 4)dispo sur les mirrors gentoo.
J'ai essayé de faire fonctionné des alternatives à xfree tel que DirectFB mais j'ai pas tt compris à son installation (jusqu'a lactivation du frameBuffer dans le kernel c OK - c la partie logiciel que g pas compris) et son mode de fonctionnement (en analogie à Xfree). N'ayant pas trouvé d'autre alternative pour faire tournée essenciellement gvim/mozilla/openbox sans Xfree : je me suis rabatu sur le Xfree classique : manque de pot la version binaire fait planter les compilations de tt les programmes utilisant X.
g tester avec tt les versions disponibles via emerge
Ma config :
=========================================
xps root # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
Code: | CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="mmx sse"
CXXFLAGS="${CFLAGS}" |
=========================================
Linux 2.6.5-gentoo-r1
Le problème :
Code: | gcc -c -O2 -O2 -O2 -O2 -march=pentium4 -fomit-frame-pointer -ansi -pedantic -Wno-return-type -w -I/usr/include/freetype2 -I../../exports/include/X11 -I../.. -I../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DFREETYPE2 -DXFREE86_FT2 -fPIC xftcfg.c
In file included from xftcfg.c:28:
xftint.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
from xftint.h:31,
from xftcfg.c:28:
Xft.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
from xftint.h:31,
from xftcfg.c:28:
Xft.h:89: error: syntax error before "XftType"
Xft.h:89: error: ISO C forbids data definition with no type or storage class
Xft.h:91: error: syntax error before "XftMatrix"
Xft.h:91: error: ISO C forbids data definition with no type or storage class
Xft.h:95: error: syntax error before "XftResult"
Xft.h:95: error: ISO C forbids data definition with no type or storage class
Xft.h:109: error: syntax error before "XftValue"
Xft.h:109: error: ISO C forbids data definition with no type or storage class
Xft.h:112: error: syntax error before "XftPattern"
Xft.h:112: error: ISO C forbids data definition with no type or storage class
Xft.h:114: error: syntax error before "XftFontSet"
Xft.h:114: error: ISO C forbids data definition with no type or storage class
Xft.h:124: error: syntax error before "XftPattern"
Xft.h:133: error: syntax error before '}' token
Xft.h:133: error: ISO C forbids data definition with no type or storage class
Xft.h:142: error: syntax error before "XftObjectSet"
Xft.h:142: error: ISO C forbids data definition with no type or storage class
Xft.h:148: error: syntax error before '*' token
Xft.h:175: error: syntax error before "v"
Xft.h:178: error: syntax error before '*' token
Xft.h:181: error: syntax error before '*' token
Xft.h:189: error: syntax error before "XftPattern"
Xft.h:192: error: syntax error before "XftPattern"
Xft.h:216: error: syntax error before "XftFont"
Xft.h:225: error: syntax error before "XftFont"
Xft.h:234: error: syntax error before "XftFont"
Xft.h:243: error: syntax error before "XftFont"
Xft.h:266: error: syntax error before "XftFont"
Xft.h:273: error: syntax error before "XftFont"
Xft.h:280: error: syntax error before "XftFont"
Xft.h:287: error: syntax error before "XftFont"
Xft.h:293: error: syntax error before '*' token
Xft.h:294: error: syntax error before "XftPattern"
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:296: error: syntax error before '*' token
Xft.h:297: error: syntax error before "XftPattern"
Xft.h:297: error: ISO C forbids data definition with no type or storage class
Xft.h:299: error: syntax error before '*' token
Xft.h:300: error: ISO C forbids data definition with no type or storage class
Xft.h:302: error: syntax error before '*' token
Xft.h:303: error: ISO C forbids data definition with no type or storage class
Xft.h:305: error: syntax error before '*' token
Xft.h:306: error: ISO C forbids data definition with no type or storage class
Xft.h:309: error: syntax error before "XftFont"
Xft.h:312: error: syntax error before "XftFont"
Xft.h:317: error: syntax error before '*' token
Xft.h:318: error: ISO C forbids data definition with no type or storage class
Xft.h:321: error: syntax error before '*' token
Xft.h:324: error: syntax error before '*' token
Xft.h:338: error: syntax error before '*' token
Xft.h:339: error: ISO C forbids data definition with no type or storage class
Xft.h:342: error: syntax error before '*' token
Xft.h:345: error: syntax error before '*' token
Xft.h:347: error: syntax error before '*' token
Xft.h:348: error: ISO C forbids data definition with no type or storage class
Xft.h:350: error: syntax error before '*' token
Xft.h:351: error: ISO C forbids data definition with no type or storage class
Xft.h:353: error: syntax error before '*' token
Xft.h:354: error: syntax error before '*' token
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: syntax error before '*' token
Xft.h:362: error: syntax error before "XftPattern"
Xft.h:363: error: ISO C forbids data definition with no type or storage class
Xft.h:365: error: syntax error before '*' token
Xft.h:368: error: ISO C forbids data definition with no type or storage class
Xft.h:371: error: syntax error before '*' token
Xft.h:372: error: syntax error before '*' token
Xft.h:375: error: ISO C forbids data definition with no type or storage class
Xft.h:379: error: syntax error before '*' token
Xft.h:382: error: syntax error before '*' token
Xft.h:385: error: syntax error before '*' token
Xft.h:388: error: syntax error before '*' token
Xft.h:391: error: syntax error before '*' token
Xft.h:394: error: syntax error before '*' token
Xft.h:395: error: ISO C forbids data definition with no type or storage class
Xft.h:398: error: syntax error before '*' token
Xft.h:401: error: syntax error before '*' token
Xft.h:402: error: ISO C forbids data definition with no type or storage class
Xft.h:404: error: syntax error before '*' token
Xft.h:405: error: syntax error before '*' token
Xft.h:405: error: ISO C forbids data definition with no type or storage class
Xft.h:408: error: syntax error before "v"
Xft.h:411: error: syntax error before '*' token
Xft.h:414: error: syntax error before '*' token
Xft.h:417: error: syntax error before "XftPatternGet"
Xft.h:417: error: syntax error before '*' token
Xft.h:417: error: ISO C forbids data definition with no type or storage class
Xft.h:420: error: syntax error before '*' token
Xft.h:423: error: syntax error before '*' token
Xft.h:426: error: syntax error before '*' token
Xft.h:429: error: syntax error before '*' token
Xft.h:432: error: syntax error before '*' token
Xft.h:435: error: syntax error before '*' token
Xft.h:438: error: syntax error before "XftPatternGetInteger"
Xft.h:438: error: syntax error before '*' token
Xft.h:438: error: ISO C forbids data definition with no type or storage class
Xft.h:441: error: syntax error before "XftPatternGetDouble"
Xft.h:441: error: syntax error before '*' token
Xft.h:441: error: ISO C forbids data definition with no type or storage class
Xft.h:444: error: syntax error before "XftPatternGetString"
Xft.h:444: error: syntax error before '*' token
Xft.h:444: error: ISO C forbids data definition with no type or storage class
Xft.h:447: error: syntax error before "XftPatternGetMatrix"
Xft.h:447: error: syntax error before '*' token
Xft.h:447: error: ISO C forbids data definition with no type or storage class
Xft.h:450: error: syntax error before "XftPatternGetBool"
Xft.h:450: error: syntax error before '*' token
Xft.h:450: error: ISO C forbids data definition with no type or storage class
Xft.h:452: error: syntax error before '*' token
Xft.h:453: error: syntax error before '*' token
Xft.h:453: error: ISO C forbids data definition with no type or storage class
Xft.h:455: error: syntax error before '*' token
Xft.h:456: error: syntax error before '*' token
Xft.h:456: error: ISO C forbids data definition with no type or storage class
Xft.h:475: error: syntax error before '*' token
Xft.h:476: error: ISO C forbids data definition with no type or storage class
Xft.h:479: error: syntax error before "XftPattern"
In file included from xftint.h:31,
from xftcfg.c:28:
XftFreetype.h:64: error: syntax error before '*' token
XftFreetype.h:67: error: syntax error before '*' token
XftFreetype.h:70: error: syntax error before '*' token
XftFreetype.h:71: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:77: error: syntax error before "XftPattern"
XftFreetype.h:83: error: syntax error before '*' token
In file included from xftcfg.c:28:
xftint.h:38: error: syntax error before "XftValue"
xftint.h:78: error: syntax error before "XftPattern"
xftint.h:79: error: ISO C forbids data definition with no type or storage class
xftint.h:82: error: syntax error before '}' token
xftint.h:82: error: ISO C forbids data definition with no type or storage class
xftint.h:84: error: syntax error before '*' token
xftint.h:84: error: ISO C forbids data definition with no type or storage class
xftint.h:85: error: syntax error before '*' token
xftint.h:85: error: ISO C forbids data definition with no type or storage class
xftint.h:87: error: syntax error before '*' token
xftint.h:87: error: ISO C forbids data definition with no type or storage class
xftint.h:95: error: syntax error before '*' token
xftint.h:98: error: syntax error before '*' token
xftint.h:138: error: syntax error before "XftMatrix"
xftint.h:144: error: syntax error before '}' token
xftint.h:144: error: conflicting types for `u'
Xft.h:132: error: previous declaration of `u'
xftint.h:144: error: ISO C forbids data definition with no type or storage class
xftint.h:145: error: syntax error before '}' token
xftint.h:145: error: ISO C forbids data definition with no type or storage class
xftint.h:156: error: syntax error before "XftValue"
xftint.h:157: error: ISO C forbids data definition with no type or storage class
xftint.h:163: error: syntax error before "XftExpr"
xftint.h:164: error: ISO C forbids data definition with no type or storage class
xftint.h:168: error: syntax error before "XftTest"
xftint.h:169: error: ISO C forbids data definition with no type or storage class
xftint.h:170: error: syntax error before '}' token
xftint.h:170: error: ISO C forbids data definition with no type or storage class
xftint.h:250: error: syntax error before '*' token
xftint.h:253: error: syntax error before '*' token
xftint.h:266: error: syntax error before '*' token
xftint.h:269: error: syntax error before "m"
xftint.h:331: error: syntax error before '*' token
xftint.h:334: error: syntax error before '*' token
xftint.h:337: error: syntax error before '*' token
xftint.h:340: error: syntax error before '*' token
xftint.h:343: error: syntax error before '*' token
xftint.h:344: error: ISO C forbids data definition with no type or storage class
xftint.h:358: error: syntax error before '*' token
xftint.h:359: error: ISO C forbids data definition with no type or storage class
xftint.h:365: error: syntax error before "XftFont"
xftint.h:371: error: syntax error before "XftFont"
xftint.h:392: error: syntax error before '*' token
xftint.h:393: error: syntax error before "XftValue"
xftint.h:393: error: ISO C forbids data definition with no type or storage class
xftint.h:395: error: syntax error before '*' token
xftint.h:396: error: ISO C forbids data definition with no type or storage class
xftint.h:398: error: syntax error before '*' token
xftint.h:399: error: ISO C forbids data definition with no type or storage class
xftint.h:401: error: syntax error before '*' token
xftint.h:402: error: ISO C forbids data definition with no type or storage class
xftint.h:404: error: syntax error before '*' token
xftint.h:405: error: syntax error before '*' token
xftint.h:405: error: ISO C forbids data definition with no type or storage class
xftint.h:407: error: syntax error before '*' token
xftint.h:408: error: ISO C forbids data definition with no type or storage class
xftint.h:410: error: syntax error before '*' token
xftint.h:411: error: ISO C forbids data definition with no type or storage class
xftint.h:413: error: syntax error before '*' token
xftint.h:414: error: ISO C forbids data definition with no type or storage class
xftint.h:416: error: syntax error before '*' token
xftint.h:417: error: syntax error before '*' token
xftint.h:417: error: ISO C forbids data definition with no type or storage class
xftint.h:420: error: syntax error before '*' token
xftint.h:422: error: syntax error before '*' token
xftint.h:423: error: syntax error before "XftExpr"
xftint.h:423: error: ISO C forbids data definition with no type or storage class
xftint.h:426: error: syntax error before '*' token
xftint.h:445: error: syntax error before "v1"
xftint.h:449: error: syntax error before '*' token
xftint.h:454: error: syntax error before '*' token
xftint.h:468: error: syntax error before '*' token
xftint.h:471: error: syntax error before '*' token
xftint.h:476: error: syntax error before '*' token
xftint.h:477: error: syntax error before '*' token
xftint.h:477: error: ISO C forbids data definition with no type or storage class
xftint.h:506: error: syntax error before '*' token
xftcfg.c:31: error: syntax error before '*' token
xftcfg.c: In function `XftConfigSubstitute':
xftcfg.c:33: error: `p' undeclared (first use in this function)
xftcfg.c:33: error: (Each undeclared identifier is reported only once
xftcfg.c:33: error: for each function it appears in.)
xftcfg.c:33: error: `FcMatchPattern' undeclared (first use in this function)
xftcfg.c:34: error: `FcMatchFont' undeclared (first use in this function)
make[4]: *** [xftcfg.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902-r2/work/xc/lib/Xft1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902-r2/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902-r2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.99.902-r2/work/xc'
make: *** [World] Error 2
!!! ERROR: x11-base/xfree-4.3.99.902-r2 failed.
!!! Function src_compile, Line 492, Exitcode 2
!!! (no error message) |
Thx. _________________ Jacques H. |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 21, 2004 9:20 am Post subject: Re: Erreur Xfree [non résolue] |
|
|
dzeus-net wrote: | J'ai essayé de faire fonctionné des alternatives à xfree tel que DirectFB mais j'ai pas tt compris à son installation (jusqu'a lactivation du frameBuffer dans le kernel c OK - c la partie logiciel que g pas compris) et son mode de fonctionnement (en analogie à Xfree). |
Les logiciels qui fonctionnent avec directfb seul, y'en a pas beaucoup, moi je connais que links, mplayer et les remplaçant du serveur X. je crois que si tu veux vraiment t'en servir, il faut installer xdirectfb. En tout cas il faut paramétrer la chose avec le fichier /etc/fb.modes (auquel tu peux rajouter la sortie de fbset , cela te permet d'avoir le directfb dans la bonne résolution). De plus il faudrait vérier, mais je crois que dans l'aide de links ils isent que les programmes doivent avoir le suid bit pour pouvoir utiliser directfb
dzeus-net wrote: | Code: | CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
USE="mmx sse"
CXXFLAGS="${CFLAGS}" |
|
rajoute '-pipe' à tes CFLAGS, ca va accélérer la compilation (ça change rien au binaires, ça évite juste de créer des fichiers temporaires) et 'fbcon' ainsi que 'directfb' à tes USE flags
dzeus-net wrote: | Le problème : (...) |
je regarde ça d'un peu plus près
[EDIT]t'as vraiment besoin du serveur X qui est 'archtildé' ? _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
dzeus-net n00b
Joined: 20 Mar 2004 Posts: 54 Location: France
|
Posted: Wed Apr 21, 2004 9:33 am Post subject: Erreur Xfree [non résolue] |
|
|
Pour Xfree c pas que g besoin du serveur X qui est 'archtildé' mais c ke g tester ca en dernier recours vu que la version stable m'a donné la même erreur.
Sinon t'as tester Xouvert - t'en pense quoi ??
J'ai lu 2/3 chose sur DirectDB comme quoi les carte Nvidia c pas encore ca pour profité de la chose.
G une Geforce 4 4200 TI.
... si t'as un P4 et que tu a compilé Xfree avec truetype & xml2 : j'veux bien ton binaire _________________ Jacques H. |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 21, 2004 9:56 am Post subject: Re: Erreur Xfree [non résolue] |
|
|
dzeus-net wrote: | ... si t'as un P4 et que tu a compilé Xfree avec truetype & xml2 : j'veux bien ton binaire |
j'ai pas de binaire, je te fais signe quand je l'ai ...
[EDIT] dis moi si cela te va comme use flags: Quote: | [ebuild R ] x11-base/xfree-4.3.0-r5 -3dfx -3dnow -bindist -cjk -debug -doc -ipv6 +mmx +nls +pam -sdk +sse -static +truetype +xml2 71,131 kB |
_________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Last edited by scout on Wed Apr 21, 2004 9:58 am; edited 1 time in total |
|
Back to top |
|
|
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Wed Apr 21, 2004 9:57 am Post subject: Re: Erreur Xfree [non résolue] |
|
|
dzeus-net wrote: |
J'ai lu 2/3 chose sur DirectDB comme quoi les carte Nvidia c pas encore ca pour profité de la chose.
G une Geforce 4 4200 TI.
... si t'as un P4 et que tu a compilé Xfree avec truetype & xml2 : j'veux bien ton binaire |
le terme "c'est pas encore ça" est bien adapté à la situation.
Il existe un module qui s'appelle rivafb qui marche mais qui merde encore, notammment au niveau du passage entre X et les consoles.
Mais sinon juste pour mater des films ça passe nickel.
Si tu veux du fb pour faire du bootsplash par exemple alors utilise vesafb. |
|
Back to top |
|
|
dzeus-net n00b
Joined: 20 Mar 2004 Posts: 54 Location: France
|
Posted: Wed Apr 21, 2004 10:04 am Post subject: Erreur Xfree [non résolue] |
|
|
ben j'crois t'as mis tt les flags là
J'pense que c bon.
Very Thx..
---
Sinon pour le FB avec Nvidia... j'attendrai encore un peu... _________________ Jacques H. |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 21, 2004 11:10 am Post subject: Re: Erreur Xfree [non résolue] |
|
|
dzeus-net wrote: | ben j'crois t'as mis tt les flags là |
Ah c'est con ça, ça chie aussi chez moi ... je m'y intéresse cet aprèm _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
dzeus-net n00b
Joined: 20 Mar 2004 Posts: 54 Location: France
|
Posted: Wed Apr 21, 2004 11:23 am Post subject: Erreur Xfree [non résolue] |
|
|
T'as la même erreur que moi ? _________________ Jacques H. |
|
Back to top |
|
|
scout Veteran
Joined: 08 Mar 2003 Posts: 1991 Location: France, Paris en Semaine / Metz le W-E
|
Posted: Wed Apr 21, 2004 12:28 pm Post subject: Re: Erreur Xfree [non résolue] |
|
|
dzeus-net wrote: | T'as la même erreur que moi ? |
Non, en fait j'ai compris ce qui n'allait pas ...
Code: | scout root # df
Sys. de fich. 1K-blocs Occup� Disponible Capacit� Mont� sur
/dev/hda3 77567480 77567476 4 100% /
none 257740 0 257740 0% /dev/shm |
Ce coup ci je te prépare ton binaire
[EDIT] je t'ai envoyé l'adresse par PM _________________ http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse |
|
Back to top |
|
|
dzeus-net n00b
Joined: 20 Mar 2004 Posts: 54 Location: France
|
Posted: Thu Apr 22, 2004 7:48 am Post subject: Erreur Xfree [non résolue] |
|
|
Thx.
Je n'arrive pas à me connecté à ta machine !!
Sinon g trouvé un autre binaire sur un site en attendant le tiens et j'ai cette erreur la :
Code: | -bash: /usr/X11R6/bin/X: cannot execute binary file |
cela mettait déjà arrivé il fallait rajouter 'exec' dans fstab sur la ligne de la partition.
la ca change rien. _________________ Jacques H. |
|
Back to top |
|
|
|