[En-Nut-Discussion] OS X compiling issues

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Thu Oct 20 07:09:37 CEST 2005


Hi,

> Selection -> 2
> Your system is now configured to build for atmega128.
> Type `make` to build the system.
> switch:/Volumes/SHARE/Develop/Ethernut/ethernut-3.9.8 tom$ make
> make: *** No targets specified and no makefile found.  Stop.
> switch:/Volumes/SHARE/Develop/Ethernut/ethernut-3.9.8 tom$

Since quite a while you have to change to the lib directory and type 
"make all install" there.

Calling make from within the NutOS root directory will build the 
configurator and other tools.

> arch/avr_nutinit.c:467: warning: pointer targets in passing argument  1 
> of 'NutThreadCreate' differ in signedness
> make[1]: *** [nutinit.o] Error 1
> make: *** [all] Error 2

This can happen because you'r using avr-gcc 4.x. It is much more 
pedantic. Try to use 3.4.3.

Best regards,

Ole Reinhardt

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--



More information about the En-Nut-Discussion mailing list