LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-11-2008, 04:14 AM   #1
Danielle3
LQ Newbie
 
Registered: Oct 2008
Location: Tampa, FL
Distribution: Foresight GNOME
Posts: 2

Rep: Reputation: 0
Question configure: error: C preprocessor "/lib/cpp" fails sanity check


I've seen similar questions all over many forums. Hopefully someone will be able to explain to me how I can resolve my error at the least and possibly help me to understand how to troubleshoot this sort of thing in the future.

Anyhow, here is the result after executing the './configure' command:


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


Here is the result of the config.log:

## --------- ##
## Platform. ##
## --------- ##

hostname = Linux_FireFly
uname -m = i686
uname -r = 2.6.25.12-1-fl.smp.gcc4.1.x86.i686
uname -s = Linux
uname -v = #1 SMP Fri Jul 25 13:33:38 EDT 2008

/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/lib/jvm/java-1.6.0-openjdk-1.6.0.0/bin
PATH: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/ucb
PATH: /bin
PATH: /usr/bin
PATH: /etc
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2008: checking for a BSD-compatible install
configure:2064: result: /usr/bin/install -c
configure:2075: checking whether build environment is sane
configure:2118: result: yes
configure:2183: checking for gawk
configure:2199: found /bin/gawk
configure:2210: result: gawk
configure:2221: checking whether make sets $(MAKE)
configure:2242: result: yes
configure:2487: checking for gcc
configure:2503: found /usr/bin/gcc
configure:2514: result: gcc
configure:2752: checking for C compiler version
configure:2759: gcc --version >&5
gcc (GCC) 4.1.2 20070626 (rPath Inc.)

[snip]

configure:3237: checking for gcc option to accept ISO C89
configure:3311: gcc -c -g -O2 conftest.c >&5
conftest.c:10:20: error: stdarg.h: No such file or directory
In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -qlanglvl=extc89 -c -g -O2 conftest.c >&5
gcc: unrecognized option '-qlanglvl=extc89'
conftest.c:10:20: error: stdarg.h: No such file or directory
In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -qlanglvl=ansi -c -g -O2 conftest.c >&5
gcc: unrecognized option '-qlanglvl=ansi'
conftest.c:10:20: error: stdarg.h: No such file or directory
In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -std -c -g -O2 conftest.c >&5
cc1: error: unrecognized command line option "-std"
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -Ae -c -g -O2 conftest.c >&5
<command line>:1:2: error: missing '(' after predicate
conftest.c:10:20: error: stdarg.h: No such file or directory

In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -Aa -D_HPUX_SOURCE -c -g -O2 conftest.c >&5
<command line>:1:2: error: missing '(' after predicate
conftest.c:10:20: error: stdarg.h: No such file or directory
In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]

configure:3311: gcc -Xc -D__EXTENSIONS__ -c -g -O2 conftest.c >&5
gcc: unrecognized option '-Xc'
conftest.c:10:20: error: stdarg.h: No such file or directory
In file included from conftest.c:11:
/usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:11:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:482: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:484: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from conftest.c:11:
/usr/include/stdio.h:308: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:315: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:343: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:348: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:351: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:357: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:359: error: format string argument not a string type
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:362: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from /usr/include/stdio.h:835,
from conftest.c:11:
/usr/include/bits/stdio.h:34: error: expected declaration specifiers or '...' before '__gnuc_va_list'
/usr/include/bits/stdio.h: In function 'vprintf':
/usr/include/bits/stdio.h:36: error: '__arg' undeclared (first use in this function)
/usr/include/bits/stdio.h:36: error: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:36: error: for each function it appears in.)
/usr/include/bits/stdio.h:36: error: too many arguments to function 'vfprintf'
conftest.c: In function 'f':
conftest.c:26: error: 'va_list' undeclared (first use in this function)
conftest.c:26: error: expected ';' before 'v'
conftest.c:27: error: 'v' undeclared (first use in this function)
conftest.c:28: error: expected expression before 'int'
configure:3317: $? = 1
configure: failed program was:
| /* confdefs.h. */

[snip]
 
Old 10-11-2008, 07:22 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Welcome to LQ.

You could start with the obvious missing things.
"missing stddef.h" > > = 'linux-headers' ?
( kernel-headers ? )

And check if 'glibc-devel' = 'libc6-dev' is installed.

How to ask a question ? It is appreciated that you
inform about the Linux system used every time a question
is asked.
And which program produced the config log ??
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.linuxquestions.org/linux/...Ask_a_Question

Regards
 
Old 10-11-2008, 02:56 PM   #3
Danielle3
LQ Newbie
 
Registered: Oct 2008
Location: Tampa, FL
Distribution: Foresight GNOME
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your prompt reply.

I really liked the links you provided on "How to ask a question". I can certainly make use of that in other places as well.

Regarding the Distro. I am using Foresight Linux v. 2.0.5 Foresight Linux I also found this link on the forum however it seems quite outdated on the version. LQ Foresight Review As far as the software that I am trying to install currently, it is Dropbox

I reviewed the specific packages that you mentioned in your post and I am unable to locate any of them for install. I have ensured that I have almost every possible package of the 'gcc' and others mentioned via other posts in this forum.

Is there another way I can download the necessary packages using the command line? It is 'sudo conary install/update 'package'' however, I am not sure where they can be located or if I must download the source and again compile it. If this is the case, I can do that if you can help me to locate the necessary source packages.

Again, thank you for your assistance.

Danielle <==
 
Old 10-17-2008, 02:02 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Foresight is probably not the best choice for a
developing system. On Foresight 2 I could not even
install a gcc, and packages ready to install from
the Foresight site is less than 10 !! ??

I think Foresight is meant just to be an easy to
use OS, with the applications already installed.

There is a build-tool ( to help emerge / build
applications), it wouldn't install too.

Suggest : Use another Linux OS, anything else
from top 10.

Regards
 
Old 10-28-2009, 08:29 PM   #5
JohnWelborn
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Please see this wiki page for the commands to setup your appropriate build environment with Foresight:

https://wiki.foresightlinux.org/disp...ld+environment
 
  


Reply

Tags
check, error, libcpp, sanity


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C++ preprocessor "/lib/cpp" fails sanity check Mugatu Linux - Software 52 05-31-2012 11:27 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check hagdanan Linux - Newbie 3 05-02-2008 04:55 AM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check the1wraith Linux - Software 1 02-18-2007 02:55 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check HELP Ckesey Linux - Newbie 3 10-04-2004 02:58 PM
configure: error: C++ preprocessor "/lib/cpp" fails sanity check raela Linux - Software 6 03-16-2004 06:59 PM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration