[En-Nut-Discussion] Undefined Reference when rebuilding System

Philippgl2 mt1961 at thi.de
Mon Oct 13 11:30:15 CEST 2014


Hello Harald,

I don´t know if the source code helps you any further, because no matter
what project i want to compile the undefined reference error comes
everytime.

Maybe the build file helps you more:



PROJ = CL

include ../Makedefs

SRCS =  src/main.c \
		src/tcpserv.c \
		src/io.c \
		src/spi.c \
		src/reqhandler.c \
		src/blink.c \
		src/initFPGA.c
		
		
OBJS =  $(SRCS:.c=.o)
LIBS =  $(LIBDIR)/nutinit.o -lnutpro -lnutnet -lnutfs -lnutos -lnutgorp
-lnutcrt -lnutdev -lnutarch -lm
TARG =  $(PROJ).hex
PARM =  $(PROJ).eep

all: $(OBJS) $(TARG) $(ITARG) $(DTARG)

include ../Makerules

clean:
	-rm -f $(OBJS)
	-rm -f $(TARG) $(ITARG) $(DTARG)
	-rm -f $(PROJ).eep
	-rm -f $(PROJ).obj
	-rm -f $(PROJ).map
	-rm -f $(SRCS:.c=.lst)
	-rm -f $(SRCS:.c=.bak)
	-rm -f $(SRCS:.c=.i)


Hope you can help

Kind Regards 
Philippgl



--
View this message in context: http://microcontrollers.2385.n7.nabble.com/Undefined-Reference-when-rebuilding-System-tp192353p192405.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.


More information about the En-Nut-Discussion mailing list