[Asterisk-Users] Spandsp 0.0.2pre6 configure fails sanity check.

Mike Benoit ipso at snappymail.ca
Tue Dec 21 11:54:14 MST 2004


I get a C++ preprocessor sanity check error when trying to configure
spandsp 0.0.2pre6:

checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Config.log:
--------------------------------------
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "spandsp"
| #define VERSION "0.0.2"
| #ifdef __cplusplus
| void exit (int);
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|                    Syntax error
configure:5144: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


I'm running Mandrake 10.0, with the follow gcc packages installed:

gcc-3.3.2-9mdk
gcc-cpp-3.3.2-9mdk


Any ideas how to fix this?

Thanks.

-- 
Mike Benoit <ipso at snappymail.ca>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041221/0cb4a1c4/attachment.pgp


More information about the asterisk-users mailing list