Forum Discussion
Altera_Forum
Honored Contributor
19 years agoerror messege about ntpdate
Hi, all!
As I want to use ntpdate ,I checked ntpdate in the menuconfig. So I got a next error message when I try to make a carnel compile. ../../util/tickadj.c: In function `main': ../../util/tickadj.c:436: error: `txc' undeclared (first use in this function) ../../util/tickadj.c:436: error: (Each undeclared identifier is reported only once Before this error , I fixed source code for ntpd.c and ntp_config.c about "fork". Ther was not "fork" in uClinux, only "vfork". Must I get a another patch for carnel ? What should I do ? Please Help !2 Replies
- Altera_Forum
Honored Contributor
it was updated in nios2 patches ver 19 in the wiki.
uClinux-dist/vendors/Altera/nios2nommu/config.arch CFLAGS += -Dfork=vfork -D__adjtimex=adjtimex - Altera_Forum
Honored Contributor
Thank you so much, hippo.
I'l try it.