π
<-

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 Legimet » 13 Dec 2015, 05:09

Maybe mingw64-gmp-dev will work? I have no experience with MinGW though.
User avatar
LegimetProgrammeur
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 8%
 
Posts: 13
Joined: 12 Dec 2013, 02:49
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Le SDK Ndless devient disponible comme conteneur Docker.

Unread postby critor » 14 Dec 2015, 00:15

Thanks.

@Adriweb the GUI doesn't change anythin, as it runs the same command-line.

@Legimet no such package.

If I run MINGW32 and not MINGW64, most libraries are found but not all.
Is using MINGW32 a problem ?

Code: Select all
MINGW 32 BIT BUILD ENVIRONMENT

Xavier@Xavier-X550C ~
$ cd Ndless-master/ndless-sdk/toolchain/

Xavier@Xavier-X550C ~/Ndless-master/ndless-sdk/toolchain
$ ./build_toolchain.sh
Building and installing to '/home/Xavier/Ndless-master/ndless-sdk/toolchain/inst
all'...
c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot
find -lpython2.7
collect2.exe: error: ld returned 1 exit status
libpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!
c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot
find -lboost_program_options
collect2.exe: error: ld returned 1 exit status
boost (libboost-program-options-dev/boost-devel) dependency seems to be missing!
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
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 » 14 Dec 2015, 00:23

critor wrote:@Adriweb the GUI doesn't change anythin, as it runs the same command-line.

I know, it's just much more practical :)

critor wrote:
Code: Select all
c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lpython2.7
collect2.exe: error: ld returned 1 exit status
libpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!

I've already said python isn't needed ;) Remove it from the .sh script ("--with-python" on the GDB line, and the dependency test line).

critor wrote:
Code: Select all
c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lboost_program_options
collect2.exe: error: ld returned 1 exit status
boost (libboost-program-options-dev/boost-devel) dependency seems to be missing!

Hm. Try installing libboost-program-options-dev if it's not already ?

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 » 14 Dec 2015, 00:26

Adriweb wrote:
critor wrote:
Code: Select all
c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lboost_program_options
collect2.exe: error: ld returned 1 exit status
boost (libboost-program-options-dev/boost-devel) dependency seems to be missing!

Hm. Try installing libboost-program-options-dev if it's not already ?


Thanks.

Already tried with various names :
Code: Select all
Xavier@Xavier-X550C ~/Ndless-master/ndless-sdk/toolchain
$ mingw-get install libboost-program-options-dev
mingw-get.exe: *** ERROR *** libboost-program-options-dev: unknown package

Couldn't find anything like this in the mingw-get GUI list either. :(
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
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 » 14 Dec 2015, 06:24

It could be called "boost-devel" or similiar. If it doesn't exist somehow, compiling isn't hard:
https://stackoverflow.com/questions/784 ... w-compiler
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 critor » 14 Dec 2015, 17:45

I've tried as Adriweb said, by removing the Python and libboost checks in the script.

