Error while building Nucleus MME

51 views
Skip to first unread message

heavyd

unread,
Feb 1, 2021, 2:49:24 AM2/1/21
to OMEC Developers
Getting this during S1AP build when building Nucleus

usr/local/bin/ld: ./asn1c/asnGenFiles/libasncodec.a(InitiatingMessage.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/local/bin/ld: ./asn1c/asnGenFiles/libasncodec.a(SuccessfulOutcome.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE

Tried adding the -fPIE flag to the s1ap Makefile, got the same.

Added -no-pie, build successful but got the following output on run.sh

Start MME application
./bin/mme-app: symbol lookup error: ./lib/libmmeGrpcProtoBuf.so: undefined symbol: _ZNK6google8protobuf7Message13SpaceUsedLongEv
Program name set to ./bin/s1ap-app



Ajay Thakur

unread,
Feb 1, 2021, 9:42:26 AM2/1/21
to heavyd, OMEC Developers
What command do you use to build the image ? We typically use "make docker-build".

Thanks
Ajay

--
You received this message because you are subscribed to the Google Groups "OMEC Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omec-dev+u...@opennetworking.org.
To view this discussion on the web visit https://groups.google.com/a/opennetworking.org/d/msgid/omec-dev/515c7e46-29de-41e4-a417-11b39b120713n%40opennetworking.org.
Message has been deleted
Message has been deleted

heavyd

unread,
Feb 2, 2021, 12:53:08 AM2/2/21
to OMEC Developers, aj...@opennetworking.org, OMEC Developers, heavyd
Thanks for the quick response Ajay

This what we're doing
sudo ./install_builddeps.sh
sudo make clean
sudo make
sudo make install
sudo ./install_rundeps.sh
then run.sh

Ajay Thakur

unread,
Feb 2, 2021, 1:02:35 AM2/2/21
to heavyd, OMEC Developers
You might need to make sure all dependent libraries present on your linux machine.

heavyd

unread,
Feb 2, 2021, 4:07:05 AM2/2/21
to OMEC Developers, aj...@opennetworking.org, OMEC Developers, heavyd
Can you tell me how to build using docker?

Thanks

Ajay Thakur

unread,
Feb 2, 2021, 6:18:02 AM2/2/21
to heavyd, OMEC Developers
Sudo make docker-build command generate container image.
Message has been deleted

heavyd

unread,
Feb 3, 2021, 2:55:19 AM2/3/21
to OMEC Developers, aj...@opennetworking.org, OMEC Developers, heavyd
thanks again.

this is what I get after docker run and running run.sh

Start MME application
Program name set to ./bin/mme-app
Caught SIGSEGV: Segmentation Fault
sh: 1: addr2line: not found
error determining line # for: ./lib/libmonitor_config.so(posix_print_stack_trace+0x1b) [0x7fd7566be8eb]
sh: 1: addr2line: not found
Server listening on 0.0.0.0:50051
error determining line # for: ./lib/libmonitor_config.so(posix_signal_handler+0x47) [0x7fd7566be9c7]
sh: 1: addr2line: not found
error determining line # for: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fd75732b390]
sh: 1: addr2line: not found
error determining line # for: ./bin/mme-app() [0x4e03d8]
sh: 1: addr2line: not found
error determining line # for: ./bin/mme-app() [0x4e053d]
sh: 1: addr2line: not found
error determining line # for: /usr/local/lib/libstdc++.so.6(+0xb8c80) [0x7fd755265c80]
sh: 1: addr2line: not found
error determining line # for: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7fd7573216ba]
sh: 1: addr2line: not found
error determining line # for: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fd7549cb4dd]
Caught SIGSEGV: Segmentation Fault
Program name set to ./bin/s1ap-app

Badhrinath Pa

unread,
Feb 3, 2021, 3:06:44 AM2/3/21
to heavyd, OMEC Developers, aj...@opennetworking.org
On what machine are you running this ?
We recommend ubuntu 18.04.

Message has been deleted

heavyd

unread,
Feb 3, 2021, 11:47:34 PM2/3/21
to OMEC Developers, badhr...@opennetworking.org, OMEC Developers, aj...@opennetworking.org, heavyd
running it on 18.04 already

heavyd

unread,
Feb 4, 2021, 1:33:33 AM2/4/21
to OMEC Developers, heavyd, badhr...@opennetworking.org, OMEC Developers, aj...@opennetworking.org
Can this error be due to configs?
We havent changed anything there

heavyd

unread,
Feb 8, 2021, 1:25:18 AM2/8/21
to OMEC Developers, heavyd, badhr...@opennetworking.org, OMEC Developers, aj...@opennetworking.org
you guys have any idea?

Badhrinath Pa

unread,
Feb 8, 2021, 10:55:43 AM2/8/21
to heavyd, OMEC Developers, aj...@opennetworking.org
Hi,

Please execute ‘modprobe tipc’ to enable TIPC kernel module and try starting the mme-app again.

Regards,
Badhri
Reply all
Reply to author
Forward
0 new messages