[etherlab-users] e1000e
Jürgen Kunz
kunz at sim.tu-darmstadt.de
Thu May 2 13:57:54 CEST 2013
Hi Ian,
what gcc-version do you use?
Regards,
Jürgen
Am 02.05.2013 12:07, schrieb Ian Norton:
> e1000e
>
> Hi,
>
> I'm trying to build the e1000e driver, but got the following errors
> when doing "make all modules".
> Can you help please?
>
> [root at localhost ethercat-1.5.0]# ./configure --enable-e1000e
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for g++... g++
> checking for C++ compiler default output file name... a.out
> checking whether the C++ compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... gcc3
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> 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 gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
> checking the name lister (/usr/bin/nm -B) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 1966080
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking how to run the C preprocessor... 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 whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/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 ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking for g++ option to produce PIC... -fPIC -DPIC
> checking if g++ PIC flag -fPIC -DPIC works... yes
> checking if g++ static flag -static works... no
> checking if g++ supports -c -o file.o... yes
> checking if g++ supports -c -o file.o... (cached) yes
> checking whether the g++ linker (/usr/bin/ld) supports shared
> libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether gcc and cc understand -c and -o together... yes
> checking for Linux kernel sources...
> /usr/src/kernels/2.6.32-358.el6.i686 (Kernel 2.6.32)
> checking for Linux modules installation directory... ethercat
> checking for kernel for 8139too driver... 2.6.32
> checking for kernel for e1000e driver... 2.6.32
> checking for RTAI path... not specified.
> configure: creating ./config.status
> config.status: creating Doxyfile
> config.status: creating Kbuild
> config.status: creating Makefile
> config.status: creating devices/Kbuild
> config.status: creating devices/Makefile
> config.status: creating devices/e1000/Kbuild
> config.status: creating devices/e1000/Makefile
> config.status: creating devices/e1000e/Kbuild
> config.status: creating devices/e1000e/Makefile
> config.status: creating ethercat.spec
> config.status: creating examples/Kbuild
> config.status: creating examples/Makefile
> config.status: creating examples/dc_rtai/Kbuild
> config.status: creating examples/dc_rtai/Makefile
> config.status: creating examples/dc_user/Makefile
> config.status: creating examples/mini/Kbuild
> config.status: creating examples/mini/Makefile
> config.status: creating examples/rtai/Kbuild
> config.status: creating examples/rtai/Makefile
> config.status: creating examples/tty/Kbuild
> config.status: creating examples/tty/Makefile
> config.status: creating examples/user/Makefile
> config.status: creating include/Makefile
> config.status: creating lib/Makefile
> config.status: creating m4/Makefile
> config.status: creating master/Kbuild
> config.status: creating master/Makefile
> config.status: creating script/Makefile
> config.status: creating script/ethercat.service
> config.status: creating script/ethercatctl
> config.status: creating script/init.d/Makefile
> config.status: creating script/init.d/ethercat
> config.status: creating script/sysconfig/Makefile
> config.status: creating tool/Makefile
> config.status: creating tty/Kbuild
> config.status: creating tty/Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
> config.status: executing libtool commands
> [root at localhost ethercat-1.5.0]# make all modules
> make all-recursive
> make[1]: Entering directory `/home/mcs/ethercat-1.5.0'
> Making all in devices
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
> make all-recursive
> make[3]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
> Making all in e1000
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'
> make all-am
> make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000'
> Making all in e1000e
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
> make all-am
> make[5]: Entering directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices/e1000e'
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/devices'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
> make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/devices'
> Making all in include
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/include'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/include'
> Making all in master
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/master'
> make all-am
> make[3]: Entering directory `/home/mcs/ethercat-1.5.0/master'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/master'
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/master'
> Making all in script
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/script'
> make all-recursive
> make[3]: Entering directory `/home/mcs/ethercat-1.5.0/script'
> Making all in init.d
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'
> make all-am
> make[5]: Entering directory `/home/mcs/ethercat-1.5.0/script/init.d'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/init.d'
> Making all in sysconfig
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script/sysconfig'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script/sysconfig'
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/script'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
> make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/script'
> Making all in tool
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/tool'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/tool'
> Making all in lib
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/lib'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/lib'
> Making all in examples
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
> make all-recursive
> make[3]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
> Making all in dc_user
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/dc_user'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/dc_user'
> Making all in user
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples/user'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples/user'
> make[4]: Entering directory `/home/mcs/ethercat-1.5.0/examples'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
> make[3]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0/examples'
> make[2]: Entering directory `/home/mcs/ethercat-1.5.0'
> make[2]: Leaving directory `/home/mcs/ethercat-1.5.0'
> make[1]: Leaving directory `/home/mcs/ethercat-1.5.0'
> make -C "/usr/src/kernels/2.6.32-358.el6.i686"
> M="/home/mcs/ethercat-1.5.0" modules
> make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.i686'
> CC [M] /home/mcs/ethercat-1.5.0/devices/e1000e/82571-2.6.32-ethercat.o
> CC [M]
> /home/mcs/ethercat-1.5.0/devices/e1000e/es2lan-2.6.32-ethercat.o
> CC [M]
> /home/mcs/ethercat-1.5.0/devices/e1000e/ethtool-2.6.32-ethercat.o
> CC [M]
> /home/mcs/ethercat-1.5.0/devices/e1000e/ich8lan-2.6.32-ethercat.o
> CC [M] /home/mcs/ethercat-1.5.0/devices/e1000e/lib-2.6.32-ethercat.o
> CC [M]
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In
> function âEUR~e1000_put_txbufâEUR^(TM):
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:593:
> error: implicit declaration of function âEUR~skb_dma_unmapâEUR^(TM)
>
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c: In
> function âEUR~e1000_tx_mapâEUR^(TM):
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4011:
> error: implicit declaration of function âEUR~skb_dma_mapâEUR^(TM)
>
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4017:
> error: âEUR~struct skb_shared_infoâEUR^(TM) has no member named
> âEUR~dma_mapsâEUR^(TM)
>
> /home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.c:4027:
> error: âEUR~struct skb_shared_infoâEUR^(TM) has no member named
> âEUR~dma_headâEUR^(TM)
>
> make[4]: ***
> [/home/mcs/ethercat-1.5.0/devices/e1000e/netdev-2.6.32-ethercat.o]
> Error 1
> make[3]: *** [/home/mcs/ethercat-1.5.0/devices/e1000e] Error 2
> make[2]: *** [/home/mcs/ethercat-1.5.0/devices] Error 2
> make[1]: *** [_module_/home/mcs/ethercat-1.5.0] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.i686'
> make: *** [modules] Error 2
> [root at localhost ethercat-1.5.0]#
>
> regards
> Ian
>
>
> ************************************************************
>
> DISCLAIMER:
>
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. For those other than the
> recipient any disclosure, copying, distribution, or any action taken
> or omitted to be taken in reliance on such information is prohibited
> and may be unlawful. If you are not the intended recipient please
> delete it from your system and notify the sender immediately by
> telephoning +44(0) 1234 754978 or by immediate reply via e-mail to the
> Sender.
>
> Should the content of this Email, including any attachments, require
> an Export Licence, this shall have been registered in compliance with
> export controls laid down by the UK Export Control Organisation, which
> forms part of the UK Department for Business, Innovation and Skills
> (BIS).
>
> Emails and other electronic communication with Cranfield Aerospace may
> be monitored.
>
> Thank you.
>
> Cranfield Aerospace Limited Registered in England No. 2415720
> Registered Office: Cranfield University, Cranfield, Beds, MK43 0AL
>
> Updated 14-July-2010
>
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com <http://www.codetwo.com>
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
--
Dipl.-Inform. Jürgen Kunz
Technische Universität Darmstadt <http://www.tu-darmstadt.de>
FG Simulation, Systemoptimierung und Robotik
<http://www.sim.tu-darmstadt.de>
Hochschulstr. 10
64289 Darmstadt
Tel.: ++49 (0) 6151-16-70383
Fax: ++49 (0) 6151-16-6648
E-Mail: kunz(at)sim.tu-darmstadt.de
Homepage: http://www.sim.tu-darmstadt.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20130502/a1ffc4c3/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kunz.vcf
Type: text/x-vcard
Size: 464 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20130502/a1ffc4c3/attachment-0005.vcf>
More information about the Etherlab-users
mailing list