FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-08-2011, 09:36 PM
Mick
 
Default Cloned partition won't emerge some packages

I used:

tar -X file.list -lcvSf - . | (cd /new_gentoo_partition; tar -xpvf - )

to clone a gentoo / partition to another partition on the same disk (I
want to run some tests from it).

The file.list has this is in it:

tmp/*
proc/*
sys/*
dev/*
etc/mtab
usr/portage/distfiles/*


However, I can't emerge some packages from it like gcc or subversion ...

This is what gcc shows:
=============================
checking for suffix of executables... yes
checking whether i686-pc-linux-gnu-gcc accepts -g...
checking for suffix of object files...
checking for suffix of object files... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... none needed
no
checking for _LARGE_FILES value needed for large files... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files...
checking build system type... i686-pc-linux-gnu
no
checking host system type... checking how to run the C preprocessor...
i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for library containing strerror... no
checking for _LARGE_FILES value needed for large files... none required
checking how to run the C preprocessor... no
checking how to run the C preprocessor... /lib/cpp
configure: error: in
`/var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/build/build-i686-pc-linux-gnu/libiberty':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
/lib/cpp
/lib/cpp
configure: error: in `/var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/build/intl':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-build-libiberty] Error 1
make[2]: *** Waiting for unfinished jobs....
configure: error: in
`/var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/build/libiberty':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-intl] Error 1
make[2]: *** [configure-stage1-libiberty] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
* ERROR: sys-devel/gcc-4.4.4-r2 failed:
* emake failed with bootstrap-lean
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4988: Called toolchain_src_compile
* environment, line 5583: Called gcc_src_compile
* environment, line 3138: Called gcc_do_make
* environment, line 2925: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
|| die "emake failed with ${GCC_MAKE_TARGET}";
*
* If you need support, post the output of 'emerge --info
=sys-devel/gcc-4.4.4-r2',
=============================

I don't understand what this is about: "configure: error: C
preprocessor "/lib/cpp" fails sanity check"

I attach the config.log which has some errors in it.

Have you come across anything like this in your travels?

I don't really know what's wrong with the cloned system or how to fix it. :-(
--
Regards,
Mick
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

$ /var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/gcc-4.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.4/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 4.4.4-r2 p1.3, pie-0.4.5

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

hostname = compaq
uname -m = i686
uname -r = 2.6.36-gentoo-r5
uname -s = Linux
uname -v = #2 SMP PREEMPT Sat Jan 1 13:52:32 GMT 2011

/usr/bin/uname -p = Intel(R) Pentium(R) 4 CPU 3.40GHz
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib/ccache/bin
PATH: /usr/lib/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.4.4
PATH: /opt/ICAClient


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

configure:1568: checking build system type
configure:1586: result: i686-pc-linux-gnu
configure:1621: checking host system type
configure:1635: result: i686-pc-linux-gnu
configure:1643: checking target system type
configure:1657: result: i686-pc-linux-gnu
configure:1701: checking for a BSD-compatible install
configure:1767: result: /usr/bin/install -c
configure:1778: checking whether ln works
configure:1800: result: yes
configure:1804: checking whether ln -s works
configure:1808: result: yes
configure:2988: checking for i686-pc-linux-gnu-gcc
configure:3004: found /usr/lib/ccache/bin/i686-pc-linux-gnu-gcc
configure:3014: result: i686-pc-linux-gnu-gcc
configure:3298: checking for C compiler version
configure:3301: i686-pc-linux-gnu-gcc --version </dev/null >&5
i686-pc-linux-gnu-gcc (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4
Copyright (C) 2010 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:3304: $? = 0
configure:3306: i686-pc-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.4.4-r2/work/gcc-4.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.4/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.4-r2 p1.2, pie-0.4.5'
Thread model: posix
gcc version 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5)
configure:3309: $? = 0
configure:3311: i686-pc-linux-gnu-gcc -V </dev/null >&5
i686-pc-linux-gnu-gcc: '-V' option must have argument
configure:3314: $? = 1
configure:3337: checking for C compiler default output file name
configure:3340: i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
configure:3343: $? = 0
configure:3391: result: a.out
configure:3396: checking whether the C compiler works
configure:3402: ./a.out
configure:3405: $? = 0
configure:3424: result: yes
configure:3431: checking whether we are cross compiling
configure:3433: result: no
configure:3436: checking for suffix of executables
configure:3438: i686-pc-linux-gnu-gcc -o conftest -O2 -march=prescott -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
configure:3441: $? = 0
configure:3468: result:
configure:3474: checking for suffix of object files
configure:3495: i686-pc-linux-gnu-gcc -c -O2 -march=prescott -pipe conftest.c >&5
configure:3498: $? = 0
configure:3522: result: o
configure:3526: checking whether we are using the GNU C compiler
configure:3550: i686-pc-linux-gnu-gcc -c -O2 -march=prescott -pipe conftest.c >&5
configure:3556: $? = 0
configure:3560: test -z
|| test ! -s conftest.err
configure:3563: $? = 0
configure:3566: test -s conftest.o
configure:3569: $? = 0
configure:3582: result: yes
configure:3588: checking whether i686-pc-linux-gnu-gcc accepts -g
configure:3609: i686-pc-linux-gnu-gcc -c -g conftest.c >&5
configure:3615: $? = 0
configure:3619: test -z
|| test ! -s conftest.err
configure:3622: $? = 0
configure:3625: test -s conftest.o
configure:3628: $? = 0
configure:3639: result: yes
configure:3656: checking for i686-pc-linux-gnu-gcc option to accept ANSI C
configure:3726: i686-pc-linux-gnu-gcc -c -O2 -march=prescott -pipe conftest.c >&5
In file included from /usr/include/stdio.h:28,
from conftest.c:10:
/usr/include/features.h:347:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:10:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/stddef.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from conftest.c:10:
/usr/include/stdio.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/stdio.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__USING_NAMESPACE_STD'
In file included from /usr/include/stdio.h:75,
from conftest.c:10:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h: In function '_IO_feof':
/usr/include/libio.h:462: error: expected declaration specifiers before '__THROW'
/usr/include/libio.h:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:465: error: storage class specified for parameter '_IO_peekc_locked'
/usr/include/libio.h:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:491: error: storage class specified for parameter '_IO_vfscanf'
/usr/include/libio.h:493: error: storage class specified for parameter '_IO_vfprintf'
/usr/include/libio.h:494: error: storage class specified for parameter '_IO_padn'
/usr/include/libio.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:497: error: storage class specified for parameter '_IO_seekoff'
/usr/include/libio.h:498: error: storage class specified for parameter '_IO_seekpos'
/usr/include/libio.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
In file included from conftest.c:10:
/usr/include/stdio.h:89: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:95: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:10:
/usr/include/stdio.h:146: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:147: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:153: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:158: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:166: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:187: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:209: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:219: error: expected ')' before '*' token
/usr/include/stdio.h:220: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:243: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:272: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:306: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:313: error: expected ')' before '*' token
/usr/include/stdio.h:315: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:324: error: expected ')' before '*' token
/usr/include/stdio.h:328: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:339: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:348: error: expected ')' before '*' token
/usr/include/stdio.h:354: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:358: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:370: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:398: error: storage class specified for parameter 'dprintf'
/usr/include/stdio.h:402: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:434: error: expected ')' before '*' token
/usr/include/stdio.h:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:445: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:462: error: storage class specified for parameter 'vscanf'
/usr/include/stdio.h:462: error: expected ',' or ';' before '__wur'
/usr/include/stdio.h:467: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:490: error: expected ')' before '*' token
/usr/include/stdio.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:504: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:514: error: expected ')' before '*' token
/usr/include/stdio.h:520: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:521: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:533: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:543: error: expected ')' before '*' token
/usr/include/stdio.h:547: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:556: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:556: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:562: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:563: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:584: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:584: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:585: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:592: error: expected ')' before '*' token
/usr/include/stdio.h:595: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:595: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:599: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:612: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:613: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:643: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:643: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:653: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:657: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:668: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:675: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:675: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:690: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:717: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:727: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected ')' before '*' token
/usr/include/stdio.h:733: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:751: error: expected ')' before '*' token
/usr/include/stdio.h:765: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:776: error: expected ')' before '*' token
/usr/include/stdio.h:788: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:801: error: expected ')' before '*' token
/usr/include/stdio.h:803: error: expected ')' before '*' token
/usr/include/stdio.h:804: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:809: error: expected ')' before '*' token
/usr/include/stdio.h:810: error: expected ')' before '*' token
/usr/include/stdio.h:814: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:820: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:826,
from conftest.c:10:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:10:
/usr/include/stdio.h:831: error: expected ')' before '*' token
/usr/include/stdio.h:836: error: expected ')' before '*' token
/usr/include/stdio.h:846: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:852: error: expected ')' before '*' token
/usr/include/stdio.h:858: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:886: error: expected ')' before '*' token
/usr/include/stdio.h:890: error: expected ')' before '*' token
/usr/include/stdio.h:893: error: expected ')' before '*' token
/usr/include/stdio.h:916: error: expected declaration specifiers before '__END_DECLS'
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:14: error: expected declaration specifiers before ';' token
conftest.c:15: error: expected declaration specifiers before 'FILE'
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/libio.h:462: error: old-style parameter declarations in prototyped function definition
conftest.c:20: error: 'p' undeclared (first use in this function)
conftest.c:20: error: (Each undeclared identifier is reported only once
conftest.c:20: error: for each function it appears in.)
conftest.c:20: error: 'i' undeclared (first use in this function)
conftest.c: At top level:
conftest.c:44: error: expected declaration specifiers or '...' before 'FILE'
conftest.c: In function 'main':
conftest.c:50: error: 'e' undeclared (first use in this function)
configure:3732: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* 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 -std1 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 -std1. */
| int osf4_cc_array ['x00' == 0 ? 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:3726: i686-pc-linux-gnu-gcc -qlanglvl=ansi -c -O2 -march=prescott -pipe conftest.c >&5
i686-pc-linux-gnu-gcc: unrecognized option '-qlanglvl=ansi'
In file included from /usr/include/stdio.h:28,
from conftest.c:10:
/usr/include/features.h:347:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:10:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/stddef.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from conftest.c:10:
/usr/include/stdio.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/stdio.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__USING_NAMESPACE_STD'
In file included from /usr/include/stdio.h:75,
from conftest.c:10:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h: In function '_IO_feof':
/usr/include/libio.h:462: error: expected declaration specifiers before '__THROW'
/usr/include/libio.h:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:465: error: storage class specified for parameter '_IO_peekc_locked'
/usr/include/libio.h:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:491: error: storage class specified for parameter '_IO_vfscanf'
/usr/include/libio.h:493: error: storage class specified for parameter '_IO_vfprintf'
/usr/include/libio.h:494: error: storage class specified for parameter '_IO_padn'
/usr/include/libio.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:497: error: storage class specified for parameter '_IO_seekoff'
/usr/include/libio.h:498: error: storage class specified for parameter '_IO_seekpos'
/usr/include/libio.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
In file included from conftest.c:10:
/usr/include/stdio.h:89: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:95: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:10:
/usr/include/stdio.h:146: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:147: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:153: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:158: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:166: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:187: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:209: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:219: error: expected ')' before '*' token
/usr/include/stdio.h:220: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:243: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:272: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:306: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:313: error: expected ')' before '*' token
/usr/include/stdio.h:315: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:324: error: expected ')' before '*' token
/usr/include/stdio.h:328: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:339: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:348: error: expected ')' before '*' token
/usr/include/stdio.h:354: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:358: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:370: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:398: error: storage class specified for parameter 'dprintf'
/usr/include/stdio.h:402: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:434: error: expected ')' before '*' token
/usr/include/stdio.h:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:445: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:462: error: storage class specified for parameter 'vscanf'
/usr/include/stdio.h:462: error: expected ',' or ';' before '__wur'
/usr/include/stdio.h:467: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:490: error: expected ')' before '*' token
/usr/include/stdio.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:504: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:514: error: expected ')' before '*' token
/usr/include/stdio.h:520: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:521: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:533: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:543: error: expected ')' before '*' token
/usr/include/stdio.h:547: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:556: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:556: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:562: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:563: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:584: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:584: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:585: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:592: error: expected ')' before '*' token
/usr/include/stdio.h:595: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:595: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:599: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:612: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:613: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:643: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:643: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:653: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:657: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:668: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:675: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:675: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:690: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:717: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:727: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected ')' before '*' token
/usr/include/stdio.h:733: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:751: error: expected ')' before '*' token
/usr/include/stdio.h:765: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:776: error: expected ')' before '*' token
/usr/include/stdio.h:788: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:801: error: expected ')' before '*' token
/usr/include/stdio.h:803: error: expected ')' before '*' token
/usr/include/stdio.h:804: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:809: error: expected ')' before '*' token
/usr/include/stdio.h:810: error: expected ')' before '*' token
/usr/include/stdio.h:814: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:820: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:826,
from conftest.c:10:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:10:
/usr/include/stdio.h:831: error: expected ')' before '*' token
/usr/include/stdio.h:836: error: expected ')' before '*' token
/usr/include/stdio.h:846: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:852: error: expected ')' before '*' token
/usr/include/stdio.h:858: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:886: error: expected ')' before '*' token
/usr/include/stdio.h:890: error: expected ')' before '*' token
/usr/include/stdio.h:893: error: expected ')' before '*' token
/usr/include/stdio.h:916: error: expected declaration specifiers before '__END_DECLS'
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:14: error: expected declaration specifiers before ';' token
conftest.c:15: error: expected declaration specifiers before 'FILE'
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/libio.h:462: error: old-style parameter declarations in prototyped function definition
conftest.c:20: error: 'p' undeclared (first use in this function)
conftest.c:20: error: (Each undeclared identifier is reported only once
conftest.c:20: error: for each function it appears in.)
conftest.c:20: error: 'i' undeclared (first use in this function)
conftest.c: At top level:
conftest.c:44: error: expected declaration specifiers or '...' before 'FILE'
conftest.c: In function 'main':
conftest.c:50: error: 'e' undeclared (first use in this function)
configure:3732: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* 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 -std1 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 -std1. */
| int osf4_cc_array ['x00' == 0 ? 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:3726: i686-pc-linux-gnu-gcc -std1 -c -O2 -march=prescott -pipe conftest.c >&5
cc1: error: unrecognized command line option "-std1"
configure:3732: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* 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 -std1 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 -std1. */
| int osf4_cc_array ['x00' == 0 ? 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:3726: i686-pc-linux-gnu-gcc -Ae -c -O2 -march=prescott -pipe conftest.c >&5
<command-line>: error: missing '(' after predicate
In file included from /usr/include/stdio.h:28,
from conftest.c:10:
/usr/include/features.h:347:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:10:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/stddef.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from conftest.c:10:
/usr/include/stdio.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/stdio.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__USING_NAMESPACE_STD'
In file included from /usr/include/stdio.h:75,
from conftest.c:10:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h: In function '_IO_feof':
/usr/include/libio.h:462: error: expected declaration specifiers before '__THROW'
/usr/include/libio.h:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:465: error: storage class specified for parameter '_IO_peekc_locked'
/usr/include/libio.h:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:491: error: storage class specified for parameter '_IO_vfscanf'
/usr/include/libio.h:493: error: storage class specified for parameter '_IO_vfprintf'
/usr/include/libio.h:494: error: storage class specified for parameter '_IO_padn'
/usr/include/libio.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:497: error: storage class specified for parameter '_IO_seekoff'
/usr/include/libio.h:498: error: storage class specified for parameter '_IO_seekpos'
/usr/include/libio.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
In file included from conftest.c:10:
/usr/include/stdio.h:89: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:95: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:10:
/usr/include/stdio.h:146: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:147: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:153: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:158: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:166: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:187: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:209: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:219: error: expected ')' before '*' token
/usr/include/stdio.h:220: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:243: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:272: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:306: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:313: error: expected ')' before '*' token
/usr/include/stdio.h:315: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:324: error: expected ')' before '*' token
/usr/include/stdio.h:328: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:339: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:348: error: expected ')' before '*' token
/usr/include/stdio.h:354: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:358: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:370: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:398: error: storage class specified for parameter 'dprintf'
/usr/include/stdio.h:402: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:434: error: expected ')' before '*' token
/usr/include/stdio.h:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:445: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:462: error: storage class specified for parameter 'vscanf'
/usr/include/stdio.h:462: error: expected ',' or ';' before '__wur'
/usr/include/stdio.h:467: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:490: error: expected ')' before '*' token
/usr/include/stdio.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:504: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:514: error: expected ')' before '*' token
/usr/include/stdio.h:520: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:521: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:533: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:543: error: expected ')' before '*' token
/usr/include/stdio.h:547: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:556: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:556: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:562: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:563: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:584: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:584: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:585: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:592: error: expected ')' before '*' token
/usr/include/stdio.h:595: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:595: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:599: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:612: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:613: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:643: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:643: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:653: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:657: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:668: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:675: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:675: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:690: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:717: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:727: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected ')' before '*' token
/usr/include/stdio.h:733: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:751: error: expected ')' before '*' token
/usr/include/stdio.h:765: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:776: error: expected ')' before '*' token
/usr/include/stdio.h:788: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:801: error: expected ')' before '*' token
/usr/include/stdio.h:803: error: expected ')' before '*' token
/usr/include/stdio.h:804: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:809: error: expected ')' before '*' token
/usr/include/stdio.h:810: error: expected ')' before '*' token
/usr/include/stdio.h:814: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:820: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:826,
from conftest.c:10:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:10:
/usr/include/stdio.h:831: error: expected ')' before '*' token
/usr/include/stdio.h:836: error: expected ')' before '*' token
/usr/include/stdio.h:846: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:852: error: expected ')' before '*' token
/usr/include/stdio.h:858: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:886: error: expected ')' before '*' token
/usr/include/stdio.h:890: error: expected ')' before '*' token
/usr/include/stdio.h:893: error: expected ')' before '*' token
/usr/include/stdio.h:916: error: expected declaration specifiers before '__END_DECLS'
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:14: error: expected declaration specifiers before ';' token
conftest.c:15: error: expected declaration specifiers before 'FILE'
conftest.c:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/libio.h:462: error: old-style parameter declarations in prototyped function definition
conftest.c:20: error: 'p' undeclared (first use in this function)
conftest.c:20: error: (Each undeclared identifier is reported only once
conftest.c:20: error: for each function it appears in.)
conftest.c:20: error: 'i' undeclared (first use in this function)
conftest.c: At top level:
conftest.c:44: error: expected declaration specifiers or '...' before 'FILE'
conftest.c: In function 'main':
conftest.c:50: error: 'e' undeclared (first use in this function)
configure:3732: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* 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 -std1 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 -std1. */
| int osf4_cc_array ['x00' == 0 ? 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:3726: i686-pc-linux-gnu-gcc -Aa -D_HPUX_SOURCE -c -O2 -march=prescott -pipe conftest.c >&5
<command-line>: error: missing '(' after predicate
In file included from /usr/include/stdio.h:28,
from conftest.c:10:
/usr/include/features.h:347:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:10:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/include/stddef.h:211: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from conftest.c:10:
/usr/include/stdio.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/stdio.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__USING_NAMESPACE_STD'
In file included from /usr/include/stdio.h:75,
from conftest.c:10:
/usr/include/libio.h:332: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:364: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:373: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h: In function '_IO_feof':
/usr/include/libio.h:462: error: expected declaration specifiers before '__THROW'
/usr/include/libio.h:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:465: error: storage class specified for parameter '_IO_peekc_locked'
/usr/include/libio.h:471: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:491: error: storage class specified for parameter '_IO_vfscanf'
/usr/include/libio.h:493: error: storage class specified for parameter '_IO_vfprintf'
/usr/include/libio.h:494: error: storage class specified for parameter '_IO_padn'
/usr/include/libio.h:495: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:497: error: storage class specified for parameter '_IO_seekoff'
/usr/include/libio.h:498: error: storage class specified for parameter '_IO_seekpos'
/usr/include/libio.h:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
In file included from conftest.c:10:
/usr/include/stdio.h:89: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:95: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:10:
/usr/include/stdio.h:146: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:147: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:153: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:158: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:166: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:187: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:205: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:209: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:219: error: expected ')' before '*' token
/usr/include/stdio.h:220: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:243: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:255: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:272: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:306: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:313: error: expected ')' before '*' token
/usr/include/stdio.h:315: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:324: error: expected ')' before '*' token
/usr/include/stdio.h:328: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:339: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:342: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:348: error: expected ')' before '*' token
/usr/include/stdio.h:354: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:358: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:367: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:369: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:370: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:398: error: storage class specified for parameter 'dprintf'
/usr/include/stdio.h:402: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:413: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:416: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:434: error: expected ')' before '*' token
/usr/include/stdio.h:436: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:438: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:445: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:462: error: storage class specified for parameter 'vscanf'
/usr/include/stdio.h:462: error: expected ',' or ';' before '__wur'
/usr/include/stdio.h:467: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:490: error: expected ')' before '*' token
/usr/include/stdio.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:497: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:504: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:514: error: expected ')' before '*' token
/usr/include/stdio.h:520: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:521: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:533: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:543: error: expected ')' before '*' token
/usr/include/stdio.h:547: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:556: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:556: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:562: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:563: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:584: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:584: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:585: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:592: error: expected ')' before '*' token
/usr/include/stdio.h:595: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:595: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:599: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:612: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:613: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:642: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:643: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:643: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:652: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:653: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:653: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:657: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:668: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:675: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:675: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:682: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:688: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:690: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:717: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:727: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected ')' before '*' token
/usr/include/stdio.h:733: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:751: error: expected ')' before '*' token
/usr/include/stdio.h:765: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:776: error: expected ')' before '*' token
/usr/include/stdio.h:788: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:801: error: expected ')' before '*' token
/usr/include/stdio.h:803: error: expected ')' before '*' token
/usr/include/stdio.h:804: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:809: error: expected ')' before '*' token
/usr/include/stdio.h:810: error: expected ')' before '*' token
/usr/include/stdio.h:814: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:820: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:826,
from conftest.c:10:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:10:
/usr/include/stdio.h:831: error: expected ')' before '*' token
/usr/include/stdio.h:836: error: expected ')' before '*' token
/usr/include/stdio.h:846: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:852: error: expected ')' before '*' token
/usr/include/stdio.h:858: error: expe
 

Thread Tools




All times are GMT. The time now is 07:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org