LINUX.ORG.RU

Ошибки компиляции PCmanFM


0

1

Привет Всем! Вот код ощибок:

ain-win.c:130: warning: assignment from incompatible pointer type main-win.c:131: warning: assignment from incompatible pointer type main-win.c: In function ‘on_location_activate’: main-win.c:142: error: implicit declaration of function ‘fm_path_entry_get_path’ main-win.c:142: warning: initialization makes pointer from integer without a cast main-win.c: In function ‘on_view_loaded’: main-win.c:160: warning: passing argument 1 of ‘g_object_get_qdata’ from incompatible pointer type /usr/include/glib-2.0/gobject/gobject.h:482: note: expected ‘struct GObject *’ but argument is of type ‘struct FmFolderView *’ main-win.c:165: error: implicit declaration of function ‘fm_path_entry_set_path’ main-win.c:171: warning: statement with no effect main-win.c: In function ‘on_file_clicked’: main-win.c:219: warning: enumeration value ‘FM_FV_CLICK_NONE’ not handled in switch main-win.c: In function ‘on_show_history_menu’: main-win.c:460: warning: assignment from incompatible pointer type main-win.c:465: warning: assignment from incompatible pointer type main-win.c:470: warning: passing argument 2 of ‘gtk_menu_shell_append’ from incompatible pointer type /usr/include/gtk-2.0/gtk/gtkmenushell.h:101: note: expected ‘struct GtkWidget *’ but argument is of type ‘struct GtkMenuItem *’ main-win.c: In function ‘fm_main_win_init’: main-win.c:518: warning: passing argument 1 of ‘gtk_container_set_border_width’ from incompatible pointer type /usr/include/gtk-2.0/gtk/gtkcontainer.h:108: note: expected ‘struct GtkContainer *’ but argument is of type ‘struct GtkWidget *’ main-win.c:519: warning: passing argument 1 of ‘gtk_notebook_set_show_border’ from incompatible pointer type /usr/include/gtk-2.0/gtk/gtknotebook.h:220: note: expected ‘struct GtkNotebook *’ but argument is of type ‘struct GtkWidget *’ main-win.c:531: warning: passing argument 5 of ‘gtk_action_group_add_radio_actions’ from incompatible pointer type /usr/include/gtk-2.0/gtk/gtkactiongroup.h:138: note: expected ‘GCallback’ but argument is of type ‘void (*)(struct GtkRadioAction *,

Ответ на: комментарий от Xenon

Дистрюбутив Chrome X DVD, основанный на пакетной базе Debian и дистрюбутиве KNOPPIX.
Собираю, как обычно:
./configure --prefix=/usr
make && make install

nicholas
() автор топика

>error: implicit declaration of function ‘fm_path_entry_set_path’ main-win.c
Ошибка, если я не ошибаюсь, из-за недеклариролванной функции.
Исходники взяты откуда? С офф. сайта?
А почему не используете пакетный менеджер?

Xenon ★★★
()
Ответ на: комментарий от Xenon

да, исходники взяты с SourceForge,
хотелось свеженький PCmanFM опробовать, заодно и протестить.

nicholas
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.