List Info

Thread: FreeBSD 5.5 compile errors




FreeBSD 5.5 compile errors
country flaguser name
United States
2007-07-17 17:35:59
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-compi
le-errors-tf4086604.html#a11615125
Sent from the dbmail users mailing list archive at
Nabble.com.

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: FreeBSD 5.5 compile errors
country flaguser name
United States
2007-07-17 18:13:16
A similar problem was reported in middle of the comments on
bug 496. The
compiler was not finding iconv.h (although there isn't a
'file not found'
error below, I wonder if you just missed that part of the
error output?)

http://w
ww.dbmail.org/mantis/view.php?id=496

Aaron


On Tue, Jul 17, 2007, atrxe <chrishinestech.net> said:

> 
> 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-compi
le-errors-tf4086604.html#a11615125
> Sent from the dbmail users mailing list archive at
Nabble.com.
> 
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 



_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )