Forum Discussion

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

nasys_clock_freq is not defined

Hi all,

Im trying to build uClinux but pretty much straight away im getting this error:

jiffies.h:247:31: warning: "nasys_clock_freq" is not defined

jiffies.h:247:31: division by zero in# if

nasys_clock_freq isnt evene mentioned once in jiffies.h. Im using a reference design for a dev board (reference design wasn't made for uClinux). I cant think why its giving me this error!!!

Any ideas??

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I had the same problem at first

    check your design in SOPC builder,

    I think you're missing a full-featured timer module

    hope this works :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE (asafvm @ Jul 28 2009, 08:29 PM) <{post_snapback}> (index.php?act=findpost&pid=23310)</div>

    --- Quote Start ---

    I had the same problem at first

    check your design in SOPC builder,

    I think you&#39;re missing a full-featured timer module

    hope this works :)[/b]

    --- Quote End ---

    Hi,

    I think i saw your post actually. I didnt get what a timer module was. I&#39;ll try and add one.. thanx!