Hey there everyone!
I've just fetched the Contiki OS 2.7 sources and pulled the latest contikiprojects-code, trying to compile Contiki BBS for the Commodore 64 against it. However, things must have changed slightly over the past two years since I'm getting the following "unresolved external" error (the output starts where the trouble begins):
Unresolved external `_list_add' referenced in:
shell.s(785)
Unresolved external `_list_head' referenced in:
shell.s(2951)
shell.s(2607)
shell.s(1697)
shell.s(1562)
shell.s(1393)
shell.s(742)
Unresolved external `_list_init' referenced in:
shell.s(368)
Unresolved external `_list_insert' referenced in:
shell.s(795)
Unresolved external `_list_push' referenced in:
shell.s(775)
Unresolved external `_list_remove' referenced in:
shell.s(815)
Unresolved external `_petsciiconv_toascii' referenced in:
/home/nhe2/custom/contiki/apps/telnetd/telnetd.s(625)
/home/nhe2/custom/contiki/apps/telnetd/telnetd.s(412)
Unresolved external `_petsciiconv_topetscii' referenced in:
/home/nhe2/custom/contiki/apps/telnetd/telnetd.s(1000)
/home/nhe2/custom/contiki/apps/telnetd/telnetd.s(958)
Unresolved external `_unload' referenced in:
/home/nhe2/custom/contiki/apps/telnetd/telnetd.s(373)
ld65: Error: 9 unresolved external(s) found - cannot create output file
make: *** [contiki-bbs.c64] Fehler 1
rm contiki-bbs.co
Here's my Makefile in the contikiprojects-code project folder - maybe someone may know what needs to beixed here?
Code:
ifndef CONTIKI
CONTIKI = ../../../../../contiki
endif
TARGET = c64
CONTIKI_PROJECT = contiki-bbs
PROJECTDIRS = ../.. $(CONTIKI)/apps/telnetd $(CONTIKI)/apps/shell
DEFINES = WITH_LOGGING,WITH_BOOST,TELNETD_CONF_REJECT
CFLAGS += --static-locals
all: $(CONTIKI_PROJECT)
APPDIRS = $(CONTIKI)/apps/telnetd $(CONTIKI)/apps/shell
include $(CONTIKI)/Makefile.include
$(CONTIKI_PROJECT).$(TARGET): $(OBJECTDIR)/telnetd.o $(OBJECTDIR)/shell.o \
$(OBJECTDIR)/bbs-page.o $(OBJECTDIR)/bbs-blist.o $(OBJECTDIR)/bbs-file.o \
$(OBJECTDIR)/bbs-read.o $(OBJECTDIR)/bbs-post.o $(OBJECTDIR)/bbs-setboard.o
p.s.: yes, the fact that I'm trying to compile Contiki BBS against Contiki OS 2.7 indeed means that some new features and a new release are in the pipeline.