[En-Nut-Discussion] Nut/OS under Ubuntu 14.04

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Nov 22 14:27:46 CET 2014

>>>>> "Michael" == Michael H <farwest at gmx.de> writes:

    Michael> Hello all,

    Michael> has anyone successfully set up Nut/OS (ethernut-5.1.0
    Michael> AVR/ETHERNUT1) on ubuntu 14.04? I tried on 2 different systems,
    Michael> but it won't build. I followed the instructions for debian on
    Michael> ethernet.de. Everything is in place and ./configure runs fine,
    Michael> but wheter I do the config with nutconfig or qnutconfig or
    Michael> nutsetup, I end up with errors:

    Michael> mh at mh-desktop:~/ethernut/ethernut-5.1.0/nut/lib$ make clean
    Michael> Makefile:36: ../NutConf.mk: Datei oder Verzeichnis nicht
    Michael> gefunden make: *** Keine Regel, um »../NutConf.mk« zu
    Michael> erstellen.  Schluss.
Please give the sequence of commands you used. But this seems harmless.

    Michael> lua nutsetup.lua creates the conf-files, I "make" and get this:
    Michael> avr/dev/ih_spi_stc.c: In function ‘AvrSpiIrqCtl’:
    Michael> avr/dev/ih_spi_stc.c:81:13: error: variable ‘bval’ set but not
    Michael> used [-Werror=unused-but-set-variable] uint8_t bval; I removed
    Michael> the -Werror from Makevars.gcc and next stop says:
    Michael> avr/dev/ahdlcavr.c:201:1: error: unknown type name ‘prog_char’
    Michael> static prog_char fcstab[512] = { ^ Compiler is avr-gcc (GCC)
    Michael> 4.8.2

Did you use a distributed config or a custom one? It seems you uses a custom
one where code pathes are compiled otherwise not compiled. And these code
pathes seem to contain bitrot.

If you compile with a default configuration in nut/conf, do you get the same

Can you post your custome config?

    Michael> Another try on a headless debian wheezy machine fails because
    Michael> wxWidgets insists to be configured, no matter which
    Michael> disable-options I supply.  Had the same prob. before on ubuntu,
    Michael> but installed wxWidgets to silence the configure script.

    Michael> At the moment I'm lost.

    Michael> At least I have a working Nut/OS 4.8.9 in an Ubuntu 10.04 VM,
    Michael> but I really would like to upgrade to 5.1.

Consider SVN Head, perhaps witha local git/ global svn workflow. There has
been done some work on the AVR prog_char problem...

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list