I've been trying to upgrade from dbmail-2.1.7_2 to dbmail-2.2.5 for a couple
of days now to get my SquirrelMail IMAP errors to go away. I can't seem to
find the reason why I can't compile.  I'm running FreeBSD 5.5-RELEASE SMP
kernel.  I keep getting gmime errors (attached below).  After searching
around for a solution I've updated gmime to 2.2.9, glib-2.12.12_2 and
gettext-0.16.1_3, but still no luck compiling.  Is this a problem with gmime
itself?  I also noticed the "-Wstrict-prototypes"  is this the problem? If
so how do i get rid of the strict-prototypes?  Any help would be greatly
appreciated! 

/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-W -W                                             all -Wpointer-arith
-Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnu                    
                        
ll.Tpo -c sortnull.c  -fPIC -DPIC -o .libs/sortnull.o
In file included from /usr/local/include/gmime-2.0/gmime/gmime.h:27,
                 from ../dbmail.h:42,
                 from sortnull.c:28:
/usr/local/include/gmime-2.0/gmime/gmime-iconv.h:32: error: syntax error
before "g_mime_iconv_open"
/usr/local/include/gmime-2.0/gmime/gmime-iconv.h:32: warning: type defaults
to `int' in declaration of `g_mime_iconv_open'
/usr/local/include/gmime-2.0/gmime/gmime-iconv.h:32: warning: data
definition has no type or storage class
/usr/local/include/gmime-2.0/gmime/gmime-iconv.h:100: error: syntax error
before "cd"
/usr/local/include/gmime-2.0/gmime/gmime-iconv.h:100: warning: function
declaration isn't a prototype
In file included from /usr/local/include/gmime-2.0/gmime/gmime.h:28,
                 from ../dbmail.h:42,
                 from sortnull.c:28:
/usr/local/include/gmime-2.0/gmime/gmime-iconv-utils.h:31: error: syntax
error before "cd"
/usr/local/include/gmime-2.0/gmime/gmime-iconv-utils.h:31: warning: function
declaration isn't a prototype
/usr/local/include/gmime-2.0/gmime/gmime-iconv-utils.h:32: error: syntax
error before "cd"
/usr/local/include/gmime-2.0/gmime/gmime-iconv-utils.h:32: warning: function
declaration isn't a prototype
In file included from /usr/local/include/gmime-2.0/gmime/gmime.h:56,
                 from ../dbmail.h:42,
                 from sortnull.c:28:
/usr/local/include/gmime-2.0/gmime/gmime-filter-charset.h:44: error: syntax
error before "iconv_t"
*** Error code 1

Stop in /usr/home/atrxe/dbmail-2.2.5/modules.
*** Error code 1

Stop in /usr/home/atrxe/dbmail-2.2.5.
*** Error code 1

-- 
View this message in context: 
http://www.nabble.com/FreeBSD-5.5-compile-errors-tf4086604.html#a11615125
Sent from the dbmail users mailing list archive at Nabble.com.

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to