Issue About Windows Environment Setup


Tidy(ChunHua) Jiang <tidyjiang@...>
 

Hi ,


I'm trying to build zephyr in win7. I followed the document, but got an error when building the hello sample. The console displays:


$ make
make[1]: Entering directory `/d/me/zephyr-master'
make[2]: Entering directory `/d/me/zephyr-master/samples/hello_world/outdir/qemu_x86'
HOSTCC scripts/basic/fixdep
In file included from d:/me/zephyr-master/scripts/basic/fixdep.c:126:0:
c:\mingw\include\winsock2.h:103:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This may caus
e runtime problems with W32 sockets" [-Wcpp]
#warning "fd_set and associated macros have been defined in sys/types. \
^
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0xd2): undefined reference to `_ctype_'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0xdd): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0xf6): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0x12a): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0x168): undefined reference to `__swbuf'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text+0x17c): undefined reference to `__swbuf'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0xb0): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x200): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x4b4): undefined reference to `_ctype_'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x4e1): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x509): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x54f): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x5e5): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x619): undefined reference to `_impure_ptr'
C:\Users\Tidy\AppData\Local\Temp\ccpQ4tIt.o:fixdep.c:(.text.startup+0x65a): more undefined references to `_impure_ptr' follow
collect2.exe: error: ld returned 1 exit status
make[4]: *** [scripts/basic/fixdep] Error 1
make[3]: *** [scripts_basic] Error 2
Using /d/me/zephyr-master as source for kernel
GEN ./Makefile
CHK include/generated/version.h
make[2]: *** No rule to make target `include/config/auto.conf', needed by `prepare1'. Stop.
make[2]: Leaving directory `/d/me/zephyr-master/samples/hello_world/outdir/qemu_x86'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/d/me/zephyr-master'
make: *** [all] Error 2


Has anybody encounterd the same ?


Thanks.
tidyjiang(a)163.com

Join devel@lists.zephyrproject.org to automatically receive all group messages.