You are not logged in.
Pages: 1
every ./configure ends with:
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
my config.log:
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.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = namai
uname -m = i686
uname -r = 2.6.14-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Nov 2 13:35:46 CET 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /opt/bin
PATH: /opt/kde/bin
PATH: /opt/mozilla/bin
PATH: /opt/qt/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1540: checking for a BSD-compatible install
configure:1595: result: /bin/install -c
configure:1606: checking whether build environment is sane
configure:1649: result: yes
configure:1664: checking whether make sets $(MAKE)
configure:1684: result: yes
configure:1716: checking for working aclocal-1.4
configure:1727: result: missing
configure:1731: checking for working autoconf
configure:1738: result: found
configure:1746: checking for working automake-1.4
configure:1757: result: missing
configure:1761: checking for working autoheader
configure:1768: result: found
configure:1776: checking for working makeinfo
configure:1787: result: missing
configure:1845: checking for gcc
configure:1861: found /usr/bin/gcc
configure:1871: result: gcc
configure:2115: checking for C compiler version
configure:2118: gcc --version </dev/null >&5
gcc (GCC) 4.0.3 20051006 (prerelease)
Copyright (C) 2005 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:2121: $? = 0
configure:2123: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0-20051006/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --enable-shared --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 4.0.3 20051006 (prerelease)
configure:2126: $? = 0
configure:2128: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2131: $? = 1
configure:2154: checking for C compiler default output file name
configure:2157: gcc conftest.c >&5
configure:2160: $? = 0
configure:2206: result: a.out
configure:2211: checking whether the C compiler works
configure:2217: ./a.out
configure:2220: $? = 0
configure:2237: result: yes
configure:2244: checking whether we are cross compiling
configure:2246: result: no
configure:2249: checking for suffix of executables
configure:2251: gcc -o conftest conftest.c >&5
configure:2254: $? = 0
configure:2279: result:
configure:2285: checking for suffix of object files
configure:2306: gcc -c conftest.c >&5
configure:2309: $? = 0
configure:2331: result: o
configure:2335: checking whether we are using the GNU C compiler
configure:2359: gcc -c conftest.c >&5
configure:2365: $? = 0
configure:2368: test -z || test ! -s conftest.err
configure:2371: $? = 0
configure:2374: test -s conftest.o
configure:2377: $? = 0
configure:2390: result: yes
configure:2396: checking whether gcc accepts -g
configure:2417: gcc -c -g conftest.c >&5
configure:2423: $? = 0
configure:2426: test -z || test ! -s conftest.err
configure:2429: $? = 0
configure:2432: test -s conftest.o
configure:2435: $? = 0
configure:2446: result: yes
configure:2463: checking for gcc option to accept ANSI C
configure:2533: gcc -c -g -O2 conftest.c >&5
configure:2539: $? = 0
configure:2542: test -z || test ! -s conftest.err
configure:2545: $? = 0
configure:2548: test -s conftest.o
configure:2551: $? = 0
configure:2569: result: none needed
configure:2587: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2593: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2801: checking build system type
configure:2819: result: i686-pc-linux-gnu
configure:2827: checking host system type
configure:2841: result: i686-pc-linux-gnu
configure:2849: checking for a sed that does not truncate output
configure:2903: result: /bin/sed
configure:2906: checking for egrep
configure:2916: result: grep -E
configure:2932: checking for ld used by gcc
configure:2999: result: /usr/bin/ld
configure:3008: checking if the linker (/usr/bin/ld) is GNU ld
configure:3023: result: yes
configure:3028: checking for /usr/bin/ld option to reload object files
configure:3035: result: -r
configure:3044: checking for BSD-compatible nm
configure:3086: result: /usr/bin/nm -B
configure:3090: checking whether ln -s works
configure:3094: result: yes
configure:3101: checking how to recognise dependent libraries
configure:3275: result: pass_all
configure:3488: checking how to run the C preprocessor
configure:3523: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3523: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3523: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:315,
from /usr/include/assert.h:37,
from conftest.c:15:
/usr/include/sys/cdefs.h:31: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3523: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:315,
from /usr/include/assert.h:37,
from conftest.c:15:
/usr/include/sys/cdefs.h:31: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3523: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3523: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3529: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3606: result: /lib/cpp
configure:3630: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3636: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3630: /lib/cpp conftest.c
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:144,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:122,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/syslimits.h:7,
from /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/limits.h:11,
from conftest.c:12:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
configure:3636: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "p2kmoto"
| #define VERSION "0.1"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:3705: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_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_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='/home/username/Desktop/p2kmoto-0.1-rc1/p2kmoto-0.1/missing aclocal-1.4'
AR=''
AUTOCONF='autoconf'
AUTOHEADER='autoheader'
AUTOMAKE='/home/username/Desktop/p2kmoto-0.1-rc1/p2kmoto-0.1/missing automake-1.4'
CC='gcc'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='/home/username/Desktop/p2kmoto-0.1-rc1/p2kmoto-0.1/missing makeinfo'
OBJEXT='o'
PACKAGE='p2kmoto'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.1'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "p2kmoto"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.1"
configure: exit 1
Any help would be appreciated
Offline
Seems you are missing parts from glibc, the limits.h headerfiles are included in glibc, which comes from the linux-libc-headers project.
Offline
Seems you are missing parts from glibc, the limits.h headerfiles are included in glibc, which comes from the linux-libc-headers project.
Something's wrong:
[root@namai moto4lin]# pacman -S glibc
:: glibc-2.3.5-6: is up to date. Upgrade anyway? [Y/n]
Targets: glibc-2.3.5-6
Total Package Size: 20.9 MB
Proceed with upgrade? [Y/n]
checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
upgrading glibc...
could not extract usr/include/linux/: No such file or directory
could not extract usr/include/linux/byteorder/: No such file or directory
could not extract usr/include/linux/byteorder/big_endian.h: No such file or directory
errors occurred while upgrading glibc
done.
Offline
did you try removing the package out of your cache before reinstalling? It should be located at /var/cache/pacman/pkg/glibc-2.3.5-6.pkg.tar.gz
Offline
Now i have other error:
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
Offline
Offline
Try removing gcc from the cache and reinstalling that too.
It didn't worked, i still have that error :?
Offline
Thats really weird that it gives you an error that gcc "cannot create executables".
Try this to test to make sure:
1) Create a file that contains this:
#include <stdio.h>
int main()
{
printf("Hello Worldn");
return 0;
}
2) Compile it:
gcc hello.c -o hello
3) Run it
./hello
4) It should display "Hello World" if everything worked right.
If this works, then gcc can create executables and the error might be somewhere else...
Offline
Are you using Reiser4? I switched to Reiser4 recently, but it made really weird things like that happen, because it wasn't creating all of the files properly I think. Oh yeah, and another time I got loads of insane stuff happening also similar to that, I opened my case and gave all the cards a wiggle to make sure they were in properly and that fixed it.
Something to try would be booting up a livecd, compile some stuff and see if you still get problems there.
Offline
I'm using JFS and gcc-4.0.2-2.
[...@... ~]$ gcc hello.c -o hello
In file included from hello.c:1:
/usr/include/stdio.h:28:23: error: features.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from hello.c:1:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h:214: error: syntax error before 'typedef'
In file included from hello.c:1:
/usr/include/stdio.h:46: error: syntax error before 'typedef'
/usr/include/stdio.h:62: error: syntax error before 'typedef'
/usr/include/stdio.h:72:19: error: libio.h: No such file or directory
/usr/include/stdio.h:88: error: syntax error before 'typedef'
In file included from hello.c:1:
/usr/include/stdio.h:142: error: syntax error before 'extern'
/usr/include/stdio.h:154: error: syntax error before 'extern'
/usr/include/stdio.h:154: error: syntax error before '__THROW'
/usr/include/stdio.h:156: error: syntax error before '__THROW'
/usr/include/stdio.h:160: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:166: error: syntax error before 'extern'
/usr/include/stdio.h:180: error: syntax error before '__THROW'
/usr/include/stdio.h:203: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:208: error: syntax error before 'extern'
/usr/include/stdio.h:237: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:243: error: syntax error before 'extern'
/usr/include/stdio.h:296: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:299: error: syntax error before 'extern'
/usr/include/stdio.h:299: error: syntax error before '__THROW'
/usr/include/stdio.h:304: error: syntax error before '__THROW'
/usr/include/stdio.h:318: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:323: error: syntax error before 'extern'
/usr/include/stdio.h:332: error: syntax error before '__THROW'
/usr/include/stdio.h:339: error: syntax error before '_G_va_list'
/usr/include/stdio.h:344: error: syntax error before '_G_va_list'
/usr/include/stdio.h:347: error: syntax error before '_G_va_list'
/usr/include/stdio.h:390: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:395: error: syntax error before 'extern'
/usr/include/stdio.h:396: error: syntax error before '__wur'
/usr/include/stdio.h:401: error: syntax error before '__wur'
/usr/include/stdio.h:404: error: syntax error before '__THROW'
/usr/include/stdio.h:432: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:437: error: syntax error before 'extern'
/usr/include/stdio.h:471: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:479: error: syntax error before 'extern'
/usr/include/stdio.h:523: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:528: error: syntax error before 'extern'
/usr/include/stdio.h:529: error: syntax error before '__wur'
/usr/include/stdio.h:536: error: syntax error before '__wur'
/usr/include/stdio.h:581: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:586: error: syntax error before 'extern'
/usr/include/stdio.h:599: error: syntax error before '__wur'
/usr/include/stdio.h:607: error: syntax error before '__wur'
/usr/include/stdio.h:613: error: syntax error before '__wur'
/usr/include/stdio.h:641: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:646: error: syntax error before 'extern'
/usr/include/stdio.h:651: error: syntax error before '__wur'
/usr/include/stdio.h:689: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:695: error: syntax error before 'extern'
/usr/include/stdio.h:695: error: syntax error before 'fpos_t'
/usr/include/stdio.h:700: error: syntax error before '*' token
/usr/include/stdio.h:721: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:723: error: syntax error before 'extern'
/usr/include/stdio.h:723: error: syntax error before '__THROW'
/usr/include/stdio.h:725: error: syntax error before '__THROW'
/usr/include/stdio.h:727: error: syntax error before '__THROW'
/usr/include/stdio.h:738: error: syntax error before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:743: error: syntax error before 'extern'
In file included from hello.c:1:
/usr/include/stdio.h:837: error: syntax error before '__END_DECLS'
hello.c:3: error: syntax error before 'int'
Offline
Try reinstalling glibc.
Offline
Same error in this location.
When building packages from some AUR (sane) PKGBUILD, it won't finish & print like this (for amsn 0.95-2) :
$ makepkg -bc
==> Entering fakeroot environment
==> Making package: amsn 0.95-2 (mer jan 4 12:30:37 CET 2006)
(...)
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
==> ERROR: Build Failed. Aborting...
Will try reinstall glibc (which is not present in /var/cache/pacman)
compiled & executed 'hello.c' as quoted by jftaylor21 without a glinch.
---
Linux llewellyn 2.6.15-ARCH #1 SMP PREEMPT Tue Jan 3 11:28:36 CET 2006 i686 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
gcc (GCC) 4.0.3 20051222 (prerelease)
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Solved after reinstalled kernel-headers as suggested here: http://bbs.archlinux.org/viewtopic.php?t=21995
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Solved after reinstalled kernel-headers as suggested here: http://bbs.archlinux.org/viewtopic.php?t=21995
Same here. Should this be marked as solved?
Offline
Pages: 1