[srslte-users] Ettus E312 build
Ed
pyrodude22 at gmail.com
Wed Oct 16 21:26:32 UTC 2019
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20191016/a7c496f8/attachment.htm>
More information about the srsran-users
mailing list