[En-Nut-Discussion] Resurrecting old version of Ethernut
Robert von Knobloch
bob at engelking.de
Wed Dec 12 15:13:33 CET 2012
Hi,
I need to make small change to a project I did many years ago on
Ethernut 4.3.3.
The OS I used then is long gone (probably OpenSuse 10.1 or so).
I have a full and working avr-gcc toolset (with avarice etc).
I have kept all the original Ethernut files in a tarball and
decompressed into it's old path, but a 'make' refuses to find the
Ethernut includes, although they are in the tree, e.g.:
avr-gcc -c -o svsmon1.o svsmon1.c
svsmon1.c:19:23: error: dev/board.h: No such file or directory
svsmon1.c:20:22: error: sys/heap.h: No such file or directory
svsmon1.c:21:24: error: sys/thread.h: No such file or directory
svsmon1.c:22:23: error: sys/timer.h: No such file or directory
svsmon1.c:23:23: error: sys/event.h: No such file or directory
svsmon1.c:24:24: error: sys/socket.h: No such file or directory
svsmon1.c:29:16: error: io.h: No such file or directory
svsmon1.c:30:19: error: fcntl.h: No such file or directory
svsmon1.c:31:21: error: dev/adc.h: No such file or directory
svsmon1.c:32:23: error: arpa/inet.h: No such file or directory
svsmon1.c:33:22: error: compiler.h: No such file or directory
svsmon1.c:34:22: error: pro/dhcp.h: No such file or directory
svsmon1.c:35:22: error: pro/sntp.h: No such file or directory
The Makefile is:
#
# 31. Mai 2007 R.v.K
#
PROJ = svsmon1
include ../Makedefs
SRCS = $(PROJ).c
OBJS = $(SRCS:.c=.o)
LIBS = $(LIBDIR)/nutinit.o -lnutpro -lnutos -lnutarch -lnutdev
-lnutarch -lnutfs -lnutnet -lnutcrt -lm
TARG = $(PROJ).hex
PARM = $(PROJ).eep
all: $(OBJS) $(TARG) $(ITARG) $(DTARG)
include ../Makerules
And the Makedefs file appears to point to these files ok:
# Do not edit! Automatically generated on Thu Aug 9 15:53:57 2007
top_srcdir = /home/bob/ethernut-4.3.3
top_blddir = /home/bob/ethernut-4.3.3/build
top_appdir = /home/bob/ethernut-4.3.3/app
LIBDIR = /home/bob/ethernut-4.3.3/build/lib
INCFIRST=$(INCPRE)$(top_blddir)/include
include $(top_appdir)/NutConf.mk
include $(top_srcdir)/app/Makedefs.avr-gcc
include $(top_srcdir)/app/Makeburn.avr-dude
Is there something else missing from the Ethernut tree ??
Many thanks (in hope),
Robert von Knobloch.
More information about the En-Nut-Discussion
mailing list