This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readv.c:45:26: error: argument 'vector' doesn't match prototype


Hi,

still trying to compile this crosscompiler for powerpc32 on a openSUSE 
x86_64 system. Building the same target (with the same .config) builds 
fine on a Debian system, but fails on this openSUSE box:

--------
[ALL  ]    ../sysdeps/unix/sysv/linux/readv.c: In function '__libc_readv':
[ERROR]    ../sysdeps/unix/sysv/linux/readv.c:45:26: error: argument 'vector' doesn't match prototype
[ERROR]    ../include/sys/uio.h:7:16: error: prototype declaration
[ALL  ]    ../sysdeps/unix/sysv/linux/readv.c: At top level:
[ERROR]    ../sysdeps/unix/sysv/linux/readv.c:71:1: error: conflicting types for 'readv'
[ALL  ]    ../misc/sys/uio.h:40:16: note: previous declaration of 'readv' was here
[ERROR]    make[3]: *** [/var/tmp/ctng/build/powerpc-unknown-linux-gnu/build/build-libc-final/misc/readv.o] Error 1
[ALL  ]    make[3]: *** Waiting for unfinished jobs....
[ALL  ]    make[3]: Leaving directory `/var/tmp/ctng/build/src/glibc-2.14.1/misc'
[ERROR]    make[2]: *** [misc/subdir_lib] Error 2
[ALL  ]    make[2]: Leaving directory `/var/tmp/ctng/build/src/glibc-2.14.1'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory `/var/tmp/ctng/build/powerpc-unknown-linux-gnu/build/build-libc-final'
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library'
[ERROR]  >>        called in step '(top-level)' 
--------

I'll put the .config, build.log and some more details here:

   http://nerdbynature.de/bits/crosstool-ng/1.16.0

Christian.
-- 
BOFH excuse #128:

Power Company having EMP problems with their reactor

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]