Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

error 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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