<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi!<br>
<br>
Having some problems building the master on fedora 19 <br>
<br>
autoreconf fails with the message:<br>
<font face="Courier New, Courier, monospace"><small>+ touch
ChangeLog<br>
+ autoreconf -i<br>
automake: warnings are treated as errors<br>
/usr/share/automake-1.13/am/ltlibrary.am: warning:
'libethercat.la': linking libtool libraries using a non-POSIX<br>
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires
'AM_PROG_AR' in 'configure.ac'<br>
lib/Makefile.am:33: while processing Libtool library
'libethercat.la'<br>
autoreconf: automake failed with exit status: 1</small><b><small><br>
</small></b></font><br>
<br>
I made this change to configure.ac<br>
<br>
<font face="Courier New, Courier, monospace"><small>***
configure.ac.orig 2013-11-29 13:50:20.469640086 +0100<br>
--- configure.ac 2013-11-28 03:11:59.919355571 +0100<br>
*************** AC_CONFIG_MACRO_DIR([m4])<br>
*** 40,45 ****<br>
--- 40,46 ----<br>
# Global<br>
#------------------------------------------------------------------------------<br>
<br>
+ AM_PROG_AR<br>
AC_PROG_CXX<br>
AC_PROG_LIBTOOL<br>
AM_PROG_CC_C_O</small><br>
</font><br>
And the bootstrap script finished without errors.<br>
<br>
<font face="Courier New, Courier, monospace">#./configure
--with-linux-dir=/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt
--enable-8139too=no --enable-generic=yes --enable-cycles=yes</font><br>
runs without any problems<br>
<br>
<font face="Courier New, Courier, monospace">#make && make
doc </font><br>
runs without any problems.<br>
<br>
make modules fails with the message:<br>
<font face="Courier New, Courier, monospace"><small>make -C
"/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt"
M="/home/john/src/ethercat" modules<br>
make[1]: Entering directory
`/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt'<br>
CC [M] /home/john/src/ethercat/devices/generic.o<br>
LD [M] /home/john/src/ethercat/devices/ec_generic.o<br>
CC [M] /home/john/src/ethercat/examples/mini/mini.o<br>
LD [M] /home/john/src/ethercat/examples/mini/ec_mini.o<br>
CC [M] /home/john/src/ethercat/master/cdev.o<br>
/home/john/src/ethercat/master/cdev.c: In function
‘eccdev_mmap’:<br>
/home/john/src/ethercat/master/cdev.c:3964:22: error:
‘VM_RESERVED’ undeclared (first use in this function)<br>
vma->vm_flags |= VM_RESERVED; /* Pages will not be
swapped out */<br>
^<br>
/home/john/src/ethercat/master/cdev.c:3964:22: note: each
undeclared identifier is reported only once for each function it
appears in<br>
make[3]: *** [/home/john/src/ethercat/master/cdev.o] Error 1<br>
make[2]: *** [/home/john/src/ethercat/master] Error 2<br>
make[1]: *** [_module_/home/john/src/ethercat] Error 2<br>
make[1]: Leaving directory
`/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt'<br>
make: *** [modules] Error 2<br>
</small></font><br>
I suspect that my kernel version is too new. Can someone confirm?<br>
<br>
Thanks...<br>
<br>
<br>
//John<br>
</body>
</html>