i'm trying to compile latest pcmanfm, with debug symbols, from git repositories - with this guide
http://wiki.lxde.org/en/PCManFM_build_and_setup_guide and i'm stuck in make step. Here is the log:
[yodelu@localhost pcmanfm]$ git clone git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm
Cloning into pcmanfm...
remote: Counting objects: 2662, done.
remote: Compressing objects: 100% (2464/2464), done.
remote: Total 2662 (delta 2129), reused 229 (delta 186)
Receiving objects: 100% (2662/2662), 1.46 MiB | 352 KiB/s, done.
Resolving deltas: 100% (2129/2129), done.
[yodelu@localhost pcmanfm]$ cd pcmanfm/
[yodelu@localhost pcmanfm]$ ./autogen.sh
+ '[' x '!=' x ']'
+ aclocal
+ autoheader --force
+ AUTOMAKE=automake
+ libtoolize -c --automake --force
+ AUTOMAKE=automake
+ intltoolize -c --automake --force
+ automake --add-missing --copy --include-deps
configure.ac:13: installing `./config.guess'
configure.ac:13: installing `./config.sub'
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
src/Makefile.am: installing `./depcomp'
+ autoconf
+ rm -rf autom4te.cache
[yodelu@localhost pcmanfm]$ ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.40.6 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XLIB... yes
checking for GTK... yes
checking for GIO... yes
checking for GMODULE... yes
checking for FM... yes
checking for MENU_CACHE... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating data/Makefile
config.status: creating data/ui/Makefile
config.status: creating data/ui/about.glade
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Ready to make pcmanfm
make all-recursive
make[1]: Entering directory `/home/yodelu/pcmanfm/pcmanfm'
Making all in src
make[2]: Entering directory `/home/yodelu/pcmanfm/pcmanfm/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share/pcmanfm"\" -DPACKAGE_UI_DIR=\""/usr/local/share/pcmanfm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libfm -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/menu-cache -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_CAST_CHECKS -Wall -Werror-implicit-function-declaration -g -O2 -MT pcmanfm-pcmanfm.o -MD -MP -MF .deps/pcmanfm-pcmanfm.Tpo -c -o pcmanfm-pcmanfm.o `test -f 'pcmanfm.c' || echo './'`pcmanfm.c
pcmanfm.c: In function ‘on_unix_signal’:
pcmanfm.c:101: warning: passing argument 2 of ‘g_io_channel_read_chars’ from incompatible pointer type
/usr/include/glib-2.0/glib/giochannel.h:247: note: expected ‘gchar *’ but argument is of type ‘int *’
pcmanfm.c: In function ‘main’:
pcmanfm.c:161: warning: enumeration value ‘SINGLE_INST_SERVER’ not handled in switch
pcmanfm.c: In function ‘pcmanfm_open_folder_in_terminal’:
pcmanfm.c:439: warning: initialization from incompatible pointer type
mv -f .deps/pcmanfm-pcmanfm.Tpo .deps/pcmanfm-pcmanfm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share/pcmanfm"\" -DPACKAGE_UI_DIR=\""/usr/local/share/pcmanfm/ui"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libfm -I/usr/include/gtk-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/menu-cache -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_DISABLE_CAST_CHECKS -Wall -Werror-implicit-function-declaration -g -O2 -MT pcmanfm-app-config.o -MD -MP -MF .deps/pcmanfm-app-config.Tpo -c -o pcmanfm-app-config.o `test -f 'app-config.c' || echo './'`app-config.c
app-config.c: In function ‘fm_app_config_load_from_key_file’:
app-config.c:88: warning: pointer targets in passing argument 4 of ‘fm_key_file_get_bool’ differ in signedness
/usr/include/libfm/libfm/fm-utils.h:34: note: expected ‘gboolean *’ but argument is of type ‘guint *’
app-config.c:97: warning: passing argument 4 of ‘fm_key_file_get_int’ from incompatible pointer type
/usr/include/libfm/libfm/fm-utils.h:33: note: expected ‘int *’ but argument is of type ‘enum FmWallpaperMode *’
app-config.c:138: warning: pointer targets in passing argument 4 of ‘fm_key_file_get_int’ differ in signedness
/usr/include/libfm/libfm/fm-utils.h:33: note: expected ‘int *’ but argument is of type ‘guint *’
app-config.c:139: error: implicit declaration of function ‘FM_FOLDER_VIEW_MODE_IS_VALID’
app-config.c:142: warning: passing argument 4 of ‘fm_key_file_get_int’ from incompatible pointer type
/usr/include/libfm/libfm/fm-utils.h:33: note: expected ‘int *’ but argument is of type ‘enum GtkSortType *’
app-config.c:146: error: implicit declaration of function ‘FM_FOLDER_MODEL_COL_IS_VALID’
app-config.c: In function ‘fm_app_config_load_from_profile’:
app-config.c:164: warning: assignment from incompatible pointer type
app-config.c:204: warning: label ‘_out’ defined but not used
app-config.c:153: warning: unused variable ‘rel_path’
make[2]: *** [pcmanfm-app-config.o] Error 1
make[2]: Leaving directory `/home/yodelu/pcmanfm/pcmanfm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yodelu/pcmanfm/pcmanfm'
make: *** [all] Error 2
[yodelu@localhost pcmanfm]$
Have any ideea ?
Thx !