[etherlab-users] problems making etherlab (+ other issues)
dclark at mmto.org
dclark at mmto.org
Tue Jul 21 23:55:53 CEST 2009
Hi Richard,
Yes, this gets us a little closer. I had attempted to put the line, "SHELL
= /bin/bash" at the top of the Makefile, as googling around showed
discussions of Ubuntu's decision to install dash instead of bash as the
standard shell, which didn't work. I'll be interested to know what your
solution for a portable fix will be.
We're now on to another set of issues, however. Florian had provided a
newer version of ethercat (1.5 with -r1817) to fix the e100 driver issue I
had. So initially attempting to make from the 1.6 bundle fails due to it
requiring ethercat 1.4. I had the tarball, 'etherlab-1.3-pre-r550.tar.gz',
which requires ethercat 1.5. Make still fails, however -- terminal output
below:
*****************************************************************
make[3]: Leaving directory `/usr/local/src/etherlab-1.3-pre-r550/rtw/blocks'
Making all in lib
make[3]: Entering directory `/usr/local/src/etherlab-1.3-pre-r550/rtw/lib'
make -C "/usr/src/linux" M="/usr/local/src/etherlab-1.3-pre-r550/rtw/lib" \
V="" DEFS="-DHAVE_CONFIG_H" \
RTAI_DIR=/usr/realtime \
STAGING_DIR= \
PREFIX=/opt/etherlab TGT=raise_catch.o \
"_module_/usr/local/src/etherlab-1.3-pre-r550/rtw/lib"
make[4]: Entering directory `/usr/src/linux-2.6.24.7'
LD /usr/local/src/etherlab-1.3-pre-r550/rtw/lib/built-in.o
CC [M] /usr/local/src/etherlab-1.3-pre-r550/rtw/lib/raise_catch.o
make[4]: Leaving directory `/usr/src/linux-2.6.24.7'
make -C "/usr/src/linux" M="/usr/local/src/etherlab-1.3-pre-r550/rtw/lib" \
V="" DEFS="-DHAVE_CONFIG_H" \
RTAI_DIR=/usr/realtime \
STAGING_DIR= \
ETHERCAT_DIR=/opt/etherlab \
PREFIX=/opt/etherlab TGT=ecrt_support.o \
"_module_/usr/local/src/etherlab-1.3-pre-r550/rtw/lib"
make[4]: Entering directory `/usr/src/linux-2.6.24.7'
CC [M] /usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.o
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c: In function
ecs_start:
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c:1046: warning:
passing argument 2 of ecrt_master_callbacks from incompatible pointer
type
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c:1046: warning:
passing argument 3 of ecrt_master_callbacks from incompatible pointer
type
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c:1046: error:
too many arguments to function ecrt_master_callbacks
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c: In function
ecs_end:
/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.c:1088: error:
too many arguments to function ecrt_master_callbacks
make[5]: *** [/usr/local/src/etherlab-1.3-pre-r550/rtw/lib/ecrt_support.o]
Error 1
make[4]: *** [_module_/usr/local/src/etherlab-1.3-pre-r550/rtw/lib] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.24.7'
make[3]: *** [ecrt_support.o] Error 2
make[3]: Leaving directory `/usr/local/src/etherlab-1.3-pre-r550/rtw/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/etherlab-1.3-pre-r550/rtw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/etherlab-1.3-pre-r550'
make: *** [all] Error 2
root at bergenwald:/usr/local/src/etherlab-1.3-pre-r550#
************************************************************************
I have attached config.log for your use, as well. Let me know if you need
more information.
Regards,
Dusty
> I see that your system is using dash as the standard shell instead of the
> usual (ba)sh. The echo builtin of dash does not accept -e as a switch like
> bash does, and that is why you get a stray -e in kernel-cflags.c.
>
> I will remove this non-portable switch in future releases. For now, please
> edit the file
> etherlab-src/tools/rt_appcore/Kbuild
> and remove -e from the echo line 20
>
> Hope this builds then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 41110 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090721/00129252/attachment-0004.obj>
More information about the Etherlab-users
mailing list