1 |
Thomas de Grenier de Latour a écrit : |
2 |
> On Sat, 15 May 2004 19:47:45 +0200 |
3 |
> Jacques Montier <jacmonti@×××××××××××××.fr> wrote: |
4 |
> |
5 |
> |
6 |
>>charset.c:170: error: syntax error before '*' token |
7 |
>>charset.c:171: warning: return type defaults to `int' |
8 |
>>charset.c: In function `Charset_Create_List': |
9 |
>>charset.c:172: error: `GList' undeclared (first |
10 |
>>use in this function) |
11 |
> |
12 |
> |
13 |
> On dirait qu'il a un pb avec les types de la glib, sûrement un pb |
14 |
> de header qui manque ou qui est corrompu. Première solution, si tu |
15 |
> n'écoutes pas de fichiers flac dans xmms, recompiler avec |
16 |
> USE="-xmms". Sinon, bah, faut fouiner un peu. Déjà, peux-tu |
17 |
> envoyer tes messages en remontant qu moins jusqu'à la commande qui |
18 |
> les a produit (parceque juste les erreurs c'est assez |
19 |
> inexploitable). Idéalement, remonte jusqu'à un truc du genre: |
20 |
> |
21 |
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src |
22 |
> -I../.. -I./include -I../../include -O3 -DNDEBUG |
23 |
> -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W |
24 |
> -Winline -DFLaC__INLINE=__inline__ -mcpu=pentium3 -O2 -msse2 |
25 |
> -fomit-frame-pointer -pipe -fPIC -I/usr/include |
26 |
> -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
27 |
> -I/usr/lib/glib/include -I/usr/X11R6/include -c charset.c -MT |
28 |
> charset.lo -MD -MP -MF .deps/charset.TPlo -fPIC -DPIC -o |
29 |
> charset.lo |
30 |
> |
31 |
> Peux-tu aussi faire un petit: |
32 |
> # find /usr/include/ -name "glib.c" |
33 |
> |
34 |
|
35 |
Voilà le message et il semble qu'il ne trouve pas |
36 |
le fichier glib.h |
37 |
find /usr/include/ -name "glib.c" ne donne rien |
38 |
find /usr/include/ -name glib.h me donne |
39 |
/usr/include/glib-2.0/glib.h |
40 |
J'ai la glibc-2.3.2-r9 d'installée. |
41 |
|
42 |
|
43 |
" gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src |
44 |
-I../.. -I./include -I../../include -O3 -DNDEBUG |
45 |
-fomit-frame-pointer -funroll-loops |
46 |
-finline-functions -Wall -W -Winline |
47 |
-DFLaC__INLINE=__inline__ -mcpu=athlon-tbird -mmmx |
48 |
-m3dnow -fPIC -I/usr/include -I/usr/include/xmms |
49 |
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
50 |
-I/usr/lib/glib/include -I/usr/X11R6/include -c |
51 |
charset.c -MT charset.lo -MD -MP -MF |
52 |
.deps/charset.TPlo -fPIC -DPIC -o charset.lo |
53 |
charset.c:24:18: glib.h: No such file or directory |
54 |
In file included from charset.c:30: |
55 |
charset.h:33: error: syntax error before "gchar" |
56 |
charset.h:33: warning: no semicolon at end of |
57 |
struct or union |
58 |
charset.h:34: warning: type defaults to `int' in |
59 |
declaration of `charset_name' |
60 |
..." |
61 |
|
62 |
Merci |
63 |
|
64 |
Jacques |
65 |
|
66 |
-- |
67 |
gentoo-user-fr@g.o mailing list |