[En-Nut-Discussion] nutconf on linux

Dan Morphis dan at milkcarton.com
Sat Nov 27 20:10:36 CET 2004


Harald, I couldn't get a complete copy of the make output because it 
overran the scroll back buffer.  But here is the first 4k or so.  If you 
need more, let me know and I'll figure out a way to get the whole thing.

[root at vmware nut]# make
make -C os
make[1]: Entering directory `/ethernut/nut/os'
gcc  -c -g -Os -Wall -Werror -Wstrict-prototypes  -I../mod/include 
-I../include nutinit.c -o nutinit.o
In file included from ../include/arch/unix.h:66,
                 from ../include/compiler.h:74,
                 from nutinit.c:79:
../include/sys/types.h:117:28: sys/types_orig.h: No such file or directory
In file included from ../include/compiler.h:74,
                 from nutinit.c:79:
../include/arch/unix.h:120: error: syntax error before "u_long"
../include/arch/unix.h:120: warning: no semicolon at end of struct or union
../include/arch/unix.h:121: warning: type defaults to `int' in 
declaration of `flowcontrol'
../include/arch/unix.h:121: warning: data definition has no type or 
storage class
../include/arch/unix.h:123: error: syntax error before '}' token
../include/arch/unix.h:123: warning: type defaults to `int' in 
declaration of `uart_options_t'
../include/arch/unix.h:123: warning: data definition has no type or 
storage class
../include/arch/unix.h:133: error: syntax error before "uart_options_t"
../include/arch/unix.h:133: warning: no semicolon at end of struct or union
../include/arch/unix.h:135: warning: type defaults to `int' in 
declaration of `emulation_options_t'
../include/arch/unix.h:135: warning: data definition has no type or 
storage class
../include/arch/unix.h:138: error: syntax error before "emulation_options"
../include/arch/unix.h:138: warning: type defaults to `int' in 
declaration of `emulation_options'
../include/arch/unix.h:138: warning: data definition has no type or 
storage class
In file included from nutinit.c:81:
../include/sys/thread.h:113: error: syntax error before "u_char"
../include/sys/thread.h:113: warning: no semicolon at end of struct or union
../include/sys/thread.h:114: warning: type defaults to `int' in 
declaration of `td_state'
../include/sys/thread.h:114: warning: data definition has no type or 
storage class
../include/sys/thread.h:116: error: syntax error before "td_priority"
../include/sys/thread.h:116: warning: type defaults to `int' in 
declaration of `td_priority'
../include/sys/thread.h:116: warning: data definition has no type or 
storage class
../include/sys/thread.h:117: error: syntax error before '*' token
../include/sys/thread.h:117: warning: type defaults to `int' in 
declaration of `td_memory'
../include/sys/thread.h:117: warning: data definition has no type or 
storage class
../include/sys/thread.h:121: error: syntax error before "td_pthread"
../include/sys/thread.h:121: warning: type defaults to `int' in 
declaration of `td_pthread'
../include/sys/thread.h:121: warning: data definition has no type or 
storage class
../include/sys/thread.h:124: error: syntax error before "td_cv"
../include/sys/thread.h:124: warning: type defaults to `int' in 
declaration of `td_cv'
../include/sys/thread.h:124: warning: data definition has no type or 
storage class
../include/sys/thread.h:125: error: syntax error before "td_cs_level"
../include/sys/thread.h:125: warning: type defaults to `int' in 
declaration of `td_cs_level'
../include/sys/thread.h:125: warning: data definition has no type or 
storage class
../include/sys/thread.h:155: error: syntax error before '*' token
../include/sys/thread.h:155: error: `NutThreadCreate' declared as 
function returning a function
../include/sys/thread.h:155: warning: function declaration isn't a prototype
../include/sys/thread.h:155: error: syntax error before "void"
../include/sys/thread.h:156: error: syntax error before 
"NutThreadSetPriority"
../include/sys/thread.h:156: error: syntax error before "level"
../include/sys/thread.h:156: warning: type defaults to `int' in 
declaration of `NutThreadSetPriority'
../include/sys/thread.h:156: warning: function declaration isn't a prototype
../include/sys/thread.h:156: warning: data definition has no type or 
storage class
../include/sys/thread.h:170: error: syntax error before '*' token
../include/sys/thread.h:170: warning: function declaration isn't a prototype
In file included from nutinit.c:82:



Harald Kipp wrote:

> Dan,
>
> please provide a copy and paste of the make output.
>
> Harald
>
> At 19:11 26.11.2004 -0900, you wrote:
>
>> I'm trying to use the ethernut stuff under linux (Fedora Core 2, 
>> default kernel 2.6.5-1.358)
>>
>>
>> Long story short, after spending 2 days getting lua to work; I've 
>> finally gotten nutconf to work.  I went through the steps and set 
>> things up.  However, the build fails.  So, I went to the command line 
>> and typed make clean, and all was cleaned.  Next I typed make and I 
>> got an error saying sys/types_orig.h doesn't exist.  What/how is this 
>> file created?
>

-- 
Pinky, Are you thinking what I'm thinking? 

I think so, Brain, but where are we going to get latex gloves, a swimming pool filled with vaseline and a herd of yaks at THIS time of night?




More information about the En-Nut-Discussion mailing list