I am trying to enable watchdog functionality on petalinux. But, I’m getting following errors on doing “make”
~ /petalinux-v0.40-final/software/petalinux-dist/user/busybox/miscutils/miscutils.a(watchdog.o): In function `watchdog_main':
~/petalinux-v0.40-final/software/petalinux-dist/user/busybox/miscutils/watchdog.c:94: undefined reference to `daemon'
More details on the configuration I am using:-
1) Petalinux version v0.40
2) Enabled MMU
3) Enabled uClibc
Various things that I tried to make it work include:-
1) Tried setting CONFIG_USER_BUSYBOX_START_STOP_DAEMON=y
2) Tried enabling “tr” and ‘mktemp” along with other busybox utilities
3) Even tried replacing “daemon” system call with “vfork_daemon_rexec”
Please let me what should I do to make it work.
Thanks in advance.