[etherlab-users] etherlab-1.3-pre-r698 compilation
Andreas Stewering-Bone
ab at igh-essen.com
Fri May 6 11:55:10 CEST 2011
Hello Julian,
For the ethercat master there is a incompatibility in the last merge
Please take revision 2026
For the future we will create a branch stable-1.5
Best regards
Andreas
Am 05.05.2011 18:31, schrieb Julian Stoev / Юлиан Стоев:
> Hello,
> I have trouble to compile the most recent etherlab version.
> I have a Debian stable system
> Linux debian 2.6.32.11-rtai
> RTAI was installed from Debian sources in "Debian" way.
> http://packages.debian.org/squeeze/rtai
>
> GCC version:
> gcc -v
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian
> 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --program-suffix=-4.4 --enable-shared --enable-multiarch
> --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix
> --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
> --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
> --enable-objc-gc --enable-targets=all --with-arch-32=i586
> --with-tune=generic --enable-checking=release --build=i486-linux-gnu
> --host=i486-linux-gnu --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.4.5 (Debian 4.4.5-8)
>
>
> Your Ethercat (Development Version 1.5) master was compiled cleanly
> Now I have to go for the Etherlab, because I want to work from Simulink.
>
> I download etherlab-1.3-pre-r698 and configure cleanly.
> Then make
>
> First I got:
>
> /home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c:2:25:
> warning: missing terminating " character
> /home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c: In
> function ‘main’:
> /home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c:2:
> error: missing terminating " character
> ............
> and lots of more errors in the same file
>
> I manually edited the file
> /home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c
> Basically only reformatting.
>
> Then make again and got something more serious:
> ............................
> make[4]: Entering directory `/usr/src/linux-2.6.32.11'
> make[5]: Circular
> /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c<-
> /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c dependency
> dropped.
> CC [M] /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.o
> /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c: In function
> ‘ecs_send_cb’:
> /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c:319: error:
> implicit declaration of function ‘ecrt_master_send_ext’
> make[5]: *** [/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.o] Error 1
>
> I can not find this function defined anywhere.
>
> Please help me with resolving this.
>
>
Mit freundlichem Gruß
Andreas Stewering-Bone
--
------------------------------------------------------------------------
Dipl.-Ing.(FH) Andreas Stewering-Bone
andreas.stewering-bone at igh-essen.com
Tel.: +49 201 / 36014-15
Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen
Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. S. Rotthäuser,
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com
------------------------------------------------------------------------
More information about the Etherlab-users
mailing list