[Dovecot] beta8 compile error
Hello,
On FreeBSD 5.4-RELEASE dovecot-1.0.beta8 build cause the following error :
make all-recursive
Making all in src
Making all in lib
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/local/include/db41 -I/usr/local/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-alloconly.o -MD -MP -MF ".deps/mempool-alloconly.Tpo" -c -o mempool-alloconly.o mempool-alloconly.c; then mv -f ".deps/mempool-alloconly.Tpo" ".deps/mempool-alloconly.Po"; else rm -f ".deps/mempool-alloconly.Tpo"; exit 1; fi
mempool-alloconly.c: In function check_nuls': mempool-alloconly.c:85: error: too many arguments to function
check_nuls'
*** Error code 1
Compiler used :
munster# gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728
-- Thomas Hummel | Institut Pasteur hummel@pasteur.fr | Pôle informatique - systèmes et réseau
On Fri, 2006-05-12 at 17:14 +0200, Thomas Hummel wrote:
Hello,
On FreeBSD 5.4-RELEASE dovecot-1.0.beta8 build cause the following error :
make all-recursive Making all in src Making all in lib if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/local/include/db41 -I/usr/local/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT mempool-alloconly.o -MD -MP -MF ".deps/mempool-alloconly.Tpo" -c -o mempool-alloconly.o mempool-alloconly.c; then mv -f ".deps/mempool-alloconly.Tpo" ".deps/mempool-alloconly.Po"; else rm -f ".deps/mempool-alloconly.Tpo"; exit 1; fi mempool-alloconly.c: In function
check_nuls': mempool-alloconly.c:85: error: too many arguments to function
check_nuls' *** Error code 1
Looks like it's broken with --enable-debug. Why are you using it? In general it's a bad idea unless you're developing Dovecot since it can add quite a lot of unnecessary overhead.
On Fri, May 12, 2006 at 08:54:22PM +0300, Timo Sirainen wrote:
On Fri, 2006-05-12 at 17:14 +0200, Thomas Hummel wrote:
Hello,
On FreeBSD 5.4-RELEASE dovecot-1.0.beta8 build cause the following error :
[...]
Looks like it's broken with --enable-debug. Why are you using it? In general it's a bad idea unless you're developing Dovecot since it can add quite a lot of unnecessary overhead.
As a matter of fact, it builds if configured without --enable-debug. Thanks.
-- Thomas Hummel | Institut Pasteur hummel@pasteur.fr | Pôle informatique - systèmes et réseau
participants (2)
-
Thomas Hummel
-
Timo Sirainen