Socketcan-users Digest, Vol 74, Issue 1
Marc Kleine-Budde
maintainerHello kedari appana,
you're using an obsolete mailinglist, please come to [email protected]
Quoted 2 lines · kedari appana
I downloaded the can-utils and i try to use make command in each directory of that can utils i am getting a lots of errors.I read some
I cannot see your error messages, please provide the output.
Quoted 3 lines
readme.txt in some folder it is showing that the iproute2 is under petalinux source tree you need to install petalinux .Is that petalinux source tree is necessary for this.If necessary how to install it
Quick googling showes that petalinux is provided by xilinx, contact the xilinx support for any petalinux related questions.
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Marc Kleine-Budde
maintainerHello kedari appana,
please don't send HTML mails, as they are not accepted on the linux-can mailing-list.
Quoted 16 lines · kedari appana
Quoted 3 lines
Hi,
I am new to socket can i downloaded the socketcan
utilities
Quoted 12 lines
and when i try to run it i am getting the errors.
I compiled iproute2-2.6.39.I made the following modifications
In make file commented the below lines
DESTDIR
DBM_INCLUDE
CCand the modifications made are
It's good practice to illustrate your modifications with a diff. I'm not sure if setenv works as you expected in Makefile....
Quoted 2 lines
Quoted 2 lines
setenv GNUEABI arm-xilinx-linux-gnueabi
setenv CC GNUEABI-gcc
You set CC to GNUEABI-gcc...
Quoted 25 lines
Quoted 15 lines
setenv LD GNUEABI-ld
setenv NM GNUEABI-nm
setenv AR GNUEABI-ar
setenv RANLIB GNUEABI-ranlib
setenv CXX GNUEABI-c++
setenv PREFIX /proj/epdsw/kedar/linux-xlnx/linux-xlnx/usr/ setenvCROSS_COMPILE_PREFIXPREFIX
setenv PATH /proj/epdsw/sadanand/arm-2010.09/bin:$PATH setenvDBM_INCLUDE/usr/include
setenv INCLUDES/usr/include
setenv DESTDIR PREFIXQuoted 2 lines
and after that i am using
./configure --host=arm-xilinx-linux-gnueabi --prefix=$PREFIX--enable-debug
Quoted 7 lines
the above command
and it's output is
TC schedulers
ATM no
IPT using xtables
iptables modules directory:/lib/xtables
Quoted 8 lines
Quoted 3 lines
when i try to use make command i am getting below error
make[1]: Entering directory
`/proj/epdsw/kedar/linux-xlnx/user/iproute2-2.6.39/lib'
Quoted 2 lines
GNUEABI-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes
-Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -fPIC-c -o ll_map.o
ll_map.cQuoted 1 line
make[1]: GNUEABI-gcc: Command not found
...and make uses GNUEABI-gcc to compile your code. You probable have to use '$()' or '${}'. In a Makefile '$()' would be correct:
setenv CC $(GNUEABI)-gcc
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |