[En-Nut-Discussion] Ethernut with CAN-IF

Huett W. wolfgang.huett at t-online.de
Mon Aug 15 21:47:57 CEST 2005


Hello,

thanks for this useful hint (saving really time), also to Harald Kipp for a
similar hint.
I changed
LIBS =
 $(LIBDIR)/nutinit.o -lnutpro -lnutfs -lnutos -lnutdev -lnutnet -lnutcrt
to
LIBS =

$(LIBDIR)/nutinit.o -lnutpro -lnutfs -lnutos -lnutdev -lnutos -lnutnet -lnut
crt
and now it works (all other variants not)
But I don't really understand why ??
(For sure only because of my low knowledge about the linker)

Best regards

Wolfgang Hütt
----- Original Message -----
From: "Ole Reinhardt" <ole.reinhardt at kernelconcepts.de>
To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
Sent: Friday, August 12, 2005 11:35 AM
Subject: Re: [En-Nut-Discussion] Ethernut with CAN-IF


> Hi,
>
> > : undefined reference to `NutSemInit'
> > I've already searched several hours but I can not locate the problem.
> > Everything seems to be fine (Configurator used as SW-manual tells, no
> > problem
>
> Ok, this seems to be a problem with your makefile.
>
> Try use the following line in your Makefile:
>
>
> LIBS =  $(LIBDIR)/nutinit.o -lnutos -lnutarch -lnutos -lnutdev -lnutcrt
>
> As you see the libnutos is mentioned twice in this line.
>
> Hope this will help you,
>
> Ole Reinhardt
>
> --
> kernel concepts    Tel: +49-271-771091-14
> Dreisbachstr. 24   Fax: +49-271-771091-19
> D-57250 Netphen    E+ : +49-177-7420433
> --
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list