[En-Nut-Discussion] adding functions to NutNet Library
Jesper Hansen
jesperh at telia.com
Sun Jan 15 15:32:29 CET 2006
I'm not sure of this, but I think the configurator will remove the
additions you have made to the makefiles.
When building manually, you should run make in the build directory.
/Jesper
Hugo Simon wrote:
> I used the configurator and it does a make install.
> But as I now tried to run the makefile from an DOS prompt it stops with the
> following messages:
>
> C:\Entwickl\ethernut-3.9.8\nut\net>make clean
> makefile:65: ../UserConf.mk: No such file or directory
> makefile:66: ../Makedefs: No such file or directory
> makefile:86: ../Makerules: No such file or directory
> make: *** No rule to make target `../Makerules'. Stop.
>
> And it is right, these files doesn't exist. Do I use the wrong makefile?
>
>
> ----- Original Message -----
> From: "Jesper Hansen" <jesperh at telia.com>
> To: "Ethernut User Chat (English)" <en-nut-discussion at egnite.de>
> Sent: Sunday, January 15, 2006 2:28 PM
> Subject: Re: [En-Nut-Discussion] adding functions to NutNet Library
>
>
>
>>Did you remember to also run "make install" ?
>>
>>/Jesper
>>
>>Hugo Simon wrote:
>>
>>>Hello,
>>>
>>>I want to add some functions to the NutNet library. So I put my
>
> sourcefiles
>
>>>into the nut/net directory and added them to the makefile which lays
>
> there.
>
>>>Then I make NutOS, works without error.
>>>
>>>In my application I add my includefile which I put in include/net and
>
> run
>
>>>make for my application.
>>>Compiling is ok but linking not. I get some "undefined references" to my
>>>functions, therefor I think the making of NutOS failed to add my
>
> functions
>
>>>to libnutnet.
>>>
>>>Did I miss something?
>>>
>>>Another problem: If I switch on the NUTDEBUG switch in the configurator
>>>nothing happens. I have to add a #define NUTDEBUG to cfg/os.h manually
>
> to
>
>>>get the debug code. Why?
>>>
>>>Bye
>>>Thorsten
>>>
>>>
>>>
>>>_______________________________________________
>>>En-Nut-Discussion mailing list
>>>En-Nut-Discussion at egnite.de
>>>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>>>
>>>
>>
>>_______________________________________________
>>En-Nut-Discussion mailing list
>>En-Nut-Discussion at egnite.de
>>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>>
>
>
> _______________________________________________
> 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