[En-Nut-Discussion] Errors building Ethernut 4.4.1

Gerard de Vries|United Live Graphics| gerard.devries at ubf.nl
Tue Jul 8 18:23:26 CEST 2008


Fellow (starting) developers,

After days and days of searching I finally found what makes the build of Nut/OS fail.
If you have installed Ethernut in a directory containing a blank character (i.e. space) the installation will fail. The makefiles which are created automaticly will contain errors. Where there is a space, an extra backslash is inserted. In my case "C:\Program Files\Ethernut" became "C:\Program\ Files\Ethernut" in the makefiles, which obviously means that the source-files couldn't be found. After reinstalling everything in "C:\AVR\Ethernut" the Build Nut/OS succeeded.

Kind regards,
Gerard



United Broadcast Facilities
Gerard de Vries, United Live Graphics


      T +31 (0)35 77 33 203 
      F +31 (0)35 77 33 131 
      M +31 (0)6 25 05 11 56 



Naarderweg 16, 1217 GL Hilversum, Nederland

©
Alle bestanden die met deze e-mail zijn meegestuurd vallen onder het copyright van United Broadcast Facilities.
All files attached to this e-mail are under copyright of United Broadcast Facilities.


  ----- Original Message ----- 
  From: Lasse Conrad 
  To: 'Ethernut User Chat (English)' 
  Sent: Tuesday, July 08, 2008 1:15 PM
  Subject: Re: [En-Nut-Discussion] Errors building Ethernut 4.4.1


  Hi Gerard

  Not sure this will help you but try to check your PATH to see if any other
  compiler is in the way.

  Best Regard
  Lasse


  -----Oprindelig meddelelse-----
  Fra: en-nut-discussion-bounces at egnite.de
  [mailto:en-nut-discussion-bounces at egnite.de] På vegne af Gerard de
  Vries|United Live Graphics|
  Sendt: Tuesday, July 08, 2008 12:39 PM
  Til: Ethernut Mailing List
  Emne: [En-Nut-Discussion] Errors building Ethernut 4.4.1

  Hello everyone,

  I'm a newbie on the subject of Ethernut and I'm trying to build Ethernut
  4.4.1 for first use, but I keep on getting an error message while building
  the OS.
  These are the steps I take:
  - Run "WinAVR-20071221-install.exe"
  - Run "ethernut-4.4.1.exe"
  - Run "Nut/OS Configurator"
    - Open file "ethernut13h-256gcc.conf" (I have an Ethernut Version 1.3
  Revision H with an Atmel ATmega1218)
    - Click menu-item "Edit" followed by "Settings"
      - In tab "Repository" set "Repository File" to correct directory
      - In tab "Build" set "Source Directory", "Platform", "Build Directory"
  and "Install Directory"
      - In tab "Tools" set "Tools Paths" to bin-directory and
  utils/bin-directory of WinAVR
      - In tab "Samples" set "Programmer" to "avr-jtagice"
      - In tab "Samples" set "Application Directory"
      - Save settings by clicking OK
    - In options-tree (left part of window) set in "Architecture", "Target
  CPU" to "Atmel ATmega128"
    - Click menu-item "Build" followed by "Build NutOS"
      - At question "Do you like to generate this build tree?" click "OK"
      - At question "Do you like to build the Nut/OS libraries?" click "OK"

  After 30 seconds or so, I get an error leaving the Nut/OS unbuild and the
  log reporting as follows:
    12:21:37: Nut/OS Configurator Version 1.4.3
    12:21:37: Linked to wxWidgets 2.8.3
    12:21:37: Running on Windows XP (build 2600, Service Pack 3)
    12:21:37: Working in C:\Program Files\Ethernut
    12:21:42: Loading C:/Program Files/Ethernut/nut/conf/repository.nut
    12:21:42: Loading C:/Program
  Files/Ethernut/nut/conf/ethernut13h-256gcc.conf
    12:21:42: OK
    12:22:06: Creating Makefiles for avr-gcc in E:/Projects/Ethernut/Builds
    12:22:06: Creating header files in E:/Projects/Ethernut/Builds
    12:22:06: OK
    12:22:15: ----- Running 'make clean' -----
    12:22:15: Located C:\Program Files\Ethernut\nut\tools\win32\make.exe
    12:22:20: ----- 'make clean' terminated successfully -----
    12:22:20: ----- Running 'make all' -----
    12:22:20: Located C:\Program Files\Ethernut\nut\tools\win32\make.exe
    make[1]: *** No rule to make target `avr/os/context_gcc.o', needed by
  `libnutarch.a'.  Stop.
    make: *** [all] Error 2
    12:22:20: ----- 'make all' failed with error 2 -----

  Could someone please help me out and tell me what I'm doing wrong or point
  me to a combination of WinAVR and Ethernut that does let itself be build.
  Thanks!

  Kind regards,
  Gerard



  United Broadcast Facilities
  Gerard de Vries, United Live Graphics


        T +31 (0)35 77 33 203
        F +31 (0)35 77 33 131
        M +31 (0)6 25 05 11 56



  Naarderweg 16, 1217 GL Hilversum, Nederland

  ©
  Alle bestanden die met deze e-mail zijn meegestuurd vallen onder het
  copyright van United Broadcast Facilities.
  All files attached to this e-mail are under copyright of United Broadcast
  Facilities.

  _______________________________________________
  http://lists.egnite.de/mailman/listinfo/en-nut-discussion

  _______________________________________________
  http://lists.egnite.de/mailman/listinfo/en-nut-discussion


More information about the En-Nut-Discussion mailing list