π
<-

Le SDK Ndless devient disponible comme conteneur Docker...

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby critor » 19 Dec 2015, 14:40

I've tried to apply the patch manually.

So, the original section in "time.in.h" is :
Code: Select all
#   include <sys/time.h>
#  elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@
#   include <pthread.h>
/* The pthreads-win32 <pthread.h> also defines a couple of broken macros.  */
#   undef asctime_r
#   undef ctime_r
#   undef gmtime_r
#   undef localtime_r
#   undef rand_r
#   undef strtok_r
#  else

#   ifdef __cplusplus


The matching patch section is :
Code: Select all
diff --git a/lib/time.in.h b/lib/time.in.h
index 74bc154..c374aeb 100644
--- a/lib/time.in.h
+++ b/lib/time.in.h
@@ -55,6 +55,8 @@
#   include <sys/time.h>
#  elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@
#   include <pthread.h>
+#  elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@
+#   include <unistd.h>
#  else

#   ifdef __cplusplus


Thus I've patched the file like this :
Code: Select all
#   include <sys/time.h>
#  elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@
#   include <pthread.h>
/* The pthreads-win32 <pthread.h> also defines a couple of broken macros.  */
#   undef asctime_r
#   undef ctime_r
#   undef gmtime_r
#   undef localtime_r
#   undef rand_r
#   undef strtok_r
#  elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@
#   include <unistd.h>
#  else

#   ifdef __cplusplus


And I'm getting a strange error :
Code: Select all
gcc -DHAVE_CONFIG_H -I. -I../../../../gdb-7.9/gdb/gnulib/import -I..     -g -O2
-D__USE_MINGW_ACCESS -MT wctype-h.o -MD -MP -MF .deps/wctype-h.Tpo -c -o wctype-
h.o ../../../../gdb-7.9/gdb/gnulib/import/wctype-h.c
In file included from ./wctype.h:44:0,
                 from ../../../../gdb-7.9/gdb/gnulib/import/wctype-h.c:4:
./time.h:377:9: error: token "@" is not valid in preprocessor expressions
#  elif @UNISTD_H_DEFINES_STRUCT_TIMESPEC@

Strangely, it didn't complain about the same '@' token in the previous "elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@" preprocessor expression.........................................................................
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.5%
 
Posts: 41980
Images: 15737
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Vogtinator » 19 Dec 2015, 15:08

Just include unistd unconditionally. You can also skip building gdb entirely if you don't need it.
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Adriweb » 19 Dec 2015, 15:32

This specific error is because at the end of the patch there is another change to the make rules, which does the '@' substitution before building as we can see.
So, once the patch is applied on all the files, just make clean (or the equivalent) and reconfigure it so it will be taken into account (the .sh does that, you can see the ../$GDB/configure $OPTIONS_GDB).

Or do what Vogtinator suggested, bypassing the problem :P

But yeah, just skip GDB if you don't need it, since gcc and binutils are already done...

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby critor » 19 Dec 2015, 16:32

Thanks.
In which file do I have to patch the make rules ?
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.5%
 
Posts: 41980
Images: 15737
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Adriweb » 19 Dec 2015, 17:02

Well it's all in the patch file, you see the different changes over several files...

But just try as Vogtinato said : in lib/time.in.h, include unistd.h directly at the top or somewhere not in a pre-processor condition, as there won't (probably) be any need to worry about only conditionally including it (which is what those complicated makes rules are for).
There may be redefinition warnings, but they shouldn't matter I guess

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby critor » 19 Dec 2015, 17:18

Having performed both previous patches, if I did ask it's that the 3rd patch file is not described the same way in the patch file... :(
Code: Select all
diff --git a/modules/time b/modules/time
index fd3c05d..55edc25 100644
--- a/modules/time
+++ b/modules/time
@@ -49,6 +49,7 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
         -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \
         -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
         -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \
+         -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|$(UNISTD_H_DEFINES_STRUCT_TIMESPEC)|g' \
         -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
         -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
         -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
--
2.1.0


"modules/time" looks like a folder or binary, so it's probably incorrect.
And anyway, I cannot find such path in the sources tree.
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.5%
 
Posts: 41980
Images: 15737
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Adriweb » 19 Dec 2015, 17:43

Well, I don't know... The patch, as it is, is supposed to be OK. "modules/time" may get created after/during build... thus the .in.h to generate those need to be changed
From what I see, the file is : "ndless-sdk/toolchain/gdb-7.9/gdb/gnulib/import/time.in.h" (if that's the one needing changes)

If it still doesn't work (after re-configure and build, just in case), skip GDB for now and do the rest according to my post here, I'll try to upload my own GDB build later on, and whatever else you couldn't build.
Good thing gcc succeeded for you, that's the main thing.

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby critor » 19 Dec 2015, 19:56

Ok, I've switched to cygwin64.
It's much easier to setup.

All required libraries are available as packages through the GUI this time, ne need to manually download/build/setup libboost or libpython27 for example.
It didn't even complain about Python although I don't remember selecting such package myself.

But the build process aborts quite fast with a strange make error :
Code: Select all
Xavier@Xavier-X550C ~/Ndless-master/ndless-sdk/toolchain
$ ./build_toolchain.sh
Building and installing to '/home/Xavier/Ndless-master/ndless-sdk/toolchain/inst                                                                                                                all'...
Building Binutils...
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-none-eabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking to see if cat works as expected... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... no
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... tail +16c $$f1 > tmp-foo1; tail                                                                                                                 +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2
checking for objdir... .libs
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
checking for version 0.12 of ISL... no
checking for default BUILD_CONFIG...
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... no
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... dlltool
checking for ld... (cached) /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_                                                                                                                64-pc-cygwin/bin/ld.exe
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... windres
checking for windmc... windmc
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for arm-none-eabi-cc... no
checking for arm-none-eabi-gcc... no
checking for arm-none-eabi-c++... no
checking for arm-none-eabi-g++... no
checking for arm-none-eabi-cxx... no
checking for arm-none-eabi-gxx... no
checking for arm-none-eabi-gcc... no
checking for arm-none-eabi-gcj... no
checking for arm-none-eabi-gfortran... no
checking for arm-none-eabi-gccgo... no
checking for arm-none-eabi-ar... no
checking for arm-none-eabi-as... no
checking for arm-none-eabi-dlltool... no
checking for arm-none-eabi-ld... no
checking for arm-none-eabi-lipo... no
checking for arm-none-eabi-nm... no
checking for arm-none-eabi-objdump... no
checking for arm-none-eabi-ranlib... no
checking for arm-none-eabi-readelf... no
checking for arm-none-eabi-strip... no
checking for arm-none-eabi-windres... no
checking for arm-none-eabi-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
make[1] : on entre dans le répertoire « /home/Xavier/Ndless-master/ndless-sdk/to                                                                                                                olchain/build-binutils »
make[1]: rien à faire pour « all-target ».
mkdir -p -- ./etc
mkdir -p -- ./intl
mkdir -p -- ./libiberty
Configuring in ./etc
Configuring in ./intl
Configuring in ./libiberty
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo --split-size=5000000
configure: updating cache ./config.cache
configure: creating ./config.status
yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for perl... perl
checking for xgettext... no
checking for msgmerge... no
checking for x86_64-unknown-cygwin-gcc... gcc
checking build system type... x86_64-unknown-cygwin
checking host system type... checking for C compiler default output file name...                                                                                                                 x86_64-unknown-cygwin
checking for x86_64-unknown-cygwin-ar... ar
checking for x86_64-unknown-cygwin-ranlib... ranlib
checking whether to install libiberty headers and static library... no
configure: target_header_dir =
checking for x86_64-unknown-cygwin-gcc... gcc
a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... checking for C compiler default output fi                                                                                                                le name... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... config.status: creating Makefile
yes
checking for gcc option to accept ISO C89... .exe
none needed
checking for suffix of object files... checking build system type... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... x86_64-unknown-cygwin
checking host system type... yes
checking for gcc option to accept ISO C89... make[2] : on entre dans le répertoi                                                                                                                re « /home/Xavier/Ndless-master/ndless-sdk/toolchain/build-binutils/etc »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /home/Xavier/Ndless-master/ndless-sdk/toolch                                                                                                                ain/build-binutils/etc »
x86_64-unknown-cygwin
checking for x86_64-unknown-cygwin-ranlib... ranlib
checking for library containing strerror... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... none required
checking how to run the C preprocessor... gcc -E
gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... checking whether gcc supports -W... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wc++-compat... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking for an ANSI C-conforming const... yes
checking whether gcc supports -pedantic ... yes
checking for inline... yes
checking whether gcc and cc understand -c and -o together... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for an ANSI C-conforming const... yes
yes
checking for inline... checking for stdlib.h... inline
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for memory.h... yes
checking for sys/types.h... yes
yes
checking for strings.h... checking for sys/stat.h... yes
yes
checking for stdlib.h... checking for inttypes.h... yes
checking for string.h... yes
yes
checking for stdint.h... checking for memory.h... yes
yes
checking for unistd.h... checking for strings.h... yes
yes
checking for inttypes.h... checking for off_t... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether byte ordering is bigendian... yes
checking for working alloca.h... no
checking for a BSD-compatible install... /usr/bin/install -c
yes
checking for alloca... checking for sys/file.h... yes
checking for stdlib.h... (cached) yes
yes
checking for unistd.h... (cached) yes
checking for getpagesize... checking for sys/param.h... yes
checking for limits.h... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for malloc.h... yes
no
checking whether we are using the GNU C Library 2.1 or newer... checking for str                                                                                                                ing.h... (cached) yes
no
checking whether integer division by zero raises SIGFPE... checking for unistd.h                                                                                                                ... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
yes
checking for inttypes.h... checking for time.h... yes
checking for stdint.h... yes
yes
checking for sys/resource.h... checking for unsigned long long... yes
checking for sys/stat.h... (cached) yes
yes
checking for inttypes.h... checking for sys/mman.h... yes
checking whether the inttypes.h PRIxNN macros are broken... yes
checking for fcntl.h... no
checking for ld used by GCC... yes
checking for alloca.h... /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-                                                                                                                pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... yes
checking for sys/pstat.h... no
done
checking for sys/sysmp.h... checking argz.h usability... no
checking for sys/sysinfo.h... yes
checking argz.h presence... yes
yes
checking for argz.h... yes
checking for machine/hal_sysinfo.h... checking limits.h usability... yes
checking limits.h presence... no
checking for sys/table.h... yes
checking for limits.h... yes
checking locale.h usability... no
checking for sys/sysctl.h... yes
checking locale.h presence... no
yes
checking for locale.h... yes
checking for sys/systemcfg.h... checking nl_types.h usability... no
checking for stdint.h... (cached) yes
no
checking nl_types.h presence... checking for stdio_ext.h... yes
no
checking for nl_types.h... no
checking malloc.h usability... checking for process.h... yes
yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/prctl.h... checking stddef.h usability... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking stddef.h presence... yes
checking for stddef.h... yes
yes
checking whether time.h and sys/time.h may both be included... checking for stdl                                                                                                                ib.h... (cached) yes
yes
checking whether errno must be declared... checking for string.h... (cached) yes
no
checking size of int... checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
4
checking for a 64-bit type... checking for feof_unlocked... uint64_t
checking for intptr_t... yes
checking for fgets_unlocked... yes
checking for uintptr_t... yes
checking for getc_unlocked... yes
checking for ssize_t... yes
checking for getcwd... yes
checking for pid_t... yes
checking for getegid... yes
checking for library containing strerror... yes
none required
checking for asprintf... checking for geteuid... yes
yes
checking for getgid... checking for atexit... yes
yes
checking for getuid... checking for basename... yes
yes
checking for mempcpy... checking for bcmp... yes
yes
checking for munmap... checking for bcopy... yes
yes
checking for putenv... checking for bsearch... yes
yes
checking for setenv... checking for bzero... yes
checking for setlocale... yes
checking for calloc... yes
yes
checking for stpcpy... checking for clock... yes
yes
checking for ffs... checking for strcasecmp... yes
yes
checking for strdup... checking for getcwd... yes
yes
checking for getpagesize... checking for strtoul... yes
yes
checking for gettimeofday... checking for tsearch... yes
yes
checking for index... checking for __argz_count... yes
checking for insque... no
checking for __argz_stringify... yes
checking for memchr... no
checking for __argz_next... yes
no
checking for __fsetlocking... checking for memcmp... yes
yes
checking for iconv... checking for memcpy... yes
no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... checking for memmem... yes
checking for LC_MESSAGES... yes
checking for memmove... yes
checking for bison... no
checking whether NLS is requested... no
checking whether to use NLS... no
checking for aclocal... no
checking for autoconf... no
checking for autoheader... no
configure: updating cache ./config.cache
yes
configure: creating ./config.status
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... yes
checking for putenv... yes
config.status: creating Makefile
checking for random... config.status: creating config.intl
yes
config.status: creating config.h
checking for rename... config.status: executing default-1 commands
yes
checking for rindex... mkdir -p -- ./binutils
mkdir -p -- ./gas
mkdir -p -- ./ld
mkdir -p -- ./gprof
Configuring in ./gas
Configuring in ./binutils
Configuring in ./ld
Configuring in ./gprof
yes
make[2] : on entre dans le répertoire « /home/Xavier/Ndless-master/ndless-sdk/to                                                                                                                olchain/build-binutils/intl »
make[2]: rien à faire pour « all ».
make[2] : on quitte le répertoire « /home/Xavier/Ndless-master/ndless-sdk/toolch                                                                                                                ain/build-binutils/intl »
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... no
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
configure: creating cache ./config.cache
yes
checking build system type... checking build system type... checking build syste                                                                                                                m type... checking build system type... checking for strchr... x86_64-unknown-cy                                                                                                                gwin
checking host system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... yes
x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking target system type... arm-none-eabi
checking for x86_64-unknown-cygwin-gcc... gcc
checking for strdup... arm-none-eabi
checking for x86_64-unknown-cygwin-gcc... gcc
arm-none-eabi
checking for x86_64-unknown-cygwin-gcc... gcc
arm-none-eabi
checking for x86_64-unknown-cygwin-gcc... gcc
checking for C compiler default output file name... yes
checking for C compiler default output file name... checking for C compiler defa                                                                                                                ult output file name... checking for C compiler default output file name... chec                                                                                                                king for strncasecmp... a.exe
checking whether the C compiler works... yes
a.exe
checking whether the C compiler works... checking whether we are cross compiling                                                                                                                ... no
checking for suffix of executables... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... yes
checking whether we are cross compiling... no
checking for suffix of executables... yes
.exe
checking for suffix of object files... .exe
checking for suffix of object files... .exe
checking for strndup... checking for suffix of object files... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... yes
checking whether gcc accepts -g... yes
yes
checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none needed
checking for library containing strerror... none needed
checking for library containing strerror... checking for strnlen... none needed
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... checking for strrchr... yes
checking for strstr... yes
yes
checking for a thread-safe mkdir -p... yes
yes
/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for a thread-safe mkdir -p... /us                                                                                                                r/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for a thread-safe mkdir -p... /us                                                                                                                r/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for a thread-safe mkdir -p... /us                                                                                                                r/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
yes
yes
yes
checking for style of include used by make... checking for style of include used                                                                                                                 by make... GNU
checking for style of include used by make... GNU
checking for strtod... GNU
yes
checking for style of include used by make... GNU
checking dependency style of gcc... checking dependency style of gcc... checking                                                                                                                 dependency style of gcc... checking dependency style of gcc... yes
checking for strtol... yes
gcc3
checking for x86_64-unknown-cygwin-gcc... (cached) gcc
gcc3
checking for x86_64-unknown-cygwin-gcc... (cached) gcc
gcc3
checking for x86_64-unknown-cygwin-gcc... (cached) gcc
gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-unknown-cygwin-gcc... (cached) gcc
checking for strtoul... checking whether we are using the GNU C compiler... (cac                                                                                                                hed) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... checking whether we are using the GNU                                                                                                                 C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... checking whether we are using the GNU                                                                                                                 C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... yes
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for strverscmp... gcc -E
gcc -E
gcc -E
checking whether we are using the GNU C++ compiler... no
checking for grep that handles long lines and -e... checking for tmpnam... no
checking whether CC accepts -g... checking for grep that handles long lines and                                                                                                                 -e... checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for vasprintf... no
checking dependency style of CC... yes
yes
yes
yes
checking for sys/types.h... checking for sys/types.h... checking for vfprintf...                                                                                                                 checking for sys/types.h... yes
yes
yes
checking for sys/stat.h... gcc3
checking how to run the C preprocessor... checking for sys/stat.h... checking fo                                                                                                                r sys/stat.h... yes
yes
yes
yes
checking for vprintf... checking for stdlib.h... gcc -E
checking for stdlib.h... checking for stdlib.h... yes
yes
yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... checking for string.h... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for string.h... checking for string.h... yes
checking for vsnprintf... yes
yes
checking for memory.h... checking for memory.h... checking for memory.h... yes
yes
yes
yes
checking for strings.h... checking for strings.h... checking for vsprintf... che                                                                                                                cking for strings.h... yes
yes
yes
checking for sys/types.h... yes
checking for inttypes.h... checking for inttypes.h... yes
yes
checking for inttypes.h... yes
checking for sys/stat.h... yes
yes
checking for waitpid... checking for stdint.h... checking for stdint.h... yes
checking for stdint.h... yes
checking for stdlib.h... yes
yes
yes
checking for unistd.h... checking for unistd.h... yes
checking for setproctitle... checking for unistd.h... yes
checking for string.h... yes
checking minix/config.h usability... yes
checking minix/config.h usability... checking minix/config.h usability... yes
no
checking whether alloca needs Cray hooks... no
checking minix/config.h presence... checking for memory.h... no
checking stack direction for C alloca... no
checking minix/config.h presence... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... checking for strings.h..                                                                                                                . -1
yes
yes
checking how to print strings... checking how to print strings... checking for v                                                                                                                fork.h... yes
checking how to print strings... yes
no
checking for inttypes.h... printf
checking for a sed that does not truncate output... checking for fork... printf
checking for a sed that does not truncate output... printf
checking for a sed that does not truncate output... /usr/bin/sed
/usr/bin/sed
/usr/bin/sed
checking for fgrep... checking for fgrep... checking for fgrep... /usr/bin/grep                                                                                                                 -F
checking for ld used by gcc... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/grep -F
checking for ld used by gcc... yes
checking for stdint.h... yes
yes
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../.                                                                                                                ./x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/.                                                                                                                ./../../../x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... checking for vfork... checking for un                                                                                                                istd.h... yes
checking minix/config.h usability... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking whether the shell understands "+="... yes
checking whether the shell understands "+="... yes
yes
yes
yes
checking for /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bi                                                                                                                n/ld.exe option to reload object files... -r
checking for x86_64-unknown-cygwin-objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|                                                                                                                ^x86 DLL
checking for x86_64-unknown-cygwin-ar... ar
checking for x86_64-unknown-cygwin-strip... no
checking for strip... strip
checking for x86_64-unknown-cygwin-ranlib... ranlib
checking command to parse nm output from gcc object... checking for /usr/lib/gcc                                                                                                                /x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld.exe option to reload                                                                                                                 object files... -r
checking for x86_64-unknown-cygwin-objdump... objdump
checking for /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bi                                                                                                                n/ld.exe option to reload object files... -r
checking how to recognize dependent libraries... checking for x86_64-unknown-cyg                                                                                                                win-objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|                                                                                                                ^x86 DLL
checking for x86_64-unknown-cygwin-ar... ar
file_magic ^x86 archive import|^x86 DLL
checking for x86_64-unknown-cygwin-strip... checking for x86_64-unknown-cygwin-a                                                                                                                r... ar
checking for x86_64-unknown-cygwin-strip... no
checking for strip... no
checking for strip... strip
checking for x86_64-unknown-cygwin-ranlib... ranlib
strip
checking for x86_64-unknown-cygwin-ranlib... ranlib
checking command to parse nm output from gcc object... checking command to parse                                                                                                                 nm output from gcc object... checking for working fork... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for working vfork... (cached) yes
checking for _doprnt... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... ok
checking for dlfcn.h... ok
checking for dlfcn.h... no
checking for sys_errlist... ok
checking for dlfcn.h... yes
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... yes
checking for objdir... checking for objdir... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... yes
.libs
checking for objdir... .libs
.libs
yes
checking for sys_nerr... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bi                                                                                                                n/ld.exe option to reload object files... -r
checking for x86_64-unknown-cygwin-objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|                                                                                                                ^x86 DLL
checking for x86_64-unknown-cygwin-ar... ar
checking for x86_64-unknown-cygwin-strip... no
checking for strip... strip
checking for x86_64-unknown-cygwin-ranlib... ranlib
checking command to parse nm output from gcc object... checking if gcc supports                                                                                                                 -fno-rtti -fno-exceptions... yes
checking if gcc supports -fno-rtti -fno-exceptions... checking if gcc supports -                                                                                                                fno-rtti -fno-exceptions... checking for sys_siglist... /home/Xavier/Ndless-mast                                                                                                                er/ndless-sdk/toolchain/binutils-2.25/gas/configure: line 7982: diff: command no                                                                                                                t found
/home/Xavier/Ndless-master/ndless-sdk/toolchain/binutils-2.25/gprof/configure: l                                                                                                                ine 7912: diff: command not found
no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... /home/Xavier/Ndless-master/                                                                                                                ndless-sdk/toolchain/binutils-2.25/binutils/configure: line 8002: diff: command                                                                                                                 not found
no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
yes
checking if gcc static flag -static works... yes
checking if gcc static flag -static works... checking for external symbol _syste                                                                                                                m_configuration... yes
checking if gcc static flag -static works... ok
checking for dlfcn.h... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... no
yes
checking if gcc supports -c -o file.o... yes
checking for objdir... checking for __fsetlocking... .libs
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../..                                                                                                                /x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../..                                                                                                                /x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../..                                                                                                                /x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking whether -lc should be explicitly linked in... yes
checking whether -lc should be explicitly linked in... checking for canonicalize                                                                                                                _file_name... checking if gcc supports -fno-rtti -fno-exceptions... yes
checking dynamic linker characteristics... yes
checking dynamic linker characteristics... yes
checking dynamic linker characteristics... yes
/home/Xavier/Ndless-master/ndless-sdk/toolchain/binutils-2.25/ld/configure: line                                                                                                                 8727: diff: command not found
no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... checking for dup3... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
yes
checking for dlfcn.h... checking if gcc static flag -static works... (cached) ye                                                                                                                s
checking for dlfcn.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for windows.h... checking for windows.h... checking for windows.h... ye                                                                                                                s
yes
checking if gcc supports -c -o file.o... checking for getrlimit... yes
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../..                                                                                                                /x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... checking for getrusage...                                                                                                                 yes
checking dynamic linker characteristics... yes
Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... checking for getsysinfo... no
checking for gettimeofday... (cached) yes
checking for on_exit... /lib/cpp
yes
checking for psignal... configure: error: in `/home/Xavier/Ndless-master/ndless-                                                                                                                sdk/toolchain/build-binutils/ld':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
yes
checking for pstat_getdynamic... Makefile:7118 : la recette pour la cible « conf                                                                                                                igure-ld » a échouée
make[1]: *** [configure-ld] Erreur 1
make[1]: *** Attente des tâches non terminées....
no
checking for pstat_getstatic... no
checking for realpath... yes
yes
yes
checking for library containing dlopen... checking for library containing dlopen                                                                                                                ... checking for library containing dlopen... yes
checking for setrlimit... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
no
no
checking for setmode... yes
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshad                                                                                                                ow
checking whether byte ordering is bigendian... Setting warning flags = -W -Wall                                                                                                                 -Wstrict-prototypes -Wmissing-prototypes -Wshadow
checking for bison... /home/Xavier/Ndless-master/ndless-sdk/toolchain/binutils-2                                                                                                                .25/missing bison -y
checking for flex... /home/Xavier/Ndless-master/ndless-sdk/toolchain/binutils-2.                                                                                                                25/missing flex
checking for sbrk... checking lex output file root... lex.yy
checking lex library... no
checking whether NLS is requested... no
checking whether NLS is requested... no
yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no

checking whether yytext is a pointer... checking for spawnve... checking for msg                                                                                                                merge... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/gmon_out.h usability... no
no
checking sys/gmon_out.h presence... yes
yes
checking whether NLS is requested... no
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for spawnvpe... checking for bison... /home/Xavier/Ndless-master/ndless                                                                                                                -sdk/toolchain/binutils-2.25/missing bison -y
checking for xgettext... checking for flex... /home/Xavier/Ndless-master/ndless-                                                                                                                sdk/toolchain/binutils-2.25/missing flex
no
no
checking for sys/gmon_out.h... no
checking for a known getopt prototype in unistd.h... checking for msgmerge... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-unknown-cygwin-ranlib... (cached) ranlib
checking lex output file root... lex.yy
checking lex library... yes
checking for library containing fabs... checking for string.h... (cached) yes
yes
checking for strings.h... (cached) yes
checking for strerror... checking for stdlib.h... (cached) yes

checking whether yytext is a pointer... none required
checking for unistd.h... (cached) yes
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshad                                                                                                                ow
checking fcntl.h usability... yes
checking whether NLS is requested... no
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
configure: updating cache ./config.cache
yes
checking fcntl.h presence... checking for xgettext... no
configure: creating ./config.status
yes
yes
checking for fcntl.h... yes
checking for msgmerge... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for string.h... (cached) yes
checking sys/file.h usability... checking for strsignal... checking for stdlib.h                                                                                                                ... (cached) yes
yes
checking sys/file.h presence... checking for memory.h... (cached) yes
yes
checking for sys/file.h... yes
yes
checking for strings.h... (cached) yes
checking limits.h usability... checking for sysconf... checking for unistd.h...                                                                                                                 (cached) yes
checking errno.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
yes
yes
checking errno.h presence... checking locale.h usability... yes
checking for errno.h... yes
yes
checking locale.h presence... checking for sysctl... yes
checking for locale.h... yes
checking for sys/types.h... (cached) yes
checking sys/param.h usability... checking limits.h usability... yes
checking sys/param.h presence... yes
checking limits.h presence... no
yes
checking for limits.h... yes
yes
checking for sys/param.h... yes
checking for sysmp... checking wchar.h usability... checking locale.h usability.                                                                                                                .. yes
checking locale.h presence... yes
checking for locale.h... yes
no
yes
checking wchar.h presence... checking for table... yes
checking for wchar.h... yes
checking time.h usability... checking for sys/wait.h that is POSIX.1 compatible.                                                                                                                .. yes
checking time.h presence... yes
checking whether string.h and strings.h may both be included... no
yes
checking for time.h... yes
checking for times... yes
checking for working alloca.h... checking for sys/stat.h... (cached) yes
checking whether string.h and strings.h may both be included... yes
yes
checking whether compiling a cross-assembler... yes
checking for working alloca.h... yes
checking for alloca... checking for wait3... yes
yes
checking for alloca... checking for sbrk... yes
yes
checking for inline... yes
checking for wait4... inline
checking for unlink... checking for utimes... yes
yes
yes
checking whether basename is declared... checking for setmode... checking for sb                                                                                                                rk... no
checking whether ffs is declared... yes
no
checking for setlocale... checking for getc_unlocked... yes
checking whether asprintf is declared... yes
yes
checking for LC_MESSAGES... checking for strcoll... yes
checking whether vasprintf is declared... yes
checking for working assert macro... yes
yes
checking whether snprintf is declared... checking for setlocale... yes
checking whether declaration is required for errno... yes
checking whether vsnprintf is declared... yes
checking for mkstemp... no
checking for a known getopt prototype in unistd.h... yes
checking whether calloc is declared... yes
checking whether declaration is required for environ... yes
checking for mkdtemp... yes
checking whether getenv is declared... no
checking whether declaration is required for ffs... yes
checking for mbstate_t... yes
yes
checking for library containing frexp... checking whether getopt is declared...                                                                                                                 no
checking whether declaration is required for free... yes
none required
checking for LC_MESSAGES... checking whether malloc is declared... no
checking whether declaration is required for malloc... yes
yes
checking for time_t in time.h... checking whether realloc is declared... yes
checking for time_t in sys/types.h... no
checking whether declaration is required for sbrk... yes
yes
checking for a known getopt prototype in unistd.h... checking whether sbrk is de                                                                                                                clared... no
checking whether declaration is required for strstr... yes
checking for utime.h... yes
checking whether strverscmp is declared... yes
checking whether environ is declared... no
checking whether free is declared... no
checking whether canonicalize_file_name must be declared... yes
yes
checking whether fprintf is declared... checking whether getenv is declared... n                                                                                                                o
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
yes
yes
checking for getpagesize... (cached) yes
checking for working mmap... checking whether getc_unlocked is declared... check                                                                                                                ing whether malloc is declared... yes
yes
checking whether getenv is declared... config.status: creating Makefile
checking whether mempcpy is declared... no
checking for working strncmp... yes
yes
config.status: creating po/Makefile.in
checking whether sbrk is declared... checking whether realloc is declared... yes
yes
yes
checking whether snprintf is declared... config.status: creating gconfig.h
checking whether stpcpy is declared... configure: updating cache ./config.cache
yes
config.status: executing depfiles commands
configure: creating ./config.status
yes
checking whether stpcpy is declared... checking whether strstr is declared... ye                                                                                                                s
yes
checking whether strnlen is declared... checking whether vsnprintf is declared..                                                                                                                . yes
yes
checking for library containing zlibVersion... checking whether strstr is declar                                                                                                                ed... yes
checking whether vsnprintf is declared... yes
checking for library containing zlibVersion... config.status: executing libtool                                                                                                                 commands
-lz
checking zlib.h usability... yes
checking zlib.h presence... config.status: executing default-1 commands
yes
checking for zlib.h... yes
checking for struct tm.tm_gmtoff in time.h... -lz
checking zlib.h usability... config.status: creating Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
yes
checking for struct stat.st_mtim.tv_sec in sys/stat.h... yes
checking zlib.h presence... yes
checking for zlib.h... yes
config.status: creating testsuite/Makefile
checking iconv.h usability... yes
checking for struct stat.st_mtim.tv_nsec in sys/stat.h... yes
no
checking iconv.h presence... config.status: creating config.h
no
checking for iconv.h... no
checking for ld used by GCC... configure: updating cache ./config.cache
configure: creating ./config.status
config.status: executing default commands
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-p                                                                                                                c-cygwin/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... no, consider installing GNU libiconv
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating .gdbinit
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: executing default-1 commands
config.status: creating po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
make[1] : on quitte le répertoire « /home/Xavier/Ndless-master/ndless-sdk/toolch                                                                                                                ain/build-binutils »
Makefile:835 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2

Xavier@Xavier-X550C ~/Ndless-master/ndless-sdk/toolchain
$
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 47.5%
 
Posts: 41980
Images: 15737
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Vogtinator » 19 Dec 2015, 20:00

Don't use cygwin64 (or anything 64-bit on windows, it's all horribly broken, especially C++), cygwin (32) works fine.
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby Adriweb » 20 Dec 2015, 00:18

Indeed, I've deleted everything and started from scratch with cygwin (32), with the dependencies listed from the wiki, and currently not a single issue with the .sh file launched as-is :)
I suppose it'd be possible to redistribute a ready-to-use pre-built toolchain with that (as long as the user also installs cygwin with the deps)

Edit: The whole build_toolchain.sh script was done entirely without an error, on the first try*, with cygwin32 :)

* Assuming you have fixed github's symlink issue(s) beforehand, for instance zehn.h in genzehn, which has to be copied from ../../include because actual symlinks don't work from github [in windows ?].

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: ClaudeBot [spider] and 17 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
821 utilisateurs:
>771 invités
>40 membres
>10 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)