[srslte-users] Ettus E312 build
Pedro Alvarez
pedro.alvarez at softwareradiosystems.com
Fri Oct 18 13:48:04 UTC 2019
Hi Ed,
In old systems, there seems to be an issue in redefinition of
structure necessary for IPv6 support.
Can you compile using the following command first:
"""
cmake -DUSE_GLIBC_IPV6=False ../
make
"""
Cheers,
Pedro
On Thu, Oct 17, 2019 at 9:30 AM Ed <pyrodude22 at gmail.com> wrote:
>
> Hi SRSLTE users!
> I'm attempting to build from source on an Ettus E312 (battery-powered w/ embedded cpu). The embedded image that comes from Ettus is pretty minimal; I had to make/install libconfig, lksctp-tools, and mbedtls from source. Everything went well, and cmake successfully generates the makefile in the build/ directory, but the make fails here:
>
>
> [ 78%] Building CXX object srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/gw.cc.o
> In file included from /home/root/srsLTE-master/lib/include/srslte/upper/ipv6.h:26:0,
> from /home/root/srsLTE-master/srsue/src/stack/upper/gw.cc:23:
> /usr/include/linux/ipv6.h:19:8: error: redefinition of 'struct in6_pktinfo'
> struct in6_pktinfo {
> ^
> In file included from /home/root/srsLTE-master/lib/include/srslte/phy/io/netsink.h:35:0,
> from /home/root/srsLTE-master/lib/include/srslte/srslte.h:77,
> from /home/root/srsLTE-master/lib/include/srslte/common/common.h:82,
> from /home/root/srsLTE-master/lib/include/srslte/common/buffer_pool.h:37,
> from /home/root/srsLTE-master/srsue/hdr/stack/upper/gw.h:26,
> from /home/root/srsLTE-master/srsue/src/stack/upper/gw.cc:22:
> /usr/include/netinet/in.h:534:8: error: previous definition of 'struct in6_pktinfo'
> struct in6_pktinfo
> ^
> In file included from /home/root/srsLTE-master/lib/include/srslte/upper/ipv6.h:26:0,
> from /home/root/srsLTE-master/srsue/src/stack/upper/gw.cc:23:
> /usr/include/linux/ipv6.h:24:8: error: redefinition of 'struct ip6_mtuinfo'
> struct ip6_mtuinfo {
> ^
> In file included from /home/root/srsLTE-master/lib/include/srslte/phy/io/netsink.h:35:0,
> from /home/root/srsLTE-master/lib/include/srslte/srslte.h:77,
> from /home/root/srsLTE-master/lib/include/srslte/common/common.h:82,
> from /home/root/srsLTE-master/lib/include/srslte/common/buffer_pool.h:37,
> from /home/root/srsLTE-master/srsue/hdr/stack/upper/gw.h:26,
> from /home/root/srsLTE-master/srsue/src/stack/upper/gw.cc:22:
> /usr/include/netinet/in.h:541:8: error: previous definition of 'struct ip6_mtuinfo'
> struct ip6_mtuinfo
> ^
> srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/build.make:54: recipe for target 'srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/gw.cc.o' failed
> make[2]: *** [srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/gw.cc.o] Error 1
> CMakeFiles/Makefile2:5960: recipe for target 'srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/all' failed
> make[1]: *** [srsue/src/stack/upper/CMakeFiles/srsue_upper.dir/all] Error 2
> Makefile:143: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
>
> Some googling tells me that this may be an issue in the Linux version that comes with the E312... has anyone encountered this, or successfully gotten the E312 running SRSLTE?
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
More information about the srsran-users
mailing list