cross-ng building trys to copy files to '/' ?
narkewoody@gmail.com
narkewoody@gmail.com
Wed Jan 8 14:33:00 GMT 2014
Hi,
I am building ARM toolchain using cross-ng on my Slackware Linux PC.
I've tried 1.17 and 1.18 - the two most recent release, but met the same
error in building (ct-ng build). It seems, cross-ng was trying to
install some header files into my /usr/include and then failed because
it was not running as root.
Can anyone help me? Below is the output:
...
[ALL ] mv -f /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.makeT /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.make
[ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
[ALL ] make[2]: Entering directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
[ALL ] /home/woody/work/cross-ng.build/1.17.0/.build/tools/bin/install -c -m 644 include/limits.h /usr/include/limits.h
[ALL ] /usr/bin/ginstall: cannot remove '/usr/include/limits.h': Permission denied
[ERROR] make[2]: *** [/usr/include/limits.h] Error 1
[ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9'
[ERROR] make[1]: *** [install-headers] Error 2
[ALL ] make[1]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles'
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing C library headers & start files'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258]
[ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@384]
...
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list