[Thunar-dev] Fwd: Thunar-0.3.2beta2 doesn't compile on OpenBSD 3.9

Auke Kok sofar at foo-projects.org
Mon Jul 10 20:57:06 CEST 2006



forwarded - somehow this didn't make it to the list?

===

Hello list !

I try to compile regularly each beta/devel version of xfce on OpenBSD, and 
current version of thunar fails to compile on this issue :

if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I.. -DEXO_API_SUBJECT_TO_CHANGE -DEXO_DISABLE_DEPRECATED 
-DG_LOG_DOMAIN=\"thunar-vfs\" -DLIBEXECDIR=\"/local/libexec\" 
-DSN_API_NOT_YET_FROZEN    -DTHUNAR_VFS_COMPILATION 
-DTHUNAR_VFS_VERSION_API=\"1\" -DG_DISABLE_CAST_CHECKS 
-I/local/include/exo-0.3 -I/local/include/xfce4 -I/usr/local/include/gtk-2.0 
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/local/include/cairo 
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include    -I/usr/local/include/libpng 
-I/usr/local/include -MT libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.lo -MD -MP 
-MF ".deps/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.Tpo" -c -o 
libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.lo `test -f 
'thunar-vfs-thumb-pixbuf.c' || echo './'`thunar-vfs-thumb-pixbuf.c; then mv -f 
".deps/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.Tpo" 
".deps/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.Plo"; else rm -f 
".deps/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DEXO_API_SUBJECT_TO_CHANGE 
-DEXO_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"thunar-vfs\" 
-DLIBEXECDIR=\"/local/libexec\" -DSN_API_NOT_YET_FROZEN 
-DTHUNAR_VFS_COMPILATION -DTHUNAR_VFS_VERSION_API=\"1\" 
-DG_DISABLE_CAST_CHECKS -I/local/include/exo-0.3 -I/local/include/xfce4 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/X11R6/include/freetype2 
-I/usr/X11R6/include -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/libpng -I/usr/local/include -MT 
libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.lo -MD -MP -MF 
.deps/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.Tpo -c 
thunar-vfs-thumb-pixbuf.c  -fPIC -DPIC -o 
.libs/libthunar_vfs_1_la-thunar-vfs-thumb-pixbuf.o
In file included from thunar-vfs-thumb-pixbuf.c:26:
/usr/include/sys/mman.h:113: error: syntax error before "size_t"
/usr/include/sys/mman.h:114: error: syntax error before "size_t"
/usr/include/sys/mman.h:115: error: syntax error before "size_t"
/usr/include/sys/mman.h:116: error: syntax error before "size_t"
/usr/include/sys/mman.h:117: error: syntax error before "size_t"
/usr/include/sys/mman.h:118: error: syntax error before "size_t"
/usr/include/sys/mman.h:121: error: syntax error before "size_t"
/usr/include/sys/mman.h:122: error: syntax error before "size_t"
/usr/include/sys/mman.h:123: error: syntax error before "size_t"
/usr/include/sys/mman.h:124: error: syntax error before "size_t"
*** Error code 1

These are the corresponding lines in /usr/include/sys/mman.h :
     113 void *  mmap(void *, size_t, int, int, int, off_t);
     114 int     mprotect(void *, size_t, int);
     115 int     munmap(void *, size_t);
     116 int     msync(void *, size_t, int);
     117 int     mlock(const void *, size_t);
     118 int     munlock(const void *, size_t);
     119 int     mlockall(int);
     120 int     munlockall(void);
     121 int     madvise(void *, size_t, int);
     122 int     mincore(void *, size_t, char *);
     123 int     minherit(void *, size_t, int);
     124 void *  mquery(void *, size_t, int, int, int, off_t);

I guess the problem doesn't come from OpenBSD headers... so where's the error ?

I can provide more info if needed (config.log....)

Landry



More information about the Thunar-dev mailing list