<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">Le 21 septembre 2016 à 16:47, Pierre Biava <span dir="ltr"><<a href="mailto:pierre.biava@orange.fr" target="_blank">pierre.biava@orange.fr</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ludovic Rousseau a écrit le 21/09/2016 à 09:50 :<br>
<br>
Bonjour Ludovic,<span><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Bonjour,<br>
<br>
La compilation de la branche master échoue (sur macOS en tout cas) avec:<br>
<br>
 CC    go-optionmenu.lo<br>
go-optionmenu.c:456:5: error: use of undeclared identifier 'tmp_filename'<br>
  tmp_filename = g_build_filename (gsb_dirs_get_pixmaps_dir (), "arrow...<br>
  ^<br>
go-optionmenu.c:457:5: error: use of undeclared identifier 'arrow_left'<br>
  arrow_left = gtk_image_new_from_file (tmp_filename);<br>
  ^<br>
go-optionmenu.c:457:43: error: use of undeclared identifier 'tmp_filename'<br>
  arrow_left = gtk_image_new_from_file (tmp_filename);<br>
                     ^<br>
go-optionmenu.c:458:13: error: use of undeclared identifier 'tmp_filename'<br>
  g_free (tmp_filename);<br>
      ^<br>
go-optionmenu.c:485:4: warning: missing field 'value_table' initializer<br>
   [-Wmissing-field-initializers]<br>
            };<br>
</blockquote>
<br></span>
Un oubli malheureux lors d'un copié collé. Ce qui est curieux c'est que je compile toujours avant de pousser un commit.<br></blockquote><div><br></div><div>J'ai corrigé 2 erreurs de compilation.<br><br></div><div>Maintenant j'ai une erreur au link:<br> CCLD    grisbi<br>duplicate symbol _default_couleur_bet_transfert in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _couleur_bet_transfert in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _default_couleur_bet_division in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _couleur_bet_division in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _default_couleur_bet_future in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _couleur_bet_future in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _default_couleur_bet_solde in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>duplicate symbol _couleur_bet_solde in:<br>   ./.libs/libgrisbi.a(gsb_color.<wbr>o)<br>   ./.libs/libgrisbi.a(gsb_rgba.<wbr>o)<br>ld: 8 duplicate symbols for architecture x86_64<br><br><br></div><div>Il semble que gsb_rgba.c soit une version améliorée de gsb_color.c.<br></div><div>Si l'enlève gsb_color.c de Makefile.am je n'ai plus les symboles dupliqués mais du coup il m'en manque :<br><br>Undefined symbols for architecture x86_64:<br> "_gsb_color_get_strings_to_<wbr>save", referenced from:<br>     _gsb_file_save_save_file in libgrisbi.a(gsb_file_save.o)<br> "_gsb_color_initialise_<wbr>couleurs_par_defaut", referenced from:<br>     _main in main.o<br> "_gsb_color_set_colors_to_<wbr>default", referenced from:<br>     _init_variables in libgrisbi.a(traitement_<wbr>variables.o)<br> "_gsb_color_set_couleur", referenced from:<br>     _gsb_file_load_start_element in libgrisbi.a(gsb_file_load.o)<br> "_gsb_color_set_couleur_with_<wbr>indice", referenced from:<br>     _gsb_file_load_start_element in libgrisbi.a(gsb_file_load.o)<br>ld: symbol(s) not found for architecture x86_64<br><br><br></div><div>Travis-CI trouve d'autres erreurs :<br><br>./.libs/libgrisbi.a(accueil.o)<wbr>: In function `gsb_main_page_get_table_for_<wbr>accounts':<br>/home/travis/build/grisbi/<wbr>grisbi/src/accueil.c:860: undefined reference to `gtk_widget_set_margin_start'<br>/home/travis/build/grisbi/<wbr>grisbi/src/accueil.c:861: undefined reference to `gtk_widget_set_margin_end'<br>./.libs/libgrisbi.a(accueil.o)<wbr>: In function `creation_onglet_accueil':<br>/home/travis/build/grisbi/<wbr>grisbi/src/accueil.c:1793: undefined reference to `gtk_widget_set_margin_start'<br>/home/travis/build/grisbi/<wbr>grisbi/src/accueil.c:1794: undefined reference to `gtk_widget_set_margin_end'<br>./.libs/libgrisbi.a(gsb_form.<wbr>o): In function `gsb_form_create_widgets':<br>/home/travis/build/grisbi/<wbr>grisbi/src/gsb_form.c:230: undefined reference to `gtk_widget_set_margin_end'<br>./.libs/libgrisbi.a(utils.o): In function `utils_labels_set_alignement':<br>/home/travis/build/grisbi/<wbr>grisbi/src/utils.c:1053: undefined reference to `gtk_label_set_xalign'<br>./.libs/libgrisbi.a(utils.o): In function `utils_widget_set_padding':<br>/home/travis/build/grisbi/<wbr>grisbi/src/utils.c:1072: undefined reference to `gtk_widget_set_margin_start'<br>/home/travis/build/grisbi/<wbr>grisbi/src/utils.c:1073: undefined reference to `gtk_widget_set_margin_end'<br>./.libs/libgrisbi.a(utils.o): In function `utils_labels_set_alignement':<br>/home/travis/build/grisbi/<wbr>grisbi/src/utils.c:1054: undefined reference to `gtk_label_set_yalign'<br>./.libs/libgrisbi.a(fenetre_<wbr>principale.o): In function `gsb_gui_create_general_<wbr>widgets':<br>/home/travis/build/grisbi/<wbr>grisbi/src/fenetre_principale.<wbr>c:111: undefined reference to `gtk_widget_set_margin_end'<br>collect2: error: ld returned 1 exit status<br><br></div><div>La différence est que je compile sous Mac OS X alors que Travis-CI utilise Ubuntu.<br></div><div><br></div><div>Je ne sais pas trop quoi faire maintenant. Pierre, tu dois avoir des modifications que tu n'as pas poussé.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Je dois avoir un problème de nettoyage du code avant compilation complète. Il faut que je regarde ça.<br></blockquote><div><br></div><div>On dirait bien :-) <br></div></div><br></div><div class="gmail_extra">à +<br clear="all"></div><div class="gmail_extra"><br>-- <br><div> Dr. Ludovic Rousseau</div>
</div></div>