[En-Nut-Discussion] Unixemulation

Ayman Hendawy ayman.hendawy at gmail.com
Tue Dec 20 15:08:56 CET 2011


Dear All,

I tried to build unix emulation using the guide in the following link
http://www.ethernut.de/nutwiki/UnixEmulationInstallation

on ubuntu 11.04,

when I tried to do "make" in the lib directory I get the following errors:

make -C ../arch
make[1]: Entering directory `/home/myz/Documents/ethernut-4.4.1/arch'
gcc  -c -g -Os -Wall -Werror -Wstrict-prototypes   -I../include
unix/dev/unix_devs.c -o unix/dev/unix_devs.o
In file included from /usr/include/fcntl.h:41:0,
                 from ../include/fcntl_orig.h:1,
                 from unix/dev/unix_devs.c:47:
/usr/include/bits/stat.h:91:21: error: field ‘st_atim’ has incomplete type
/usr/include/bits/stat.h:92:21: error: field ‘st_mtim’ has incomplete type
/usr/include/bits/stat.h:93:21: error: field ‘st_ctim’ has incomplete type
make[1]: *** [unix/dev/unix_devs.o] Error 1
make[1]: Leaving directory `/home/myz/Documents/ethernut-4.4.1/arch'
make: *** [all] Error 2

could any one advice me what to do..................

Thanks

-- 
Best regards

Ayman Hendawy
Embedded system engineer


More information about the En-Nut-Discussion mailing list