then mv -f ".deps/file-assoc-dlg.Tpo" ".deps/file-assoc-dlg.Po"; else rm -f ".deps/file-assoc-dlg.Tpo"; exit 1; fi main-window.c: In function 'fm_main_window_class_init': main-window.c:270:32: warning: assignment from incompatible pointer type [enabled by default] main-window.c: In function 'fm_main_window_init': main-window.c:444:5: warning: passing argument 2 of 'update_window_icon' from incompatible pointer type [enabled by default] main-window.c:408:13: note: expected 'struct GtkWindow *' but argument is of type 'struct FMMainWindow *' main-window.c:481:5: warning: passing argument 2 of 'g_object_weak_ref' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:448:10: note: expected 'GWeakNotify' but argument is of type 'void (*)(void *)' main-window.c:512:26: warning: passing argument 2 of 'gtk_box_pack_start' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkbox.h:109:13: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkToolItem *' main-window.c:528:5: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gsignal.h:353:9: note: expected 'GCallback' but argument is of type 'void (*)(struct GtkWidget *, void *)' main-window.c: In function 'fm_main_window_open_terminal': main-window.c:1582:13: warning: passing argument 1 of 'gtk_widget_get_screen' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkwidget.h:1056:15: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkWindow *' main-window.c: In function 'on_open_current_folder_as_root': main-window.c:1619:15: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] main-window.c: In function 'create_bookmarks_menu_item': main-window.c:1678:5: warning: passing argument 3 of 'g_object_set_data' discards 'const' qualifier from pointer target type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'gpointer' but argument is of type 'const char *'if /home/test/test/output/host/usr/bin/arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/mime-type -I../src/compat -I../src/ptk -I../src/vfs -I../src/libmd5-rfc -I../src/desktop -I../src/inotify -DPACKAGE_DATA_DIR=\""/usr/share/pcmanfm"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/gtk-2.0/include -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/atk-1.0 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/cairo -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gdk-pixbuf-2.0 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/pango-1.0 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/glib-2.0/include -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/pixman-1 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/freetype2 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/libpng14 -I/home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/startup-notification-1.0 -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT file-assoc-dlg-ui.o -MD -MP -MF ".deps/file-assoc-dlg-ui.Tpo" -c -o file-assoc-dlg-ui.o file-assoc-dlg-ui.c; \ then mv -f ".deps/file-assoc-dlg-ui.Tpo" ".deps/file-assoc-dlg-ui.Po"; else rm -f ".deps/file-assoc-dlg-ui.Tpo"; exit 1; fi desktop/fm-desktop.c: In function 'fm_desktop_new': desktop/fm-desktop.c:462:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] desktop/fm-desktop.c:495:5: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gsignal.h:353:9: note: expected 'GCallback' but argument is of type 'void (*)(struct GObject *, void *)' desktop/fm-desktop.c:496:5: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gsignal.h:353:9: note: expected 'GCallback' but argument is of type 'gboolean (*)(struct GtkWidget *, struct GdkEventExpose *, void *)' desktop/fm-desktop.c:498:5: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gsignal.h:353:9: note: expected 'GCallback' but argument is of type 'gboolean (*)(struct GtkWidget *, struct GdkEventKey *, void *)' main-window.c: In function 'on_main_window_focus': main-window.c:2103:27: warning: ignoring return value of 'g_list_remove_link', declared with attribute warn_unused_result [-Wunused-result] file-properties.c: In function 'on_combo_change': file-properties.c:221:20: warning: assignment makes pointer from integer without a cast [enabled by default] file-properties.c:271:17: warning: passing argument 1 of 'g_object_get_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:493:13: note: expected 'struct GObject *' but argument is of type 'struct GtkComboBox *' file-properties.c:278:13: warning: passing argument 1 of 'g_object_set_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'struct GObject *' but argument is of type 'struct GtkComboBox *' file-properties.c:283:9: warning: passing argument 1 of 'g_object_set_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'struct GObject *' but argument is of type 'struct GtkComboBox *' file-properties.c: In function 'file_properties_dlg_new': file-properties.c:435:13: warning: passing argument 1 of 'g_object_set_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'struct GObject *' but argument is of type 'struct GtkWidget *' file-properties.c:451:9: warning: passing argument 3 of 'g_signal_connect_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gsignal.h:353:9: note: expected 'GCallback' but argument is of type 'void (*)(struct GtkComboBox *, void *)' file-properties.c:507:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] file-properties.c:516:40: warning: comparison between pointer and integer [enabled by default] pref-dialog.c: In function 'on_show_desktop_toggled': pref-dialog.c:106:28: warning: passing argument 2 of 'gtk_container_foreach' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkcontainer.h:122:10: note: expected 'GtkCallback' but argument is of type 'void (*)(struct GtkWidget *, gboolean)' pref-dialog.c:106:28: warning: passing argument 3 of 'gtk_container_foreach' makes pointer from integer without a cast [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkcontainer.h:122:10: note: expected 'gpointer' but argument is of type 'gboolean' pref-dialog.c:107:5: warning: passing argument 1 of 'gtk_widget_set_sensitive' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkwidget.h:964:23: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkToggleButton *' pref-dialog.c: In function 'show_preference_dialog': pref-dialog.c:233:5: warning: passing argument 1 of 'on_show_desktop_toggled' from incompatible pointer type [enabled by default] pref-dialog.c:101:1: note: expected 'struct GtkToggleButton *' but argument is of type 'struct GtkWidget *' app-chooser-dialog.c: In function 'create_model_from_mime_type': app-chooser-dialog.c:99:14: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] app-chooser-dialog.c:117:5: warning: return from incompatible pointer type [enabled by default] app-chooser-dialog.c: In function 'on_load_all_apps_finish': app-chooser-dialog.c:163:5: warning: passing argument 1 of 'g_object_get_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:493:13: note: expected 'struct GObject *' but argument is of type 'struct VFSAsyncTask *' app-chooser-dialog.c: In function 'on_notebook_switch_page': app-chooser-dialog.c:197:13: warning: passing argument 1 of 'gtk_widget_get_toplevel' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/gtk-2.0/gtk/gtkwidget.h:1050:14: note: expected 'struct GtkWidget *' but argument is of type 'struct GtkTreeView *' app-chooser-dialog.c:202:13: warning: passing argument 1 of 'vfs_async_task_new' from incompatible pointer type [enabled by default] ../src/vfs/vfs-async-task.h:69:18: note: expected 'VFSAsyncFunc' but argument is of type 'void * (*)(struct VFSAsyncTask *)' app-chooser-dialog.c:203:13: warning: passing argument 1 of 'g_object_set_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'struct GObject *' but argument is of type 'struct VFSAsyncTask *' app-chooser-dialog.c:204:13: warning: passing argument 1 of 'g_object_set_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:495:13: note: expected 'struct GObject *' but argument is of type 'struct GtkWidget *' app-chooser-dialog.c: In function 'on_dlg_response': app-chooser-dialog.c:311:9: warning: passing argument 1 of 'g_object_get_data' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/gobject/gobject.h:493:13: note: expected 'struct GObject *' but argument is of type 'struct GtkDialog *' app-chooser-dialog.c: In function 'load_all_apps_in_dir': app-chooser-dialog.c:361:22: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] app-chooser-dialog.c: In function 'load_all_known_apps_thread': app-chooser-dialog.c:417:15: warning: assignment from incompatible pointer type [enabled by default] file-assoc-dlg.c: In function 'add_mime_types_to_tree': file-assoc-dlg.c:95:26: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] file-assoc-dlg.c: In function 'init_type_tree': file-assoc-dlg.c:126:29: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] file-assoc-dlg.c:143:5: warning: passing argument 1 of 'g_strv_length' from incompatible pointer type [enabled by default] /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/include/glib-2.0/glib/gstrfuncs.h:243:23: note: expected 'gchar **' but argument is of type 'const char **' file-assoc-dlg.c:146:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] file-assoc-dlg.c:148:14: warning: assignment from incompatible pointer type [enabled by default] file-assoc-dlg.c:154:26: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] /home/test/test/output/host/usr/bin/arm-none-linux-gnueabi-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pcmanfm mime-type.o mime-action.o mime-cache.o ptk-file-browser.o ptk-file-list.o ptk-icon-view.o ptk-path-entry.o ptk-text-renderer.o exo-marshal.o exo-string.o ptk-file-icon-renderer.o ptk-utils.o ptk-dir-tree-view.o ptk-dir-tree.o ptk-location-view.o ptk-bookmarks.o ptk-input-dialog.o ptk-file-task.o ptk-file-archiver.o ptk-console-output.o ptk-clipboard.o ptk-file-menu.o ptk-file-misc.o vfs-file-monitor.o vfs-mime-type.o vfs-file-info.o vfs-dir.o vfs-app-desktop.o vfs-file-task.o vfs-volume-nohal.o vfs-execute.o vfs-async-task.o vfs-thumbnail-loader.o md5.o fm-desktop.o working-area.o glib-utils.o main.o main-window.o file-properties.o file-properties-ui.o settings.o pref-dialog.o pref-dialog-ui.o edit-bookmarks.o app-chooser-dialog.o app-chooser-dialog-ui.o file-assoc-dlg.o file-assoc-dlg-ui.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lstartup-notification-1 -lfam /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: fm-desktop.o: undefined reference to symbol 'XSendEvent' /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: note: 'XSendEvent' is defined in DSO /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/libX11.so.6 so try adding it to the linker command line /home/test/test/output/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [pcmanfm] Error 1 make[3]: Leaving directory `/home/test/test/output/build/pcmanfm-0.3.5.9/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/test/test/output/build/pcmanfm-0.3.5.9' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output/build/pcmanfm-0.3.5.9' make: *** [/home/test/test/output/build/pcmanfm-0.3.5.9/.stamp_built] Error 2