Forum Discussion

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

Build Error

When I build the project, there'r some errors like these:

Kind    Status    Priority    Description     Resource    In Folder              Location
Error          webcam_server    line 21
Error          webcam_server  line 25
Error          webcam_server    line 25
Error          webcam_server    line 26
Error          webcam_server  line 27
Error          webcam_server    ine 29

Anyone can help me to solve the problem?

4 Replies

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

    Hi,

    as well, I had an error too, but it was not the same one mentioned. I followed the Quick Start Guide and it gave me this:

    /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/smc91111.c:1912: warning: suggest parentheses around + or - inside shift
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'

    I have the Altera Cyclone 1C12 Evaluation board, and used the settings listed in Appendix A.

    Anyone have an idea whats wrong?

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

    I found my problem,but I can not find the way to solve yours, sorry!

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

    Hi, sorry... there was a typo. You need to turn off SMC Lan91C111 support when compiling for the Altera Eval Kit.

    That can be found at:

    Symbol: SMC91111 
    Prompt: SMC 91111 support
      Defined at drivers/net/Kconfig:852
      Depends on: NETDEVICES
      Location:
        -> Device Drivers
          -> Networking support
            -> Network device support (NETDEVICES )
              -> Ethernet (10 or 100Mbit)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by ken@Sep 2 2005, 06:34 AM

    hi, sorry... there was a typo. you need to turn off smc lan91c111 support when compiling for the altera eval kit.

    that can be found at:

    symbol: smc91111 
    prompt: smc 91111 support
      defined at drivers/net/kconfig:852
      depends on: netdevices
      location:
        -> device drivers
          -> networking support
            -> network device support (netdevices )
              -> ethernet (10 or 100mbit)

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=9524)</div>

    --- Quote End ---

    Thanks for this reply.. I just had this problem too. Maybe this should be added to the docs?