Skip to contentSkip to conversation

Socketcan-users Digest, Vol 74, Issue 1

Socketcan-users Marc Kleine-Budde 1 participant 2 messages Apr 29, 2013 – May 6, 2013 3 messages not in the archive CAN network drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CANdmM3MJYNL_CtxAnTTkO9CLdNZR_=HEX6Vg6HoV2JHYbHkcww@mail.gmail.com

Marc Kleine-Budde

author maintainer
#2 lore raw

Hello 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   |

A message that is not in the archive (sent off-list or not yet received): CANdmM3PR9X8+qDoWZm+2XtzOuqsi9bpg9W0p0w=m2R=7UA8G5A@mail.gmail.com

author maintainer
#4 lore raw

Hello 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
CC

and 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/ setenv CROSS_COMPILE_PREFIX PREFIX
setenv PATH /proj/epdsw/sadanand/arm-2010.09/bin:$PATH setenv DBM_INCLUDE /usr/include
setenv INCLUDES /usr/include
setenv DESTDIR PREFIX

Quoted 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.c

Quoted 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   |