* [ptxdist] Error while setting up toolchain
@ 2012-08-01 16:52 Dhruv Chawda
2012-08-06 10:38 ` Josef Holzmayr
2012-08-06 16:17 ` ZhangLei
0 siblings, 2 replies; 3+ messages in thread
From: Dhruv Chawda @ 2012-08-01 16:52 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1780 bytes --]
I followed the following steps:
# cd ~/local # sudo mkdir -p /opt/OSELAS.Toolchain-2011.11.1 # sudo chown `whoami` /opt/OSELAS.Toolchain-2011.11.1 # tar zxvf /opt/OSELAS.Toolchain-2011.11.1.tar.bz2 # cd OSELAS.Toolchain-2011.11.1 # ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig # ptxdist go
Version:
OSELAS.Toolchain-2011.11.1 and ptxdist-2012.07.0
Here is what I get after running ptxdist go: Can you guide on this
error? plz help me asap
Error:
————————-
target: host-zlib.install
————————-
make[1]: Entering directory
`/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-host/zlib-1.2.5′
cp libz.a
/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib
cp
/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib
cp: missing destination file operand after
`/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib’
Try `cp –help’ for more information.
make[1]: *** [install-libs] Error 1
make[1]: Leaving directory
`/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-host/zlib-1.2.5′
make: ***
[/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/state/host-zlib.install]
Error 2
Regards,
Dhruv Chawda
[-- Attachment #1.2: Type: text/html, Size: 2759 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Error while setting up toolchain
2012-08-01 16:52 [ptxdist] Error while setting up toolchain Dhruv Chawda
@ 2012-08-06 10:38 ` Josef Holzmayr
2012-08-06 16:17 ` ZhangLei
1 sibling, 0 replies; 3+ messages in thread
From: Josef Holzmayr @ 2012-08-06 10:38 UTC (permalink / raw)
To: ptxdist
Not really sure if it helps, but some thoughts for now:
Am 01.08.2012 18:52, schrieb Dhruv Chawda:
> I followed the following steps:
>
> # cd ~/local
> # sudo mkdir -p /opt/OSELAS.Toolchain-2011.11.1
> # sudo chown `whoami` /opt/OSELAS.Toolchain-2011.11.1
Why are you doing that by hand?
> # tar zxvf /opt/OSELAS.Toolchain-2011.11.1.tar.bz2
> # cd OSELAS.Toolchain-2011.11.1
> # ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
> # ptxdist go
>
>
> Version:
>
> OSELAS.Toolchain-2011.11.1 and ptxdist-2012.07.0
You should better use the correct version for building the toolchain.
Basically that combination should give you a nice big fat warning, which
you probably just "clicked away" by using ptxdist migrate, which in turn
might have broken things.
Check the first few lines of the file
ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
to see which ptxdist version fits the toolchain.
Then grab that version and compile it. No need to install it, just place
a link there and then use it:
(in your un-tar'ed toolchain directory)
ln -s /path/to/where/you/compiled/ptxdist-201x.yy.zz/bin/ptxdist p
./p select
ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
./p go
... and i'd remove the hand-created target directory in /opt first and
let ptxdist do it the way it needs it.
Greetz
_____________________________________________________________
Josef Holzmayr
Dipl-Ing. (FH)
Entwicklung Embedded Devices / Software
Tel.: +49 8444 9204-48>
Fax: +49 8444 9204-50
holzmayr@rsi-elektrotechnik.de
R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Error while setting up toolchain
2012-08-01 16:52 [ptxdist] Error while setting up toolchain Dhruv Chawda
2012-08-06 10:38 ` Josef Holzmayr
@ 2012-08-06 16:17 ` ZhangLei
1 sibling, 0 replies; 3+ messages in thread
From: ZhangLei @ 2012-08-06 16:17 UTC (permalink / raw)
To: ptxdist, Dhruv Chawda
[-- Attachment #1.1: Type: text/plain, Size: 2095 bytes --]
See: www.friendlyarm.net/forum/topic/4443
From: Dhruv Chawda
Sent: Thursday, August 02, 2012 12:52 AM
To: ptxdist@pengutronix.de
Subject: [ptxdist] Error while setting up toolchain
I followed the following steps:
# cd ~/local
# sudo mkdir -p /opt/OSELAS.Toolchain-2011.11.1
# sudo chown `whoami` /opt/OSELAS.Toolchain-2011.11.1
# tar zxvf /opt/OSELAS.Toolchain-2011.11.1.tar.bz2
# cd OSELAS.Toolchain-2011.11.1
# ptxdist select ptxconfigs/arm-v4t-linux-gnueabi_gcc-4.6.2_glibc-2.14.1_binutils-2.21.1a_kernel-2.6.39-sanitized.ptxconfig
# ptxdist goVersion:OSELAS.Toolchain-2011.11.1 and ptxdist-2012.07.0
Here is what I get after running ptxdist go: Can you guide on this error? plz help me asap
Error:
————————-
target: host-zlib.install
————————-
make[1]: Entering directory `/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-host/zlib-1.2.5′
cp libz.a /opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib
cp /opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib
cp: missing destination file operand after `/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-host/lib’
Try `cp –help’ for more information.
make[1]: *** [install-libs] Error 1
make[1]: Leaving directory `/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-host/zlib-1.2.5′
make: *** [/opt/OSELAS.Toolchain-2011.11.1/platform-arm-v4t-linux-gnueabi-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/state/host-zlib.install] Error 2
Regards,
Dhruv Chawda
--------------------------------------------------------------------------------
--
ptxdist mailing list
ptxdist@pengutronix.de
[-- Attachment #1.2: Type: text/html, Size: 4274 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-06 16:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-01 16:52 [ptxdist] Error while setting up toolchain Dhruv Chawda
2012-08-06 10:38 ` Josef Holzmayr
2012-08-06 16:17 ` ZhangLei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox