[En-Nut-Discussion] Unixemulation
Matthias Ringwald
mringwal at inf.ethz.ch
Thu Dec 22 10:51:46 CET 2011
Hi Ayman
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.
Cheers
Matthias
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
> 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
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list