FBlogo et Linu suse 8.1 - Linux et OS Alternatifs
Marsh Posté le 30-04-2004 à 18:50:39
j'ai essayé sous MDK 10.0 community et aussi sous MDK 9.2
pas moyen de l'install, au moment ou je tape make j'ai une vingtaine d'erreur
aidé moi SVP c'est urgent
Marsh Posté le 30-04-2004 à 18:59:21
ou connaisser vous un autre programme qui converti les image.PNG en *.h
Marsh Posté le 30-04-2004 à 19:01:04
utilise urpmi...
Marsh Posté le 30-04-2004 à 19:05:58
com21 a écrit : utilise urpmi... |
c'est deja fais
avec urpmi, c'est pour installé les nouvelle source sa ? (j'y connais rien en linux)
sinon j'ai sa comme erreur:
[root@serveur fblogo-0.5.2]# make
gcc -o fblogo -g -O2 -W -Wall -DPNG_SETJMP_NOT_SUPPORTED -lpng -lz -lm fblogo.c
In file included from fblogo.c:15:
fblogo.h:31:17: png.h: No such file or directory
In file included from fblogo.c:15:
fblogo.h:70: error: parse error before '*' token
fblogo.h:71: error: parse error before "int"
fblogo.h:72: error: parse error before "png_ptr"
fblogo.h:76: error: parse error before "width_"
fblogo.h:76: warning: type defaults to `int' in declaration of `width_'
fblogo.h:76: warning: data definition has no type or storage class
fblogo.h:77: error: parse error before "height_"
fblogo.h:77: warning: type defaults to `int' in declaration of `height_'
fblogo.h:77: warning: data definition has no type or storage class
fblogo.h:80: error: parse error before "palette_"
fblogo.h:80: warning: type defaults to `int' in declaration of `palette_'
fblogo.h:80: warning: data definition has no type or storage class
fblogo.h:81: error: parse error before "image_data_"
fblogo.h:81: warning: type defaults to `int' in declaration of `image_data_'
fblogo.h:81: warning: data definition has no type or storage class
fblogo.c: In function `main':
fblogo.c:25: warning: assignment makes integer from pointer without a cast
fblogo.c:26: warning: assignment makes integer from pointer without a cast
fblogo.c: In function `cleanup':
fblogo.c:66: warning: comparison between pointer and integer
fblogo.c:67: warning: passing arg 1 of `free' makes pointer from integer without a cast
fblogo.c:69: warning: comparison between pointer and integer
fblogo.c:70: warning: passing arg 1 of `free' makes pointer from integer without a cast
fblogo.c: In function `displayNotice':
fblogo.c:96: warning: long int format, int arg (arg 3)
fblogo.c:97: warning: long int format, int arg (arg 3)
fblogo.c: In function `pngCheck':
fblogo.c:227: warning: implicit declaration of function `png_sig_cmp'
fblogo.c: At top level:
fblogo.c:236: error: parse error before '*' token
fblogo.c: In function `pngInit':
fblogo.c:239: error: `png_ptr' undeclared (first use in this function)
fblogo.c:239: error: (Each undeclared identifier is reported only once
fblogo.c:239: error: for each function it appears in.)
fblogo.c:239: warning: implicit declaration of function `png_create_read_struct'
fblogo.c:239: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
fblogo.c:239: error: `png_voidp' undeclared (first use in this function)
fblogo.c:246: error: `info_ptr' undeclared (first use in this function)
fblogo.c:246: warning: implicit declaration of function `png_create_info_struct'
fblogo.c:250: warning: implicit declaration of function `png_destroy_read_struct'
fblogo.c:250: error: `png_infopp' undeclared (first use in this function)
fblogo.c:255: warning: implicit declaration of function `png_init_io'
fblogo.c:256: warning: implicit declaration of function `png_set_sig_bytes'
fblogo.c:257: warning: implicit declaration of function `png_read_info'
fblogo.c: At top level:
fblogo.c:263: error: parse error before "png_ptr"
fblogo.c: In function `pngGetPalette':
fblogo.c:266: error: `png_colorp' undeclared (first use in this function)
fblogo.c:266: error: parse error before "png_palette"
fblogo.c:268: error: `color_type' undeclared (first use in this function)
fblogo.c:268: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
fblogo.c:268: error: `bit_depth' undeclared (first use in this function)
fblogo.c:274: warning: implicit declaration of function `png_set_packing'
fblogo.c:274: error: `png_ptr' undeclared (first use in this function)
fblogo.c:276: warning: implicit declaration of function `png_get_PLTE'
fblogo.c:276: error: `info_ptr' undeclared (first use in this function)
fblogo.c:276: error: `png_palette' undeclared (first use in this function)
fblogo.c:284: error: `png_color' undeclared (first use in this function)
fblogo.c:284: warning: assignment makes integer from pointer without a cast
fblogo.c:285: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
fblogo.c: At top level:
fblogo.c:292: error: parse error before "png_ptr"
fblogo.c: In function `pngReadImage':
fblogo.c:294: error: `png_uint_32' undeclared (first use in this function)
fblogo.c:294: error: parse error before "rowbytes"
fblogo.c:295: error: `png_bytepp' undeclared (first use in this function)
fblogo.c:299: error: `rowbytes' undeclared (first use in this function)
fblogo.c:299: warning: implicit declaration of function `png_get_rowbytes'
fblogo.c:299: error: `png_ptr' undeclared (first use in this function)
fblogo.c:299: error: `info_ptr' undeclared (first use in this function)
fblogo.c:301: error: `png_bytep' undeclared (first use in this function)
fblogo.c:301: error: parse error before "malloc"
fblogo.c:301: warning: empty body in an if-statement
fblogo.c:296: warning: unused variable `counter'
fblogo.c: At top level:
fblogo.c:306: error: parse error before "if"
fblogo.c:309: warning: type defaults to `int' in declaration of `free'
fblogo.c:309: warning: parameter names (without types) in function declaration
fblogo.c:309: error: conflicting types for `free'
/usr/include/stdlib.h:569: error: previous declaration of `free'
fblogo.c:309: warning: data definition has no type or storage class
fblogo.c:310: error: parse error before "return"
fblogo.c:318: warning: type defaults to `int' in declaration of `png_read_image'
fblogo.c:318: warning: parameter names (without types) in function declaration
fblogo.c:318: warning: data definition has no type or storage class
fblogo.c:320: warning: type defaults to `int' in declaration of `png_read_end'
fblogo.c:320: warning: parameter names (without types) in function declaration
fblogo.c:320: warning: data definition has no type or storage class
fblogo.c:321: warning: type defaults to `int' in declaration of `free'
fblogo.c:321: warning: parameter names (without types) in function declaration
fblogo.c:321: warning: data definition has no type or storage class
fblogo.c:322: error: parse error before "return"
fblogo.c: In function `readInputFile':
fblogo.c:334: error: `png_structp' undeclared (first use in this function)
fblogo.c:334: error: parse error before "png_ptr"
fblogo.c:335: error: `png_infop' undeclared (first use in this function)
fblogo.c:342: error: `png_ptr' undeclared (first use in this function)
fblogo.c:342: error: `info_ptr' undeclared (first use in this function)
fblogo.c:348: warning: implicit declaration of function `png_get_IHDR'
fblogo.c:362: error: `png_infopp' undeclared (first use in this function)
fblogo.c: In function `writeOutputFileHeader':
fblogo.c:374: warning: implicit declaration of function `time'
fblogo.c:375: warning: implicit declaration of function `strftime'
fblogo.c:375: warning: implicit declaration of function `localtime'
fblogo.c:396: warning: long int format, int arg (arg 3)
fblogo.c:397: warning: long int format, int arg (arg 3)
fblogo.c: In function `writeOutputFile':
fblogo.c:420: error: `png_bytep' undeclared (first use in this function)
fblogo.c:420: error: parse error before "pixel"
fblogo.c:437: error: subscripted value is neither array nor pointer
fblogo.c:449: error: subscripted value is neither array nor pointer
fblogo.c:462: error: subscripted value is neither array nor pointer
fblogo.c:470: error: `pixel' undeclared (first use in this function)
fblogo.c:472: warning: comparison between signed and unsigned
make: *** [fblogo] Erreur 1
[root@serveur fblogo-0.5.2]# urpmi libpng
Tout est déjà installé
[root@serveur fblogo-0.5.2]# make
gcc -o fblogo -g -O2 -W -Wall -DPNG_SETJMP_NOT_SUPPORTED -lpng -lz -lm fblogo.c
In file included from fblogo.c:15:
fblogo.h:31:17: png.h: No such file or directory
In file included from fblogo.c:15:
fblogo.h:70: error: parse error before '*' token
fblogo.h:71: error: parse error before "int"
fblogo.h:72: error: parse error before "png_ptr"
fblogo.h:76: error: parse error before "width_"
fblogo.h:76: warning: type defaults to `int' in declaration of `width_'
fblogo.h:76: warning: data definition has no type or storage class
fblogo.h:77: error: parse error before "height_"
fblogo.h:77: warning: type defaults to `int' in declaration of `height_'
fblogo.h:77: warning: data definition has no type or storage class
fblogo.h:80: error: parse error before "palette_"
fblogo.h:80: warning: type defaults to `int' in declaration of `palette_'
fblogo.h:80: warning: data definition has no type or storage class
fblogo.h:81: error: parse error before "image_data_"
fblogo.h:81: warning: type defaults to `int' in declaration of `image_data_'
fblogo.h:81: warning: data definition has no type or storage class
fblogo.c: In function `main':
fblogo.c:25: warning: assignment makes integer from pointer without a cast
fblogo.c:26: warning: assignment makes integer from pointer without a cast
fblogo.c: In function `cleanup':
fblogo.c:66: warning: comparison between pointer and integer
fblogo.c:67: warning: passing arg 1 of `free' makes pointer from integer without a cast
fblogo.c:69: warning: comparison between pointer and integer
fblogo.c:70: warning: passing arg 1 of `free' makes pointer from integer without a cast
fblogo.c: In function `displayNotice':
fblogo.c:96: warning: long int format, int arg (arg 3)
fblogo.c:97: warning: long int format, int arg (arg 3)
fblogo.c: In function `pngCheck':
fblogo.c:227: warning: implicit declaration of function `png_sig_cmp'
fblogo.c: At top level:
fblogo.c:236: error: parse error before '*' token
fblogo.c: In function `pngInit':
fblogo.c:239: error: `png_ptr' undeclared (first use in this function)
fblogo.c:239: error: (Each undeclared identifier is reported only once
fblogo.c:239: error: for each function it appears in.)
fblogo.c:239: warning: implicit declaration of function `png_create_read_struct'
fblogo.c:239: error: `PNG_LIBPNG_VER_STRING' undeclared (first use in this function)
fblogo.c:239: error: `png_voidp' undeclared (first use in this function)
fblogo.c:246: error: `info_ptr' undeclared (first use in this function)
fblogo.c:246: warning: implicit declaration of function `png_create_info_struct'
fblogo.c:250: warning: implicit declaration of function `png_destroy_read_struct'
fblogo.c:250: error: `png_infopp' undeclared (first use in this function)
fblogo.c:255: warning: implicit declaration of function `png_init_io'
fblogo.c:256: warning: implicit declaration of function `png_set_sig_bytes'
fblogo.c:257: warning: implicit declaration of function `png_read_info'
fblogo.c: At top level:
fblogo.c:263: error: parse error before "png_ptr"
fblogo.c: In function `pngGetPalette':
fblogo.c:266: error: `png_colorp' undeclared (first use in this function)
fblogo.c:266: error: parse error before "png_palette"
fblogo.c:268: error: `color_type' undeclared (first use in this function)
fblogo.c:268: error: `PNG_COLOR_TYPE_PALETTE' undeclared (first use in this function)
fblogo.c:268: error: `bit_depth' undeclared (first use in this function)
fblogo.c:274: warning: implicit declaration of function `png_set_packing'
fblogo.c:274: error: `png_ptr' undeclared (first use in this function)
fblogo.c:276: warning: implicit declaration of function `png_get_PLTE'
fblogo.c:276: error: `info_ptr' undeclared (first use in this function)
fblogo.c:276: error: `png_palette' undeclared (first use in this function)
fblogo.c:284: error: `png_color' undeclared (first use in this function)
fblogo.c:284: warning: assignment makes integer from pointer without a cast
fblogo.c:285: warning: passing arg 1 of `memcpy' makes pointer from integer without a cast
fblogo.c: At top level:
fblogo.c:292: error: parse error before "png_ptr"
fblogo.c: In function `pngReadImage':
fblogo.c:294: error: `png_uint_32' undeclared (first use in this function)
fblogo.c:294: error: parse error before "rowbytes"
fblogo.c:295: error: `png_bytepp' undeclared (first use in this function)
fblogo.c:299: error: `rowbytes' undeclared (first use in this function)
fblogo.c:299: warning: implicit declaration of function `png_get_rowbytes'
fblogo.c:299: error: `png_ptr' undeclared (first use in this function)
fblogo.c:299: error: `info_ptr' undeclared (first use in this function)
fblogo.c:301: error: `png_bytep' undeclared (first use in this function)
fblogo.c:301: error: parse error before "malloc"
fblogo.c:301: warning: empty body in an if-statement
fblogo.c:296: warning: unused variable `counter'
fblogo.c: At top level:
fblogo.c:306: error: parse error before "if"
fblogo.c:309: warning: type defaults to `int' in declaration of `free'
fblogo.c:309: warning: parameter names (without types) in function declaration
fblogo.c:309: error: conflicting types for `free'
/usr/include/stdlib.h:569: error: previous declaration of `free'
fblogo.c:309: warning: data definition has no type or storage class
fblogo.c:310: error: parse error before "return"
fblogo.c:318: warning: type defaults to `int' in declaration of `png_read_image'
fblogo.c:318: warning: parameter names (without types) in function declaration
fblogo.c:318: warning: data definition has no type or storage class
fblogo.c:320: warning: type defaults to `int' in declaration of `png_read_end'
fblogo.c:320: warning: parameter names (without types) in function declaration
fblogo.c:320: warning: data definition has no type or storage class
fblogo.c:321: warning: type defaults to `int' in declaration of `free'
fblogo.c:321: warning: parameter names (without types) in function declaration
fblogo.c:321: warning: data definition has no type or storage class
fblogo.c:322: error: parse error before "return"
fblogo.c: In function `readInputFile':
fblogo.c:334: error: `png_structp' undeclared (first use in this function)
fblogo.c:334: error: parse error before "png_ptr"
fblogo.c:335: error: `png_infop' undeclared (first use in this function)
fblogo.c:342: error: `png_ptr' undeclared (first use in this function)
fblogo.c:342: error: `info_ptr' undeclared (first use in this function)
fblogo.c:348: warning: implicit declaration of function `png_get_IHDR'
fblogo.c:362: error: `png_infopp' undeclared (first use in this function)
fblogo.c: In function `writeOutputFileHeader':
fblogo.c:374: warning: implicit declaration of function `time'
fblogo.c:375: warning: implicit declaration of function `strftime'
fblogo.c:375: warning: implicit declaration of function `localtime'
fblogo.c:396: warning: long int format, int arg (arg 3)
fblogo.c:397: warning: long int format, int arg (arg 3)
fblogo.c: In function `writeOutputFile':
fblogo.c:420: error: `png_bytep' undeclared (first use in this function)
fblogo.c:420: error: parse error before "pixel"
fblogo.c:437: error: subscripted value is neither array nor pointer
fblogo.c:449: error: subscripted value is neither array nor pointer
fblogo.c:462: error: subscripted value is neither array nor pointer
fblogo.c:470: error: `pixel' undeclared (first use in this function)
fblogo.c:472: warning: comparison between signed and unsigned
make: *** [fblogo] Erreur 1
Marsh Posté le 30-04-2004 à 19:09:44
être débutant ne signifie pas ne pas se renseigner ; lis le premier post et revient nous voir après ; évite d'installer ton soft comme tu es en train de le faire si tu ne sais pas exactement ce que tu fais parce qu'ensuite ça va êtr ele boxon pour le désinstaller
Marsh Posté le 30-04-2004 à 19:10:56
Mjules a écrit : être débutant ne signifie pas ne pas se renseigner ; lis le premier post et revient nous voir après ; évite d'installer ton soft comme tu es en train de le faire si tu ne sais pas exactement ce que tu fais parce qu'ensuite ça va êtr ele boxon pour le désinstaller |
oué mais j'en ai besoin de ce prog
Marsh Posté le 30-04-2004 à 19:11:37
Et après pour s'en servir et tout
Remplacer le .h original, recompiler le kernel avec les bonnes options qu'il faut etc.
Moi je dis 'lol' d'avance !
Marsh Posté le 30-04-2004 à 19:12:09
ReplyMarsh Posté le 30-04-2004 à 19:13:12
dites moi un autre programme pour convertir une image de type *.png en .h
Marsh Posté le 30-04-2004 à 19:14:52
c'est quoi un .h pour toi ? parce que pour nous c'est un fichier contenant des headers utiles pour les compilations
Marsh Posté le 30-04-2004 à 19:15:04
ReplyMarsh Posté le 30-04-2004 à 19:17:32
Gentoo : emerge fblogo
Ça télécharge, ça compile, ça installe, et ça marche.
Chercher un rpm pour toi
Marsh Posté le 30-04-2004 à 20:04:11
pour gentoo, c'est payant ce truc ?
on ma dis que c'est une distrib super dur a installé
Marsh Posté le 30-04-2004 à 20:50:03
c juste pour debain FBlogo ?
ya bcp de pack fblogo-0.5.2.deb
Marsh Posté le 30-04-2004 à 20:50:54
au pire tu les convertis en rpm avec alien
Marsh Posté le 30-04-2004 à 20:51:56
ReplyMarsh Posté le 01-05-2004 à 12:05:21
_Blade a écrit : ALIEN ? |
oui et vice versa aussi
Marsh Posté le 01-05-2004 à 14:50:50
oki j'essayerai sa, en attendant si qq1 a une idée pour un autre programme qui a les meme fonction que fblogo, faites moi signe
Marsh Posté le 27-04-2004 à 21:08:50
comment installé ce logiciel sous nux suse ?
je suis un super newbie sous NUX