named-data-iot / ndn-iot-package-over-posix

NDN IoT Package over POSIX with CMake
7 stars 9 forks source link

compile ERROR on examples/tutorial-app-sub.c for missing policy_start() function #12

Closed breakbambino closed 4 years ago

breakbambino commented 4 years ago

~/ndn-iot-package-over-posix/build$ make -j2

CMakeFiles/tutorial-app-sub.dir/examples/tutorial-app-sub.c.o: In function after_bootstrapping': tutorial-app-sub.c:(.text+0x221): undefined reference topolicy_start' collect2: error: ld returned 1 exit status CMakeFiles/tutorial-app-sub.dir/build.make:95: recipe for target 'examples/tutorial-app-sub' failed make[2]: [examples/tutorial-app-sub] Error 1 CMakeFiles/Makefile2:215: recipe for target 'CMakeFiles/tutorial-app-sub.dir/all' failed make[1]: [CMakeFiles/tutorial-app-sub.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

tianyuan129 commented 4 years ago

I updated and partially disabled policy related features. Now tutorial-app and tutorial-app-sub work fine.