[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenBSD and wchar_t compilation trouble



Hi,

trying to compile sylpheed-claws, I'm facing a trouble
with wchar_t implementation (I guess)...
it seems to be due to libc (according to google)

does anyone know how to get rid of the following
problem ?

source='messageview.c' object='messageview.o' libtool=no \
depfile='.deps/messageview.Po' tmpdepfile='.deps/messageview.TPo' \
depmode=gcc /bin/sh ../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -Icommon -Igtk -DG_LOG_DOMAIN=\"Sylpheed\" -I../intl  -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/X11R6/include  -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/X11R6/include   -I/usr/local/include  -DLOCALEDIR=\""/usr/local/share/locale"\" -DMANUALDIR=\""/usr/local/share/sylpheed/manual"\" -DFAQDIR=\""/usr/local/share/sylpheed/faq"\" -DTARGET_ALIAS=\""sparc64-unknown-openbsd3.2"\" -DSYSCONFDIR=\""/etc"\"  -I/usr/local/include -c `test -f 'messageview.c' || echo './'`messageview.c
In file included from prefs_account.h:32,
                 from folder.h:37,
                 from folderview.h:27,
                 from mainwindow.h:27,
                 from messageview.h:28,
                 from messageview.c:35:
common/smtp.h:39: warning: `MSGBUFSIZE' redefined
/usr/include/machine/param.h:198: warning: this is the location of the previous definition
In file included from gtkutils.h:35,
                 from messageview.c:45:
gtk/gtkstext.h:280: syntax error before `wchar_t'
messageview.c: In function `disposition_notification_queue':
messageview.c:286: warning: cast from pointer to integer of different size
messageview.c: In function `disposition_notification_send':
messageview.c:437: warning: cast from pointer to integer of different size
gmake[4]: *** [messageview.o] Error 1
gmake[4]: Leaving directory `/usr/ports/mail/_MY_sylpheed-claws/w-sylpheed-0.8.8claws-compface-gpgme-ssl/sylpheed-0.8.8claws/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/mail/_MY_sylpheed-claws/w-sylpheed-0.8.8claws-compface-gpgme-ssl/sylpheed-0.8.8claws/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/mail/_MY_sylpheed-claws/w-sylpheed-0.8.8claws-compface-gpgme-ssl/sylpheed-0.8.8claws/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/mail/_MY_sylpheed-claws/w-sylpheed-0.8.8claws-compface-gpgme-ssl/sylpheed-0.8.8claws'
gmake: *** [all] Error 2
*** Error code 2

NB: I'm trying to compile on OpenBSD 3.2/sparc64 (Ultra5)

thanks for answers,
	Jo