[Thunar-dev] Problems building new Thunar snapshot

Erik Harrison erikharrison at gmail.com
Wed Nov 9 20:07:25 CET 2005


Hey Benny. Hate to rain on your parade.

Building the new Thunar snapshot causes it to fail with these warnings:
tdb.c: In function `tdb_write':
tdb.c:398: warning: implicit declaration of function `pwrite'
tdb.c: In function `tdb_read':
tdb.c:421: warning: implicit declaration of function `pread'
make[2]: *** [tdb.lo] Error 1
make[2]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136/tdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136'
make: *** [all] Error 2

I'm not sure what the cause is, but I can mask the warnings by
undefining HAVE_PREAD and HAVE_PWRITE at the top of tdb.c, and using
lseek instead. But that leads to more warnings farther down the line.

Building with --disable-debug bypasses all of that, and compilation
succeeds, but then I get a lot of linker errors.

.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0x0): In function
`g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:247: multiple definition of `g_bit_nth_lsf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x0):/usr/include/glib-2.0/glib/gutils.h:247:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0x30): In function
`g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:260: multiple definition of `g_bit_nth_msf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x30):/usr/include/glib-2.0/glib/gutils.h:260:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0x60): In function
`g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:274: multiple definition of `g_bit_storage'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x60):/usr/include/glib-2.0/glib/gutils.h:274:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0x80): In function
`g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:288: multiple definition of
`g_trash_stack_push'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x80):/usr/include/glib-2.0/glib/gutils.h:288:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0xa0): In function
`g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:296: multiple definition of
`g_trash_stack_pop'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xa0):/usr/include/glib-2.0/glib/gutils.h:296:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0xc0): In function
`g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:313: multiple definition of
`g_trash_stack_peek'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xc0):/usr/include/glib-2.0/glib/gutils.h:313:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-job.o(.text+0xd0): In function
`g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of
`g_trash_stack_height'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xd0):/usr/include/glib-2.0/glib/gutils.h:322:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x0): In
function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:247: multiple definition of `g_bit_nth_lsf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x0):/usr/include/glib-2.0/glib/gutils.h:247:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x30): In
function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:260: multiple definition of `g_bit_nth_msf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x30):/usr/include/glib-2.0/glib/gutils.h:260:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x60): In
function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:274: multiple definition of `g_bit_storage'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x60):/usr/include/glib-2.0/glib/gutils.h:274:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x80): In
function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:288: multiple definition of
`g_trash_stack_push'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x80):/usr/include/glib-2.0/glib/gutils.h:288:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0xa0): In
function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:296: multiple definition of
`g_trash_stack_pop'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xa0):/usr/include/glib-2.0/glib/gutils.h:296:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0xc0): In
function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:313: multiple definition of
`g_trash_stack_peek'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xc0):/usr/include/glib-2.0/glib/gutils.h:313:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0xd0): In
function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of
`g_trash_stack_height'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xd0):/usr/include/glib-2.0/glib/gutils.h:322:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0xf0): In
function `thunar_vfs_mime_info_ref':
../thunar-vfs/thunar-vfs-mime-info.h:82: multiple definition of
`thunar_vfs_mime_info_ref'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xf0):../thunar-vfs/thunar-vfs-mime-info.h:82:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x120): In
function `thunar_vfs_mime_info_get_name':
../thunar-vfs/thunar-vfs-mime-info.h:98: multiple definition of
`thunar_vfs_mime_info_get_name'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x120):../thunar-vfs/thunar-vfs-mime-info.h:98:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-mime-info.o(.text+0x130): In
function `thunar_vfs_mime_info_list_free':
../thunar-vfs/thunar-vfs-mime-info.h:111: multiple definition of
`thunar_vfs_mime_info_list_free'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x130):../thunar-vfs/thunar-vfs-mime-info.h:111:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x0): In function
`g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:247: multiple definition of `g_bit_nth_lsf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x0):/usr/include/glib-2.0/glib/gutils.h:247:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x30): In function
`g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:260: multiple definition of `g_bit_nth_msf'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x30):/usr/include/glib-2.0/glib/gutils.h:260:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x60): In function
`g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:274: multiple definition of `g_bit_storage'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x60):/usr/include/glib-2.0/glib/gutils.h:274:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x80): In function
`g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:288: multiple definition of
`g_trash_stack_push'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x80):/usr/include/glib-2.0/glib/gutils.h:288:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0xa0): In function
`g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:296: multiple definition of
`g_trash_stack_pop'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xa0):/usr/include/glib-2.0/glib/gutils.h:296:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0xc0): In function
`g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:313: multiple definition of
`g_trash_stack_peek'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xc0):/usr/include/glib-2.0/glib/gutils.h:313:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0xd0): In function
`g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:322: multiple definition of
`g_trash_stack_height'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0xd0):/usr/include/glib-2.0/glib/gutils.h:322:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0xf0): In function
`thunar_vfs_path_ref':
../thunar-vfs/thunar-vfs-path.h:124: multiple definition of
`thunar_vfs_path_ref'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x170):../thunar-vfs/thunar-vfs-path.h:124:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x120): In function
`thunar_vfs_path_is_root':
../thunar-vfs/thunar-vfs-path.h:140: multiple definition of
`thunar_vfs_path_is_root'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x1a0):../thunar-vfs/thunar-vfs-path.h:140:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x140): In function
`thunar_vfs_path_get_name':
../thunar-vfs/thunar-vfs-path.h:155: multiple definition of
`thunar_vfs_path_get_name'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x1c0):../thunar-vfs/thunar-vfs-path.h:155:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x150): In function
`thunar_vfs_path_get_parent':
../thunar-vfs/thunar-vfs-path.h:175: multiple definition of
`thunar_vfs_path_get_parent'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x1d0):../thunar-vfs/thunar-vfs-path.h:175:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x160): In function
`thunar_vfs_path_list_append':
../thunar-vfs/thunar-vfs-path.h:192: multiple definition of
`thunar_vfs_path_list_append'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x1e0):../thunar-vfs/thunar-vfs-path.h:192:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x190): In function
`thunar_vfs_path_list_prepend':
../thunar-vfs/thunar-vfs-path.h:210: multiple definition of
`thunar_vfs_path_list_prepend'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x210):../thunar-vfs/thunar-vfs-path.h:210:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x1c0): In function
`thunar_vfs_path_list_copy':
../thunar-vfs/thunar-vfs-path.h:227: multiple definition of
`thunar_vfs_path_list_copy'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x240):../thunar-vfs/thunar-vfs-path.h:227:
first defined here
.libs/libthunar_vfs_1_la-thunar-vfs-path.o(.text+0x220): In function
`thunar_vfs_path_list_free':
../thunar-vfs/thunar-vfs-path.h:249: multiple definition of
`thunar_vfs_path_list_free'
.libs/libthunar_vfs_1_la-thunar-vfs-info.o(.text+0x2a0):../thunar-vfs/thunar-vfs-path.h:249:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [libthunar-vfs-1.la] Error 1
make[3]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136/thunar-vfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136/thunar-vfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/erik/tmp/Thunar-0.1.3svn-r00136'
make: *** [all] Error 2

I reran xdt-autogen in the top of the tree, on the off chance the
linker problems were a sideeffect of the autotools magic in
thunar-vfs/Makefile.am (a flimsy guess, I'll admit) but the problem
persists.

Thanks
--
Erik

"If Beethoven had been killed in a plane crash at the age of 22, it
would have changed the history of music... and of aviation."



More information about the Thunar-dev mailing list