mringwal at inf.ethz.ch
Thu Dec 22 10:51:46 CET 2011
that looks like a simple compile problem :) Try to understand the error message to see what causes this. One problem of the unix emulation was that Nut/OS uses similar names/structures to do similar stuff and the unix emulation had to separate those.
On 20.12.2011, at 15:08, Ayman Hendawy wrote:
> Dear All,
> I tried to build unix emulation using the guide in the following link
> on ubuntu 11.04,
> when I tried to do "make" in the lib directory I get the following errors:
> make -C ../arch
> make: 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: *** [unix/dev/unix_devs.o] Error 1
> make: Leaving directory `/home/myz/Documents/ethernut-4.4.1/arch'
> make: *** [all] Error 2
> could any one advice me what to do..................
> Best regards
> Ayman Hendawy
> Embedded system engineer
More information about the En-Nut-Discussion