Hi!

Having some problems building the master on fedora 19

autoreconf fails with the message:
+ touch ChangeLog
+ autoreconf -i
automake: warnings are treated as errors
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libethercat.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
lib/Makefile.am:33:   while processing Libtool library 'libethercat.la'
autoreconf: automake failed with exit status: 1*
*

I made this change to configure.ac

*** configure.ac.orig    2013-11-29 13:50:20.469640086 +0100
--- configure.ac    2013-11-28 03:11:59.919355571 +0100
*************** AC_CONFIG_MACRO_DIR([m4])
*** 40,45 ****
--- 40,46 ----
  # Global
#------------------------------------------------------------------------------

+ AM_PROG_AR
  AC_PROG_CXX
  AC_PROG_LIBTOOL
  AM_PROG_CC_C_O

And the bootstrap script finished without errors.

#./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
runs without any problems

#make && make doc
runs without any problems.

make modules fails with the message:
make -C "/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt" M="/home/john/src/ethercat" modules make[1]: Entering directory `/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt'
  CC [M]  /home/john/src/ethercat/devices/generic.o
  LD [M]  /home/john/src/ethercat/devices/ec_generic.o
  CC [M]  /home/john/src/ethercat/examples/mini/mini.o
  LD [M]  /home/john/src/ethercat/examples/mini/ec_mini.o
  CC [M]  /home/john/src/ethercat/master/cdev.o
/home/john/src/ethercat/master/cdev.c: In function 'eccdev_mmap':
/home/john/src/ethercat/master/cdev.c:3964:22: error: 'VM_RESERVED' undeclared (first use in this function)
     vma->vm_flags |= VM_RESERVED; /* Pages will not be swapped out */
                      ^
/home/john/src/ethercat/master/cdev.c:3964:22: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [/home/john/src/ethercat/master/cdev.o] Error 1
make[2]: *** [/home/john/src/ethercat/master] Error 2
make[1]: *** [_module_/home/john/src/ethercat] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.20-200.rt17.1.fc19.ccrma.i686.rt'
make: *** [modules] Error 2

I suspect that my kernel version is too new. Can someone confirm?

Thanks...


//John
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to