[En-Nut-Discussion] Unix emulation

Bas Nedermeijer basneder at tdlnx.student.utwente.nl
Tue May 16 21:38:47 CEST 2006


Hello,

i am trying to get the examples from ethernut 4.0.3 to work in the 
unix-emulation. I couldnt find what is supported when using this.

i used ./nutsetup to select "Unix emulation", after this i ran "make" and 
"make install" from the lib-dir, as instructed. This worked except for one 
instruction, but i couldn't determine which file was missing.

$ make install
make -C ../arch install
make[1]: Entering directory `/stuff/src_local/ethernut-4.0.3/Barch'
cp libnutarch.a ../lib/gcc/unix/libnutarch.a
cp  ../lib/gcc/unix/
cp: missing destination file operand after `../lib/gcc/unix/'
Try `cp --help' for more information.
make[1]: [install] Error 1 (ignored)





The httpserv - app, gives me this:

gcc  -c -Os -Wall -Wstrict-prototypes -Wa,-ahlms=httpserv.lst 
-I../../include  httpserv.c -o httpserv.o
httpserv.c: In function `ShowSockets':
httpserv.c:380: warning: implicit declaration of function `ntohs'
httpserv.c: In function `NutAppMain':
httpserv.c:554: error: `devEth0' undeclared (first use in this function)
httpserv.c:554: error: (Each undeclared identifier is reported only once
httpserv.c:554: error: for each function it appears in.)
httpserv.c:568: warning: implicit declaration of function `NutNetIfConfig'
make: *** [httpserv.o] Error 1

Please help  :)


Thanks in advance,

Bas



More information about the En-Nut-Discussion mailing list