---------- Forwarded message ----------
From: kedari appana <[email protected]>
Date: Mon, May 6, 2013 at 3:20 PM
Subject: Re: [Socketcan-users] Socketcan-users Digest, Vol 74, Issue 1
To: Marc Kleine-Budde <[email protected]>
Cc: "[email protected]" <[email protected]>


HI,

Thanks for ur suggestion it's working fine for iproute2 package .After that
i installed libsocketcan version 0.09 after that i try to install canutils
when i type ./configure --host=arm-xilinx-linux-gnueabi --prefix=$PREFIX
--enable-debug this command i am getting the error configure: error: ***
libsocketcan version above 0.0.8 not found on your system .But i installed
0.09 verion please help me .
The below attahment contains the error logs please go through it.

Regards,
Kedar


On Mon, May 6, 2013 at 1:24 PM, Marc Kleine-Budde <[email protected]>wrote:

> Hello kedari appana,
>
> please don't send HTML mails, as they are not accepted on the linux-can
> mailing-list.
>
> On 05/06/2013 06:50 AM, kedari appana wrote:
> >> Hi,
> >>
> >>                  I am new to socket can  i downloaded the socketcan
> > utilities
> >> 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....
>
> >> setenv GNUEABI arm-xilinx-linux-gnueabi
> >> setenv CC GNUEABI-gcc
>
> You set CC to GNUEABI-gcc...
>
> >> 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
>
>
> >>
> >>
> >> and after that i am using
> >>  ./configure --host=arm-xilinx-linux-gnueabi  --prefix=$PREFIX
> > --enable-debug
> >> the above command
> >> and it's output is
> >> TC schedulers
> >>  ATM    no
> >>  IPT    using xtables
> >> iptables modules directory: /lib/xtables
> >>
> >> 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'
> >> 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
> >> 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
>
> --
> 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   |
>
>
onfigure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-xilinx-linux-gnueabi
checking for arm-xilinx-linux-gnueabi-gcc... arm-xilinx-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-xilinx-linux-gnueabi-gcc accepts -g... yes
checking for arm-xilinx-linux-gnueabi-gcc option to accept ISO C89... none 
needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-xilinx-linux-gnueabi-gcc... 
/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/arm-xilinx-linux-gnueabi/bin/ld
checking if the linker 
(/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/arm-xilinx-linux-gnueabi/bin/ld)
 is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... 
/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/bin/arm-xilinx-linux-gnueabi-nm
 -B
checking the name lister 
(/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/bin/arm-xilinx-linux-gnueabi-nm
 -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for 
/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/arm-xilinx-linux-gnueabi/bin/ld
 option to reload object files... -r
checking for arm-xilinx-linux-gnueabi-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-xilinx-linux-gnueabi-ar... arm-xilinx-linux-gnueabi-ar
checking for arm-xilinx-linux-gnueabi-strip... arm-xilinx-linux-gnueabi-strip
checking for arm-xilinx-linux-gnueabi-ranlib... arm-xilinx-linux-gnueabi-ranlib
checking command to parse 
/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/bin/arm-xilinx-linux-gnueabi-nm
 -B output from arm-xilinx-linux-gnueabi-gcc object... ok
checking how to run the C preprocessor... arm-xilinx-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-xilinx-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... 
no
checking for arm-xilinx-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-xilinx-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-xilinx-linux-gnueabi-gcc static flag -static works... yes
checking if arm-xilinx-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-xilinx-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-xilinx-linux-gnueabi-gcc linker 
(/proj/sdk/tools/CodeSourcery/2011.07/lin/Sourcery_CodeBench_Lite/arm-xilinx-linux-gnueabi/bin/ld)
 supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-xilinx-linux-gnueabi-strip... (cached) 
arm-xilinx-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of arm-xilinx-linux-gnueabi-gcc... gcc3
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint32_t... yes
checking whether arm-xilinx-linux-gnueabi-gcc needs -traditional... no
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking for socket... yes
checking for strchr... yes
checking for strtoul... yes
checking for arm-xilinx-linux-gnueabi-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for libsocketcan... no
configure: error: *** libsocketcan version above 0.0.8 not found on your system
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to