And I haven't been lucky... After many lines, the script seems to freeze and doesn't go back to the prompt. :(
Code: Select all
checking for c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld
.exe option to reload object files... -r
checking for i686-pc-mingw32-objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for i686-pc-mingw32-ar... (cached) ar
checking for i686-pc-mingw32-strip... no
checking for strip... strip
checking for i686-pc-mingw32-ranlib... (cached) ranlib
checking command to parse nm output from gcc object... ok
checking for dlfcn.h... ok
checking for dlfcn.h... yes
checking for objdir... .libs
yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... checking if gcc supports -
fno-rtti -fno-exceptions... 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
checking if gcc static flag -static works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../
../../mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/32/bin/../lib/gcc/mingw32/4.8.1/../../
../../mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... 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... no
checking whether to build static libraries... 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... no
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshad
ow
checking for windows.h... checking whether gcc supports -Wmissing-field-initiali
zers... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... no
checking whether NLS is requested... no
checking whether NLS is requested... no
yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for library containing dlopen... checking for xgettext... no
checking for msgmerge... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... checking limits.h
usability... yes
checking limits.h presence... yes
checking for limits.h... yes
unknown
checking for _LARGE_FILES value needed for large files... checking whether strin
g.h and strings.h may both be included... config.status: executing libtool comma
nds
yes
checking whether basename is declared... unknown
no
config.status: executing default-1 commands
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshad
ow
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... no
checking whether NLS is requested... no
checking whether NLS is requested... no
checking whether stpcpy is declared... config.status: creating po/POTFILES
config.status: creating po/Makefile
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
no
checking for msgmerge... no
checking size of long long... checking for sigsetjmp... if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/alloca.c -o pic/alloca.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/regex.c -o regex.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/md5.c -o noasan/md5.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/cplus-dem.c -o cplus-dem.o
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/cp-demangle.c -o cp-demangle.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/sha1.c -o noasan/sha1.o; \
        else true; fi

checking linker --as-needed support... yes
checking for cos in -lm... 8
checking size of void *... yes
4
checking size of long... configure: updating cache ./config.cache
configure: creating ./config.status
4
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/resource.h usability... no
checking sys/resource.h presence... no
checking for sys/resource.h... no
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... config.status: creating Makefile
config.status: creating po/Makefile.in
yes
checking for int_fast32_t... config.status: creating config.h
config.status: executing depfiles commands
yes
checking for uint64_t... yes
checking what to include in bfd_stdint.h... stdint.h (already complete)
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether string.h and strings.h may both be included... yes
checking for fcntl... no
checking for getpagesize... yes
checking for setitimer... no
checking for sysconf... config.status: executing libtool commands
no
checking for fdopen... config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
yes
checking for getuid... if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/argv.c -o pic/argv.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/alloca.c -o noasan/alloca.o;
\
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/md5.c -o md5.o
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/sha1.c -o sha1.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/choose-temp.c -o pic/choose-te
mp.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/concat.c -o pic/concat.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/cp-demint.c -o pic/cp-demint.o
; \
        else true; fi
no
checking for getgid... no
checking for fileno... yes
checking for strtoull... yes
checking for getrlimit... no
checking whether basename is declared... no
checking whether ftello is declared... no
checking whether ftello64 is declared... yes
checking whether fseeko is declared... no
checking whether fseeko64 is declared... yes
checking whether ffs is declared... no
checking whether free is declared... yes
checking whether getenv is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether stpcpy is declared... no
checking whether strstr is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether strnlen is declared... no
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking linker --as-needed support... yes
checking for cos in -lm... yes
checking for ftello... no
checking for ftello64... yes
checking for fseeko... no
checking for fseeko64... yes
checking for fopen64... yes
checking file_ptr type... BFD_HOST_64_BIT
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for madvise... no
checking for mprotect... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bfd-in3.h
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/crc32.c -o pic/crc32.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/choose-temp.c -o noasan/choos
e-temp.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/cp-demint.c -o noasan/cp-demi
nt.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/concat.c -o noasan/concat.o;
\
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/argv.c -o noasan/argv.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/d-demangle.c -o pic/d-demangle
.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/dwarfnames.c -o pic/dwarfnames
.o; \
        else true; fi


It's quite strange, as I cannot kill the script with Ctrl+C.
I have to press the MINGW window close button, which doesn't close the window but gives me the prompt, as if there was some dialog box opened...

Here are my modified lines in the script :
Code: Select all
OPTIONS_GDB="--target=$TARGET --prefix=$PREFIX --enable-interwork --enable-multilib --disable-werror" #--with-python
#if ! gcc -lpython2.7 test.c -o test; then error=1; echo 'libpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!'; fi
#if ! gcc -lboost_program_options-mt test.c -o test > /dev/null 2>&1 && ! gcc -lboost_program_options test.c -o test; then error=1; echo 'boost (libboost-program-options-dev/boost-devel) dependency seems to be missing!'; fi
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
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 critor » 17 Dec 2015, 01:50

Reinstalled MingW32 + Msys from scratch.
Installed Python 2.7.
Added a symbolic link to the Python library in /mingw/lib .
Built libboost.
Added a symbolic link to the libboost_program_options library in /mingw/lib .

Now, the original Ndless sdk script is able to start.

But I still have the same problem; after many lines the script seems to freeze and doesn't return to the prompt :
Code: Select all
yes
checking for objdir... checking for objdir... .libs
.libs
checking if gcc supports -fno-rtti -fno-exceptions... checking if gcc supports -
fno-rtti -fno-exceptions... 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
checking if gcc static flag -static works... yes
checking if gcc static flag -static works... config.status: executing libtool co
mmands
yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../
../mingw32/bin/ld.exe) supports shared libraries... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../
../mingw32/bin/ld.exe) supports shared libraries... config.status: executing def
ault-1 commands
yes
checking dynamic linker characteristics... yes
checking dynamic linker characteristics... config.status: creating po/POTFILES
config.status: creating po/Makefile
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... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
no
checking if libtool supports shared libraries... checking whether to build stati
c libraries... yes
yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for dlfcn.h... (cached) yes
checking for windows.h... Setting warning flags = -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -Wshadow
checking whether gcc supports -Wmissing-field-initializers... if [ x"" != x ]; t
hen \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/sha1.c -o pic/sha1.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/md5.c -o noasan/md5.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/cplus-dem.c -o cplus-dem.o
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/regex.c -o regex.o
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/cp-demangle.c -o cp-demangle.o
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/sha1.c -o noasan/sha1.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/alloca.c -o pic/alloca.o; \
        else true; fi
yes
yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... no
checking whether NLS is requested... no
checking whether NLS is requested... no
checking for library containing dlopen... checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for string.h... (cached) yes
none required
checking for special C compiler options needed for large files... checking for s
trings.h... (cached) yes
no
checking for _FILE_OFFSET_BITS value needed for large files... checking for stdl
ib.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... unknown
checking for _LARGE_FILES value needed for large files... yes
checking for limits.h... yes
checking whether string.h and strings.h may both be included... unknown
yes
checking whether basename is declared... Setting warning flags = -W -Wall -Wstri
ct-prototypes -Wmissing-prototypes -Wshadow
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... no
checking whether NLS is requested... no
checking whether NLS is requested... no
checking for msgfmt... no
checking for gmsgfmt... :
no
checking for xgettext... no
checking whether stpcpy is declared... checking for msgmerge... no
checking size of long long... no
checking for sigsetjmp...
checking linker --as-needed support... yes
checking for cos in -lm... 8
checking size of void *... yes
4
checking size of long... configure: updating cache ./config.cache
configure: creating ./config.status
4
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/stat.h... (cached) yes
checking sys/resource.h usability... no
checking sys/resource.h presence... no
checking for sys/resource.h... no
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... config.status: creating Makefile
yes
checking for int_fast32_t... config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
yes
checking for uint64_t... yes
checking what to include in bfd_stdint.h... stdint.h (already complete)
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether string.h and strings.h may both be included... yes
checking for fcntl... no
checking for getpagesize... yes
checking for setitimer... no
checking for sysconf... no
checking for fdopen... config.status: executing libtool commands
yes
checking for getuid... config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
no
checking for getgid... if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/argv.c -o pic/argv.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/sha1.c -o sha1.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/alloca.c -o noasan/alloca.o;
\
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/choose-temp.c -o pic/choose-te
mp.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/concat.c -o pic/concat.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/cp-demint.c -o pic/cp-demint.o
; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/crc32.c -o pic/crc32.o; \
        else true; fi
no
checking for fileno... yes
checking for strtoull... yes
checking for getrlimit... no
checking whether basename is declared... no
checking whether ftello is declared... no
checking whether ftello64 is declared... yes
checking whether fseeko is declared... no
checking whether fseeko64 is declared... yes
checking whether ffs is declared... no
checking whether free is declared... yes
checking whether getenv is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether stpcpy is declared... no
checking whether strstr is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether strnlen is declared... no
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking linker --as-needed support... yes
checking for cos in -lm... yes
checking for ftello... no
checking for ftello64... yes
checking for fseeko... no
checking for fseeko64... yes
checking for fopen64... yes
checking file_ptr type... BFD_HOST_64_BIT
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for madvise... no
checking for mprotect... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating bfd-in3.h
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/d-demangle.c -o pic/d-demangle
.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/argv.c -o noasan/argv.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/crc32.c -o noasan/crc32.o; \
        else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/li
biberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -p
edantic  ../../binutils-2.25/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/choose-temp.c -o noasan/choos
e-temp.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/cp-demint.c -o noasan/cp-demi
nt.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic    ../../binutils-2.25/libiberty/concat.c -o noasan/concat.o;
\
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binuti
ls-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-pro
totypes -pedantic   ../../binutils-2.25/libiberty/dwarfnames.c -o pic/dwarfnames
.o; \
        else true; fi



Please, help... :(
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 48%
 
Posts: 41981
Images: 15887
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 » 17 Dec 2015, 09:40

Maybe it just takes some time (look at the task manager to see if something is using the CPU)

I'll try with mingw32 from scratch on my VM... see if I get the same thing


Edit: well, it looks like it's somewhat the same issue (not exactly ?) :
Code: Select all
gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ../../binutils-2.25/libiberty/crc32.c -o crc32.o
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ../../binutils-2.25/libiberty/dwarfnames.c -o pic/dwarfnames.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ../../binutils-2.25/libiberty/dyn-string.c -o pic/dyn-string.o; \
        else true; fi
if [ x"" != x ]; then \
          gcc -c -DHAVE_CONFIG_H -g -O2 -D__USE_MINGW_ACCESS  -I. -I../../binutils-2.25/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic   ../../binutils-2.25/libiberty/fdmatch.c -o pic/fdmatch.o; \
        else true; fi
../../binutils-2.25/libiberty/d-demangle.c: In function 'dlang_parse_real':
../../binutils-2.25/libiberty/d-demangle.c:885:3: warning: unknown conversion type character 'L' in format [-Wformat=]
   len = snprintf (buffer, sizeof(buffer), "%#Lg", value);
   ^
../../binutils-2.25/libiberty/d-demangle.c:885:3: warning: too many arguments for format [-Wformat-extra-args]


I want to try with http://sourceforge.net/projects/msys2/, which works with cygwin, so it's probably better

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 Adriweb » 17 Dec 2015, 15:07

Hmmm, it may have been a $PARALLEL issue for me. I'm now redoing everything cleanly with MSYS2, but for you critor, try putting PARALLEL="" in the .sh, towards the beginning, instead of the j4 it currently has.
(On my VM at least, make threw some internal jobserver errors...)

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 Vogtinator » 17 Dec 2015, 17:21

Cygwin is tested and works: http://hackspire.unsads.com/wiki/index. ... On_Windows
I'm not sure whether anything different from cygwin works anyway, it may handle paths differently.
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

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: ClaudeBot [spider] and 13 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.
739 utilisateurs:
>722 invités
>11 membres
>6 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)