Closed bioforcetech-corporation closed 3 years ago
Thanks, we will have a look.
Are you sure you are running the latest commit? The error you are seeing should have been fixed by fdf14f36.
Hi @hefloryd, I followed the tutorial 1 week ago flawlessly, then again yesterday on another machine and the build failed. If I switch to the source code I downloaded 1 week ago, everything is OK. The OS is Ubuntu 20.04 for both.
Please verify that you have commit fdf14f3 in your working copy. You'll notice that in that commit, app_gsdml_parameters was moved from app_gsdml.h to app_gsdml.c, whereas the error message you posted above indicates that app_gsdml_parameters is still being defined in app_gsdml.h.
FWIW, all PR:s are automatically built before merging. You can see the output of the automated build here, it successfully built the latest commit from the unmodified sources.
Dear @hefloryd I don't have the commit, even if I cloned the repo yesterday.
Please post the output of:
git clone --recurse-submodules https://github.com/rtlabs-com/p-net.git
cd p-net/
git log --oneline
I can see that commit now in the output
20b0dcf (HEAD -> master, origin/master, origin/HEAD) Update documentation, mostly about the MRP protocol
fdf14f3 Fix sample program warnings
8ca756e Enable warnings for sample program
0f3fcd4 Improve documentation week 22
d755841 Fix assignment of led_state in sample application
71c198a Set log level info for rt-kernel sample app
b7a90e0 Add background worker
ad5147c Close session after incoming RPC CANCEL, FAULT and REJECT messages.
d0ccfe7 Fix USE_SCHED_FIFO option
f603f45 Bugfix RPC max response length
a42cd18 Add rpc fragmentation log message
07f3a5f Refactor sample application
c7344eb Add log message if cycle time is violated
7eca054 Improve documentation week17
d0ac782 Show details for ports and SNMP
4b61d51 Activate both alarm output queues
86d3595 Use unbuffered file reading on Linux
db3c1ee Simplify usage of the scheduler
738565c Keep SNMP values also in memory to avoid file reading
cfdaeb9 Move relevant LLDP types to pf_lldp.h
41de8b2 Improve documentation week 16
365a31a Log file access times
sorry, i had that commit in my working dir. i'm uploading a screenshot
I'm not sure from your response if this builds for you now. If not, please post the output of:
git describe --always --dirty
cmake -B build.new
cmake --build build.new
Also note that the commit you have highlighted in your previous screenshot would produce the error you are seeing. The subsequent commit fixes those errors.
Sorry for wasting your time. Everything works, thank you for your support and your work
Dear all, After pulling the latest commit i'm not able to build the sample app anymore. This is the error log: