<div>thank you very much</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "etherlab-dev-request";<etherlab-dev-request@etherlab.org>;</div><div><b>Date: </b> Thu, Mar 24, 2016 07:00 PM</div><div><b>To: </b> "etherlab-dev"<etherlab-dev@etherlab.org>; <wbr></div><div></div><div><b>Subject: </b> etherlab-dev Digest, Vol 82, Issue 3</div></div><div><br></div>Send etherlab-dev mailing list submissions to<br> etherlab-dev@etherlab.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        http://lists.etherlab.org/mailman/listinfo/etherlab-dev<br>or, via email, send a message with subject or body 'help' to<br> etherlab-dev-request@etherlab.org<br><br>You can reach the person managing the list at<br>    etherlab-dev-owner@etherlab.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of etherlab-dev digest..."<br><br><br>Today's Topics:<br><br>   1. Issues Linking EtherLAB to Xenomai 3 (Thomas Bitsky Jr)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 24 Mar 2016 06:08:46 +0000<br>From: Thomas Bitsky Jr <tbj@automateddesign.com><br>To: etherlab-dev <etherlab-dev@etherlab.org><br>Subject: [etherlab-dev] Issues Linking EtherLAB to Xenomai 3<br>Message-ID: <C64737DB-7035-4274-922D-3CD950425411@automateddesign.com><br>Content-Type: text/plain; charset="utf-8"<br><br>I?ve made progress trying to adapt the EtherCAT master to Xenomai-3, but I can?t get the EtherCAT master to link against Xenomai. Can someone tell me why I would get this error? I?m not figuring it out.<br><br>Making all in lib<br>make[2]: Entering directory `/home/user/etherlab-adc/lib'<br>/bin/bash ../libtool  --tag=CC   --mode=link gcc -fno-strict-aliasing -Wall -DUSE_RTDM  `/usr/xenomai/bin/xeno-config --rtdm --cflags` -fPIC  -g -O2 -version-info 1:0:0  `/usr/xenomai/bin/xeno-config --rtdm --ldflags` -fPIC   -o libethercat_rtdm.la -rpath /opt/etherlab/lib libethercat_rtdm_la-common.lo libethercat_rtdm_la-domain.lo libethercat_rtdm_la-master.lo libethercat_rtdm_la-reg_request.lo libethercat_rtdm_la-sdo_request.lo libethercat_rtdm_la-slave_config.lo libethercat_rtdm_la-voe_handler.lo<br><br>*** Warning: Linking the shared library libethercat_rtdm.la against the non-libtool<br>*** objects  /usr/xenomai/lib/xenomai/bootstrap.o is not portable!<br>libtool: link: gcc -shared  -fPIC -DPIC  .libs/libethercat_rtdm_la-common.o .libs/libethercat_rtdm_la-domain.o .libs/libethercat_rtdm_la-master.o .libs/libethercat_rtdm_la-reg_request.o .libs/libethercat_rtdm_la-sdo_request.o .libs/libethercat_rtdm_la-slave_config.o .libs/libethercat_rtdm_la-voe_handler.o  /usr/xenomai/lib/xenomai/bootstrap.o   -L/usr/xenomai/lib /usr/xenomai/lib/libcobalt.so -lpthread -lrt  -O2 -Wl,@/usr/xenomai/lib/cobalt.wrappers -Wl,--wrap=main -Wl,--dynamic-list=/usr/xenomai/lib/dynlist.ld   -Wl,-soname -Wl,libethercat_rtdm.so.1 -o .libs/libethercat_rtdm.so.1.0.0<br>/usr/bin/ld: /usr/xenomai/lib/xenomai/bootstrap.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC<br>/usr/xenomai/lib/xenomai/bootstrap.o: error adding symbols: Bad value<br><br>EtherLab Configuration:<br>$ sudo ./configure --enable-e1000e --enable-generic --disable-8139too --enable-rtdm --enable-cycles --with-xenomai-dir=/usr/xenomai<br><br>Xenomai Configuration:<br>$ ./configure --with-core=cobalt --enable-smp --enable-pshared<br><br>System details:<br>Linux ubuntu 3.10.32xen.x64.generic+ #4 SMP Mon Mar 21 09:27:23 CDT 2016 x86_64 x86_64 x86_64 GNU/Linux<br><br>user@ubuntu:~/etherlab-adc$ gcc -v<br>Using built-in specs.<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with<br> -arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>Thread model: posix<br>gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1)<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20160324/7d689ff2/attachment-0001.html><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>etherlab-dev mailing list<br>etherlab-dev@etherlab.org<br>http://lists.etherlab.org/mailman/listinfo/etherlab-dev<br><br><br>------------------------------<br><br>End of etherlab-dev Digest, Vol 82, Issue 3<br>*******************************************</div>