Open adam-woolhether opened 1 year ago
We don't have here ArtAndLogic-aPTP-changes branch and RPI is not supported officially.
The error you see is already fixed almost 3 years ago: https://github.com/Avnu/gptp/pull/32/files
I hope this helps.
My mistake, I was referencing the branch from merge request in feature-aptp-experimental
, sorry about the mixup.
I've now checked out the feature-aptp-experimental
branch on Avnu/OpenAvnu, and when attempting to build get:
g++ -Wall -g -I. -I../../common -I../src -I/root/header/include/ -DPTP_HW_CROSSTSTAMP -std=c++0x -Wnon-virtual-dtor -c ../../common/ap_message.cpp -o obj/ap_message.o
g++ -Wall -g -I. -I../../common -I../src -I/root/header/include/ -DPTP_HW_CROSSTSTAMP -std=c++0x -Wnon-virtual-dtor -c ../../common/avbts_osnet.cpp -o obj/avbts_osnet.o
g++ -Wall -g -I. -I../../common -I../src -I/root/header/include/ -DPTP_HW_CROSSTSTAMP -std=c++0x -Wnon-virtual-dtor -c ../../common/ether_port.cpp -o obj/ether_port.o
g++ -Wall -g -I. -I../../common -I../src -I/root/header/include/ -DPTP_HW_CROSSTSTAMP -std=c++0x -Wnon-virtual-dtor -c ../../common/common_port.cpp -o obj/common_port.o
../../common/common_port.cpp: In constructor 'CommonPort::CommonPort(PortInit_t*)':
../../common/common_port.cpp:57:32: error: 'const class OSThreadFactory' has no member named 'create'
57 | link_thread = thread_factory->create();
| ^~~~~~
../../common/common_port.cpp:59:37: error: 'const class OSThreadFactory' has no member named 'create'
59 | listening_thread = thread_factory->create();
| ^~~~~~
make: *** [Makefile:192: obj/common_port.o] Error 1
As you probably already noticed OpenAvnu is not very actively developed. master branch still compiles and works fine, but experimental branches are, well, experimental so they might not compile anymore :(
Using the
ArtAndLogic-aPTP-changes
branch. I've run the initial steps:Also, per
READMEaPTP.rst
:This doesn't build the desired gptp daemon.
I tried:
Errors follow, here's build output:
Trying to build on a non RPI with
make clean all
results in similar errors: