b311...@theotherbell.com writes:
I'm trying to build and install maildrop 1.6.3. When I run
configure, I get a couple of strange messages about vector:
checking vector presence... yes
configure: WARNING: vector: present but cannot be compiled
configure: WARNING: vector: check for missing prerequisite headers?
configure: WARNING: vector: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-...@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
Since they appear to be warnings, I tried to compile, but get a
slew of compiler errors:
Compiling maildirkeywords4.cpp
In file included from /usr/include/g++-v3/bits/stl_algobase.h:71,
from /usr/include/g++-v3/bits/stl_tree.h:85,
from /usr/include/g++-v3/bits/std_set.h:62,
from /usr/include/g++-v3/set:31,
from maildirkeywords.h:435,
from maildirkeywords4.cpp:9:
/usr/include/g++-v3/bits/std_cstring.h:68: `memcpy' is already declared in this
scope
/usr/include/g++-v3/bits/std_cstring.h:69: `memmove' is already declared in this
scope
/usr/include/g++-v3/bits/std_cstring.h:70: `strcpy' is already declared in this
scope
/usr/include/g++-v3/bits/std_cstring.h:71: `strncpy' is already declared in this
scope
...
/usr/include/g++-v3/bits/std_cstring.h: In function `char *strchr (char
*, int)':
/usr/include/g++-v3/bits/std_cstring.h:96: `__builtin_strchr' undeclared (first
use this function)
My default compiler is gcc 2.96. What am I doing wrong?
Something in your C++ compiler or its libraries is broken.
Check maildir/config.log for the error messages related to the vector header
file probe failure.