hello,
I m trying to compile asterisk … when executing the ./configure , i get the following problem :
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… unsupported
checking how to run the C preprocessor… /lib/cpp
configure: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.
Please can you help me how to fix the problem.
Thank you
the config.log file contains le following info:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.23.1-49.fc8
uname -s = Linux
uname -v = #1 SMP Thu Nov 8 21:41:26 EST 2007
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/nawarti/bin
-----------
Core tests.
-----------
configure:2026: checking build system type
configure:2044: result: i686-pc-linux-gnulibc1
configure:2066: checking host system type
configure:2081: result: i686-pc-linux-gnulibc1
configure:2168: checking for gcc
configure:2184: found /usr/bin/gcc
configure:2195: result: gcc
configure:2433: checking for C compiler version
configure:2440: gcc --version >&5
gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)
Copyright © 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2443: $? = 0
configure:2450: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: …/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)
configure:2453: $? = 0
configure:2460: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2463: $? = 1
configure:2486: checking for C compiler default output file name
configure:2513: gcc conftest.c >&5
configure:2516: $? = 0
configure:2554: result: a.out
configure:2571: checking whether the C compiler works
configure:2581: ./a.out
configure:2584: $? = 0
configure:2601: result: yes
configure:2608: checking whether we are cross compiling
configure:2610: result: no
configure:2613: checking for suffix of executables
configure:2620: gcc -o conftest conftest.c >&5
configure:2623: $? = 0
configure:2647: result:
configure:2653: checking for suffix of object files
configure:2679: gcc -c conftest.c >&5
configure:2682: $? = 0
configure:2705: result: o
configure:2709: checking whether we are using the GNU C compiler
configure:2738: gcc -c conftest.c >&5
configure:2744: $? = 0
configure:2761: result: yes
configure:2766: checking whether gcc accepts -g
configure:2796: gcc -c -g conftest.c >&5
configure:2802: $? = 0
configure:2901: result: yes
configure:2918: checking for gcc option to accept ISO C89
configure:2992: gcc -c -g -O2 conftest.c >&5
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf , struct stat , int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -qlanglvl=extc89 -c -g -O2 conftest.c >&5
gcc: unrecognized option '-qlanglvl=extc89’
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf , struct stat , int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -qlanglvl=ansi -c -g -O2 conftest.c >&5
gcc: unrecognized option '-qlanglvl=ansi’
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf *, struct stat *, int), int, int);
| int argc;
| char *argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -std -c -g -O2 conftest.c >&5
cc1: error: unrecognized command line option "-std"
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf , struct stat , int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -Ae -c -g -O2 conftest.c >&5
:1:2: error: missing ‘(’ after predicate
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf , struct stat , int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -Aa -D_HPUX_SOURCE -c -g -O2 conftest.c >&5
:1:2: error: missing ‘(’ after predicate
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf *, struct stat *, int), int, int);
| int argc;
| char **argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:2992: gcc -Xc -D__EXTENSIONS -c -g -O2 conftest.c >&5
gcc: unrecognized option '-Xc’
conftest.c:10:19: error: stdio.h: No such file or directory
conftest.c:11:23: error: sys/types.h: No such file or directory
conftest.c:12:22: error: sys/stat.h: No such file or directory
conftest.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
conftest.c:49: error: expected declaration specifiers or ‘…’ before 'FILE’
configure:2998: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #include <stdarg.h>
| #include <stdio.h>
| #include <sys/types.h>
| #include <sys/stat.h>
| / Most of the following tests are stolen from RCS 5.7’s src/conf.sh. */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, …)
| {
| char s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| / OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not ‘\xHH’ hex character constants.
| These don’t provoke an error unfortunately, instead are silently treated
| as ‘x’. The following induces an error, until -std is added to get
| proper ANSI mode. Curiously ‘\x00’!=‘x’ always comes out true, for an
| array size at least. It’s necessary to write ‘\x00’==0 to get something
| that’s true only with -std. /
| int osf4_cc_array [’\x00’ == 0 ? 1 : -1];
|
| / IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) ‘x’
| int xlc6_cc_array[FOO(a) == ‘x’ ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, FILE ()(struct buf *, struct stat *, int), int, int);
| int argc;
| char *argv;
| int
| main ()
| {
| return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
| ;
| return 0;
| }
configure:3024: result: unsupported
configure:3045: checking how to run the C preprocessor
configure:3085: gcc -E conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3085: gcc -E conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3085: gcc -E -traditional-cpp conftest.c
conftest.c:12: error: assert.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3085: gcc -E -traditional-cpp conftest.c
conftest.c:12: error: assert.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3085: /lib/cpp conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3085: /lib/cpp conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3161: result: /lib/cpp
configure:3190: /lib/cpp conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3196: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. /
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3190: /lib/cpp conftest.c
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from conftest.c:10:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
configure:3196: $? = 1
configure: failed program was:
| / confdefs.h. /
| #define PACKAGE_NAME “”
| #define PACKAGE_TARNAME “”
| #define PACKAGE_VERSION “”
| #define PACKAGE_STRING “”
| #define PACKAGE_BUGREPORT “”
| #define _GNU_SOURCE 1
| / end confdefs.h. */
| #ifdef STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3258: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.
----------------
Cache variables.
----------------
ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_c_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_objext=o
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_c89=no
ac_cv_prog_cc_g=yes
-----------------
Output variables.
-----------------
ALLOCA=’‘
ALSA_DIR=’‘
ALSA_INCLUDE=’‘
ALSA_LIB=’‘
AR=’‘
AST_DECLARATION_AFTER_STATEMENT=’‘
AST_DEVMODE=’‘
AWK=’‘
BASENAME=’‘
BUILD_CPU=’‘
BUILD_OS=’‘
BUILD_PLATFORM=’‘
BUILD_VENDOR=’‘
CC=‘gcc’
CFLAGS=’-g -O2’
COMPRESS=’‘
CPP=’/lib/cpp’
CPPFLAGS=’‘
CURL_CONFIG=’‘
CURL_DIR=’‘
CURL_INCLUDE=’‘
CURL_LIB=’‘
CURSES_DIR=’‘
CURSES_INCLUDE=’‘
CURSES_LIB=’‘
CXX=’‘
CXXCPP=’‘
CXXFLAGS=’‘
DEFS=’‘
DIRNAME=’‘
DOT=’‘
DOWNLOAD=’‘
ECHO_C=’‘
ECHO_N=’-n’
ECHO_T=’‘
EDITLINE_LIB=’‘
EGREP=’‘
EXEEXT=’‘
FETCH=’‘
FIND=’‘
FREETDS_DIR=’‘
FREETDS_INCLUDE=’‘
FREETDS_LIB=’‘
GC_CFLAGS=’‘
GC_LDFLAGS=’‘
GNUTLS_DIR=’‘
GNUTLS_INCLUDE=’‘
GNUTLS_LIB=’‘
GNU_LD=’‘
GNU_MAKE=’‘
GREP=’‘
GSM_DIR=’‘
GSM_INCLUDE=’‘
GSM_INTERNAL=’‘
GSM_LIB=’‘
GTK2_INCLUDE=’‘
GTK2_LIB=’‘
GTKCONFIG=’‘
GTK_INCLUDE=’‘
GTK_LIB=’‘
HOST_CPU=’‘
HOST_OS=’‘
HOST_PLATFORM=’‘
HOST_VENDOR=’‘
ID=’‘
IKSEMEL_DIR=’‘
IKSEMEL_INCLUDE=’‘
IKSEMEL_LIB=’‘
IMAP_TK_DIR=’‘
IMAP_TK_INCLUDE=’‘
IMAP_TK_LIB=’‘
INSTALL_DATA=’‘
INSTALL_PROGRAM=’‘
INSTALL_SCRIPT=’‘
ISDNNET_DIR=’‘
ISDNNET_INCLUDE=’‘
ISDNNET_LIB=’‘
KDEDIR=’‘
KDEINIT=’‘
KDE_DIR=’‘
KDE_INCLUDE=’‘
KDE_LIB=’‘
LD=’‘
LDFLAGS=’‘
LIBOBJS=’‘
LIBS=’‘
LN=’‘
LN_S=’‘
LTDL_DIR=’‘
LTDL_INCLUDE=’‘
LTDL_LIB=’‘
LTLIBOBJS=’‘
MISDN_DIR=’‘
MISDN_INCLUDE=’‘
MISDN_LIB=’‘
NBS_DIR=’‘
NBS_INCLUDE=’‘
NBS_LIB=’‘
NCURSES_DIR=’‘
NCURSES_INCLUDE=’‘
NCURSES_LIB=’‘
NETSNMP_CONFIG=’‘
NETSNMP_DIR=’‘
NETSNMP_INCLUDE=’‘
NETSNMP_LIB=’‘
NEWT_DIR=’‘
NEWT_INCLUDE=’‘
NEWT_LIB=’‘
OBJEXT=‘o’
OGG_DIR=’‘
OGG_INCLUDE=’‘
OGG_LIB=’‘
OPENH323DIR=’‘
OPENH323_BUILD=’‘
OPENH323_DIR=’‘
OPENH323_INCDIR=’‘
OPENH323_INCLUDE=’‘
OPENH323_LIB=’‘
OPENH323_LIBDIR=’‘
OPENH323_SUFFIX=’‘
OPENSSL_DIR=’‘
OPENSSL_INCLUDE=’‘
OPENSSL_LIB=’‘
OSARCH=’‘
OSPTK_DIR=’‘
OSPTK_INCLUDE=’‘
OSPTK_LIB=’‘
OSS_DIR=’‘
OSS_INCLUDE=’‘
OSS_LIB=’‘
PACKAGE_BUGREPORT=’‘
PACKAGE_NAME=’‘
PACKAGE_STRING=’‘
PACKAGE_TARNAME=’‘
PACKAGE_VERSION=’‘
PATH_SEPARATOR=’:‘
PBX_ALSA=’‘
PBX_CURL=’‘
PBX_CURSES=’‘
PBX_FREETDS=’‘
PBX_GNUTLS=’‘
PBX_GSM=’‘
PBX_GTK2=’‘
PBX_GTK=’‘
PBX_H323=’‘
PBX_IKSEMEL=’‘
PBX_IMAP_TK=’‘
PBX_ISDNNET=’‘
PBX_IXJUSER=’‘
PBX_KDE=’‘
PBX_LTDL=’‘
PBX_MISDN=’‘
PBX_NBS=’‘
PBX_NCURSES=’‘
PBX_NETSNMP=’‘
PBX_NEWT=’‘
PBX_OGG=’‘
PBX_OPENH323=’‘
PBX_OPENSSL=’‘
PBX_OSPTK=’‘
PBX_OSREV=’‘
PBX_OSS=’‘
PBX_PGSQL=’‘
PBX_POPT=’‘
PBX_PRI=’‘
PBX_PWLIB=’‘
PBX_QT=’‘
PBX_RADIUS=’‘
PBX_SPEEX=’‘
PBX_SQLITE=’‘
PBX_SUPPSERV=’‘
PBX_TERMCAP=’‘
PBX_TINFO=’‘
PBX_TONEZONE=’‘
PBX_UNIXODBC=’‘
PBX_USB=’‘
PBX_VORBIS=’‘
PBX_VPB=’‘
PBX_ZAPTEL=’‘
PBX_ZAPTEL_TRANSCODE=’‘
PBX_ZAPTEL_VLDTMF=’‘
PBX_ZLIB=’‘
PGSQL_DIR=’‘
PGSQL_INCLUDE=’‘
PGSQL_LIB=’‘
PG_CONFIG=’‘
PKGCONFIG=’‘
POPT_DIR=’‘
POPT_INCLUDE=’‘
POPT_LIB=’‘
POW_LIB=’‘
PRI_DIR=’‘
PRI_INCLUDE=’‘
PRI_LIB=’‘
PTHREAD_CC=’‘
PTHREAD_CFLAGS=’‘
PTHREAD_LIBS=’‘
PTLIB_CONFIG=’‘
PWLIBDIR=’‘
PWLIB_DIR=’‘
PWLIB_INCDIR=’‘
PWLIB_INCLUDE=’‘
PWLIB_LIB=’‘
PWLIB_LIBDIR=’‘
PWLIB_PLATFORM=’‘
QTMOC=’‘
QT_DIR=’‘
QT_INCLUDE=’‘
QT_LIB=’‘
RADIUS_DIR=’‘
RADIUS_INCLUDE=’‘
RADIUS_LIB=’‘
RANLIB=’‘
SED=’‘
SHELL=’/bin/sh’
SPEEX_DIR=’‘
SPEEX_INCLUDE=’‘
SPEEX_LIB=’‘
SQLITE_DIR=’‘
SQLITE_INCLUDE=’‘
SQLITE_LIB=’‘
STRIP=’‘
SUPPSERV_DIR=’‘
SUPPSERV_INCLUDE=’‘
SUPPSERV_LIB=’‘
TERMCAP_DIR=’‘
TERMCAP_INCLUDE=’‘
TERMCAP_LIB=’‘
TINFO_DIR=’‘
TINFO_INCLUDE=’‘
TINFO_LIB=’‘
TONEZONE_DIR=’‘
TONEZONE_INCLUDE=’‘
TONEZONE_LIB=’‘
UNAME=’‘
UNIXODBC_DIR=’‘
UNIXODBC_INCLUDE=’‘
UNIXODBC_LIB=’‘
USB_DIR=’‘
USB_INCLUDE=’‘
USB_LIB=’‘
VORBIS_DIR=’‘
VORBIS_INCLUDE=’‘
VORBIS_LIB=’‘
VPB_DIR=’‘
VPB_INCLUDE=’‘
VPB_LIB=’‘
WGET=’‘
ZAPTEL_DIR=’‘
ZAPTEL_INCLUDE=’‘
ZAPTEL_LIB=’‘
ZLIB_DIR=’‘
ZLIB_INCLUDE=’‘
ZLIB_LIB=’‘
ac_ct_CC=‘gcc’
ac_ct_CXX=’‘
acx_pthread_config=’‘
bindir=’${exec_prefix}/bin’
build=‘i686-pc-linux-gnulibc1’
build_alias=’‘
build_cpu=‘i686’
build_os=‘linux-gnulibc1’
build_vendor=‘pc’
datadir=’${datarootdir}‘
datarootdir=’${prefix}/share’
docdir=’${datarootdir}/doc/${PACKAGE}‘
dvidir=’${docdir}‘
exec_prefix=‘NONE’
host=‘i686-pc-linux-gnulibc1’
host_alias=’‘
host_cpu=‘i686’
host_os=‘linux-gnulibc1’
host_vendor=‘pc’
htmldir=’${docdir}‘
includedir=’${prefix}/include’
infodir=’${datarootdir}/info’
libdir=’${exec_prefix}/lib’
libexecdir=’${exec_prefix}/libexec’
localedir=’${datarootdir}/locale’
localstatedir=’${prefix}/var’
mandir=’${datarootdir}/man’
oldincludedir=’/usr/include’
pdfdir=’${docdir}‘
prefix=‘NONE’
program_transform_name=‘s,x,x,‘
psdir=’${docdir}‘
sbindir=’${exec_prefix}/sbin’
sharedstatedir=’${prefix}/com’
sysconfdir=’${prefix}/etc’
target_alias=’’
-----------
confdefs.h.
-----------
#define PACKAGE_NAME “”
#define PACKAGE_TARNAME “”
#define PACKAGE_VERSION “”
#define PACKAGE_STRING “”
#define PACKAGE_BUGREPORT “”
#define _GNU_SOURCE 1
configure: exit 1[/img][/code]