{"action":"created","issue":{"url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/1","labels_url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/1/comments","events_url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/1/events","html_url":"https://github.com/lancethepants/unbound-mipsel-linux/issues/1","id":129596199,"number":1,"title":"compilation error with openssl ver 1.0.2f","user":{"login":"leandroong","id":3615983,"avatar_url":"https://avatars.githubusercontent.com/u/3615983?v=3","gravatar_id":"","url":"https://api.github.com/users/leandroong","html_url":"https://github.com/leandroong","followers_url":"https://api.github.com/users/leandroong/followers","following_url":"https://api.github.com/users/leandroong/following{/other_user}","gists_url":"https://api.github.com/users/leandroong/gists{/gist_id}","starred_url":"https://api.github.com/users/leandroong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandroong/subscriptions","organizations_url":"https://api.github.com/users/leandroong/orgs","repos_url":"https://api.github.com/users/leandroong/repos","events_url":"https://api.github.com/users/leandroong/events{/privacy}","received_events_url":"https://api.github.com/users/leandroong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-28T22:04:46Z","updated_at":"2016-01-30T16:44:17Z","closed_at":null,"body":"Partial error as follows:\r\n....\r\nexpat-2.1.0/doc/\r\nexpat-2.1.0/doc/reference.html\r\nexpat-2.1.0/doc/valid-xhtml10.png\r\nexpat-2.1.0/doc/expat.png\r\nexpat-2.1.0/doc/style.css\r\nexpat-2.1.0/doc/xmlwf.1\r\nexpat-2.1.0/doc/xmlwf.sgml\r\nexpat-2.1.0/expat.pc.in\r\nexpat-2.1.0/win32/\r\nexpat-2.1.0/win32/MANIFEST.txt\r\nexpat-2.1.0/win32/README.txt\r\nexpat-2.1.0/win32/expat.iss\r\nexpat-2.1.0/tests/\r\nexpat-2.1.0/tests/runtests.c\r\nexpat-2.1.0/tests/chardata.c\r\nexpat-2.1.0/tests/xmltest.sh\r\nexpat-2.1.0/tests/minicheck.h\r\nexpat-2.1.0/tests/runtestspp.cpp\r\nexpat-2.1.0/tests/README.txt\r\nexpat-2.1.0/tests/benchmark/\r\nexpat-2.1.0/tests/benchmark/benchmark.dsw\r\nexpat-2.1.0/tests/benchmark/benchmark.dsp\r\nexpat-2.1.0/tests/benchmark/README.txt\r\nexpat-2.1.0/tests/benchmark/benchmark.c\r\nexpat-2.1.0/tests/chardata.h\r\nexpat-2.1.0/tests/minicheck.c\r\nexpat-2.1.0/expat_config.h.cmake\r\nexpat-2.1.0/CMake.README\r\nexpat-2.1.0/MANIFEST\r\nexpat-2.1.0/expat_config.h.in\r\nexpat-2.1.0/vms/\r\nexpat-2.1.0/vms/descrip.mms\r\nexpat-2.1.0/vms/expat_config.h\r\nexpat-2.1.0/vms/README.vms\r\nexpat-2.1.0/Makefile.in\r\nexpat-2.1.0/xmlwf/\r\nexpat-2.1.0/xmlwf/xmlfile.h\r\nexpat-2.1.0/xmlwf/xmlurl.h\r\nexpat-2.1.0/xmlwf/readfilemap.c\r\nexpat-2.1.0/xmlwf/win32filemap.c\r\nexpat-2.1.0/xmlwf/unixfilemap.c\r\nexpat-2.1.0/xmlwf/xmlmime.h\r\nexpat-2.1.0/xmlwf/ct.c\r\nexpat-2.1.0/xmlwf/xmlwf.dsp\r\nexpat-2.1.0/xmlwf/filemap.h\r\nexpat-2.1.0/xmlwf/codepage.c\r\nexpat-2.1.0/xmlwf/xmlfile.c\r\nexpat-2.1.0/xmlwf/xmlmime.c\r\nexpat-2.1.0/xmlwf/xmlwf.c\r\nexpat-2.1.0/xmlwf/xmlwin32url.cxx\r\nexpat-2.1.0/xmlwf/xmltchar.h\r\nexpat-2.1.0/xmlwf/codepage.h\r\nexpat-2.1.0/configure.in\r\nexpat-2.1.0/lib/\r\nexpat-2.1.0/lib/xmltok_ns.c\r\nexpat-2.1.0/lib/amigaconfig.h\r\nexpat-2.1.0/lib/xmltok.h\r\nexpat-2.1.0/lib/expat_external.h\r\nexpat-2.1.0/lib/iasciitab.h\r\nexpat-2.1.0/lib/Makefile.MPW\r\nexpat-2.1.0/lib/libexpat.def\r\nexpat-2.1.0/lib/winconfig.h\r\nexpat-2.1.0/lib/nametab.h\r\nexpat-2.1.0/lib/internal.h\r\nexpat-2.1.0/lib/xmlrole.c\r\nexpat-2.1.0/lib/expatw.dsp\r\nexpat-2.1.0/lib/asciitab.h\r\nexpat-2.1.0/lib/utf8tab.h\r\nexpat-2.1.0/lib/libexpatw.def\r\nexpat-2.1.0/lib/xmlparse.c\r\nexpat-2.1.0/lib/xmltok.c\r\nexpat-2.1.0/lib/ascii.h\r\nexpat-2.1.0/lib/xmltok_impl.h\r\nexpat-2.1.0/lib/latin1tab.h\r\nexpat-2.1.0/lib/expatw_static.dsp\r\nexpat-2.1.0/lib/macconfig.h\r\nexpat-2.1.0/lib/expat.dsp\r\nexpat-2.1.0/lib/xmlrole.h\r\nexpat-2.1.0/lib/xmltok_impl.c\r\nexpat-2.1.0/lib/expat_static.dsp\r\nexpat-2.1.0/lib/expat.h\r\nexpat-2.1.0/aclocal.m4\r\nconfigure: WARNING: if you wanted to set the --build type, don't use --host.\r\n    If a cross compiler is detected then cross compile mode will be used\r\nchecking build system type... i686-pc-linux-gnu\r\nchecking host system type... mipsel-unknown-linux-gnu\r\nchecking how to print strings... printf\r\nchecking for mipsel-linux-gcc... mipsel-linux-gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... yes\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether mipsel-linux-gcc accepts -g... yes\r\nchecking for mipsel-linux-gcc option to accept ISO C89... none needed\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for fgrep... /bin/grep -F\r\nchecking for ld used by mipsel-linux-gcc... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld\r\nchecking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /opt/entware-toolchain/bin/mipsel-linux-nm -B\r\nchecking the name lister (/opt/entware-toolchain/bin/mipsel-linux-nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1572864\r\nchecking whether the shell understands some XSI constructs... yes\r\nchecking whether the shell understands \"+=\"... yes\r\nchecking how to convert i686-pc-linux-gnu file names to mipsel-unknown-linux-gnu format... func_convert_file_noop\r\nchecking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop\r\nchecking for /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld option to reload object files... -r\r\nchecking for mipsel-linux-objdump... objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for mipsel-linux-dlltool... dlltool\r\nchecking how to associate runtime and link libraries... printf %s\\n\r\nchecking for mipsel-linux-ar... mipsel-linux-ar\r\nchecking for archiver @FILE support... @\r\nchecking for mipsel-linux-strip... mipsel-linux-strip\r\nchecking for mipsel-linux-ranlib... mipsel-linux-ranlib\r\nchecking for gawk... gawk\r\nchecking command to parse /opt/entware-toolchain/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok\r\nchecking for sysroot... no\r\nchecking for mipsel-linux-mt... no\r\nchecking for mt... mt\r\nconfigure: WARNING: using cross tools not prefixed with host triplet\r\nchecking if mt is a manifest tool... no\r\nchecking how to run the C preprocessor... mipsel-linux-gcc -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for mipsel-linux-gcc option to produce PIC... -fPIC -DPIC\r\nchecking if mipsel-linux-gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if mipsel-linux-gcc static flag -static works... yes\r\nchecking if mipsel-linux-gcc supports -c -o file.o... yes\r\nchecking if mipsel-linux-gcc supports -c -o file.o... (cached) yes\r\nchecking whether the mipsel-linux-gcc linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... yes\r\nchecking for mipsel-linux-gcc... (cached) mipsel-linux-gcc\r\nchecking whether we are using the GNU C compiler... (cached) yes\r\nchecking whether mipsel-linux-gcc accepts -g... (cached) yes\r\nchecking for mipsel-linux-gcc option to accept ISO C89... (cached) none needed\r\nchecking for mipsel-linux-g++... mipsel-linux-g++\r\nchecking whether we are using the GNU C++ compiler... yes\r\nchecking whether mipsel-linux-g++ accepts -g... yes\r\nchecking how to run the C++ preprocessor... mipsel-linux-g++ -E\r\nchecking for ld used by mipsel-linux-g++... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld\r\nchecking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes\r\nchecking whether the mipsel-linux-g++ linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes\r\nchecking for mipsel-linux-g++ option to produce PIC... -fPIC -DPIC\r\nchecking if mipsel-linux-g++ PIC flag -fPIC -DPIC works... yes\r\nchecking if mipsel-linux-g++ static flag -static works... yes\r\nchecking if mipsel-linux-g++ supports -c -o file.o... yes\r\nchecking if mipsel-linux-g++ supports -c -o file.o... (cached) yes\r\nchecking whether the mipsel-linux-g++ linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes\r\nchecking dynamic linker characteristics... (cached) GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether mipsel-linux-gcc accepts -fexceptions... yes\r\nchecking for ANSI C header files... (cached) yes\r\nchecking whether byte ordering is bigendian... no\r\nchecking for an ANSI C-conforming const... yes\r\nchecking for size_t... yes\r\nchecking for memmove... yes\r\nchecking for bcopy... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking for unistd.h... (cached) yes\r\nchecking for off_t... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for unistd.h... (cached) yes\r\nchecking for sys/param.h... yes\r\nchecking for getpagesize... yes\r\nchecking for working mmap... no\r\nchecking for mipsel-linux-gcc option to accept ISO C99... -std=gnu99\r\nchecking for mipsel-linux-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99\r\nchecking for an ANSI C99-conforming __func__... yes\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting\r\nconfig.status: creating expat.pc\r\nconfig.status: creating expat_config.h\r\nconfig.status: executing libtool commands\r\n/bin/bash ./libtool --silent --mode=compile mipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o lib/xmlparse.lo -c lib/xmlparse.c\r\n/bin/bash ./libtool --silent --mode=compile mipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o lib/xmltok.lo -c lib/xmltok.c\r\n/bin/bash ./libtool --silent --mode=compile mipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o lib/xmlrole.lo -c lib/xmlrole.c\r\n/bin/bash ./libtool --silent --mode=link mipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 7:0:6 -rpath /opt/lib -L/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib -Wl,--gc-sections -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo\r\nmipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c\r\nmipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c\r\nmipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o xmlwf/codepage.o -c xmlwf/codepage.c\r\nmipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -o xmlwf/readfilemap.o -c xmlwf/readfilemap.c\r\nxmlwf/readfilemap.c: In function 'filemap':\r\nxmlwf/readfilemap.c:61:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]\r\nxmlwf/readfilemap.c:83:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]\r\n/bin/bash ./libtool --silent --mode=link mipsel-linux-gcc -std=gnu99 -I./lib -I. -O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions  -I/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include -DHAVE_EXPAT_CONFIG_H -L/home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib -Wl,--gc-sections -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/readfilemap.o libexpat.la\r\n/bin/bash ./conftools/mkinstalldirs /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/pkgconfig\r\n/bin/bash ./libtool --mode=install /usr/bin/install -c libexpat.la /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.la\r\nlibtool: install: /usr/bin/install -c .libs/libexpat.so.1.6.0 /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.so.1.6.0\r\nlibtool: install: (cd /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib && { ln -s -f libexpat.so.1.6.0 libexpat.so.1 || { rm -f libexpat.so.1 && ln -s libexpat.so.1.6.0 libexpat.so.1; }; })\r\nlibtool: install: (cd /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib && { ln -s -f libexpat.so.1.6.0 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.1.6.0 libexpat.so; }; })\r\nlibtool: install: /usr/bin/install -c .libs/libexpat.lai /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.la\r\nlibtool: install: /usr/bin/install -c .libs/libexpat.a /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a\r\nlibtool: install: chmod 644 /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a\r\nlibtool: install: mipsel-linux-ranlib /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a\r\nlibtool: install: warning: remember to run `libtool --finish /opt/lib'\r\nfor FN in ./lib/expat.h ./lib/expat_external.h ; do /usr/bin/install -c -m 644 $FN /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/include ; done\r\n/usr/bin/install -c -m 644 expat.pc /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/pkgconfig/expat.pc\r\n/bin/bash ./conftools/mkinstalldirs /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/bin /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/share/man/man1\r\nmkdir /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/share/man/man1\r\n/bin/bash ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/bin/xmlwf\r\nlibtool: install: warning: `libexpat.la' has not been installed in `/opt/lib'\r\nlibtool: install: /usr/bin/install -c xmlwf/.libs/xmlwf /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/bin/xmlwf\r\n/usr/bin/install -c -m 644 ./doc/xmlwf.1 /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/share/man/man1\r\nchecking for mipsel-linux-gcc... mipsel-linux-gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... yes\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether mipsel-linux-gcc accepts -g... yes\r\nchecking for mipsel-linux-gcc option to accept ISO C89... none needed\r\nchecking how to run the C preprocessor... mipsel-linux-gcc -E\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking minix/config.h usability... no\r\nchecking minix/config.h presence... no\r\nchecking for minix/config.h... no\r\nchecking whether it is safe to define __EXTENSIONS__... yes\r\nchecking for an ANSI C-conforming const... yes\r\nchecking for mipsel-linux-gcc... (cached) mipsel-linux-gcc\r\nchecking whether we are using the GNU C compiler... (cached) yes\r\nchecking whether mipsel-linux-gcc accepts -g... (cached) yes\r\nchecking for mipsel-linux-gcc option to accept ISO C89... (cached) none needed\r\nchecking mipsel-linux-gcc dependency flag... -MM\r\nchecking whether mipsel-linux-gcc supports -Werror... yes\r\nchecking whether mipsel-linux-gcc supports -Wall... yes\r\nchecking whether mipsel-linux-gcc supports -std=c99... yes\r\nchecking whether mipsel-linux-gcc supports -xc99... no\r\nchecking for getopt.h... yes\r\nchecking for time.h... yes\r\nchecking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -std=c99 as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -D_GNU_SOURCE as a flag for mipsel-linux-gcc... yes\r\nchecking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -D_POSIX_C_SOURCE=200112 as a flag for mipsel-linux-gcc... no\r\nchecking whether we need -D__EXTENSIONS__ as a flag for mipsel-linux-gcc... no\r\nchecking if mipsel-linux-gcc supports -flto... yes\r\nchecking for inline... inline\r\nchecking whether the C compiler (mipsel-linux-gcc) accepts the \"format\" attribute... yes\r\nchecking whether the C compiler (mipsel-linux-gcc) accepts the \"unused\" attribute... yes\r\nchecking for flex... flex\r\nchecking lex output file root... lex.yy\r\nchecking lex library... none needed\r\nchecking whether yytext is a pointer... no\r\nchecking for yylex_destroy... yes\r\nchecking for bison... bison -y\r\nchecking for doxygen... doxygen\r\nchecking for mipsel-linux-strip... mipsel-linux-strip\r\nchecking build system type... i686-pc-linux-gnu\r\nchecking host system type... mipsel-unknown-linux-gnu\r\nchecking for mipsel-linux-ar... /opt/entware-toolchain/bin/mipsel-linux-ar\r\nchecking how to print strings... printf\r\nchecking for a sed that does not truncate output... /bin/sed\r\nchecking for fgrep... /bin/grep -F\r\nchecking for ld used by mipsel-linux-gcc... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld\r\nchecking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /opt/entware-toolchain/bin/mipsel-linux-nm -B\r\nchecking the name lister (/opt/entware-toolchain/bin/mipsel-linux-nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1572864\r\nchecking how to convert i686-pc-linux-gnu file names to mipsel-unknown-linux-gnu format... func_convert_file_noop\r\nchecking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop\r\nchecking for /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld option to reload object files... -r\r\nchecking for mipsel-linux-objdump... mipsel-linux-objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for mipsel-linux-dlltool... no\r\nchecking for dlltool... no\r\nchecking how to associate runtime and link libraries... printf %s\\n\r\nchecking for mipsel-linux-ar... /opt/entware-toolchain/bin/mipsel-linux-ar\r\nchecking for archiver @FILE support... @\r\nchecking for mipsel-linux-strip... (cached) mipsel-linux-strip\r\nchecking for mipsel-linux-ranlib... mipsel-linux-ranlib\r\nchecking for gawk... gawk\r\nchecking command to parse /opt/entware-toolchain/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok\r\nchecking for sysroot... no\r\nchecking for a working dd... /bin/dd\r\nchecking how to truncate binary pipes... /bin/dd bs=4096 count=1\r\nchecking for mipsel-linux-mt... no\r\nchecking for mt... mt\r\nconfigure: WARNING: using cross tools not prefixed with host triplet\r\nchecking if mt is a manifest tool... no\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for mipsel-linux-gcc option to produce PIC... -fPIC -DPIC\r\nchecking if mipsel-linux-gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if mipsel-linux-gcc static flag -static works... yes\r\nchecking if mipsel-linux-gcc supports -c -o file.o... yes\r\nchecking if mipsel-linux-gcc supports -c -o file.o... (cached) yes\r\nchecking whether the mipsel-linux-gcc linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... yes\r\nchecking for stdarg.h... yes\r\nchecking for stdbool.h... yes\r\nchecking for netinet/in.h... yes\r\nchecking for netinet/tcp.h... yes\r\nchecking for sys/param.h... yes\r\nchecking for sys/socket.h... yes\r\nchecking for sys/un.h... yes\r\nchecking for sys/uio.h... yes\r\nchecking for sys/resource.h... yes\r\nchecking for arpa/inet.h... yes\r\nchecking for syslog.h... yes\r\nchecking for netdb.h... yes\r\nchecking for sys/wait.h... yes\r\nchecking for pwd.h... yes\r\nchecking for glob.h... yes\r\nchecking for grp.h... yes\r\nchecking for login_cap.h... no\r\nchecking for winsock2.h... no\r\nchecking for ws2tcpip.h... no\r\nchecking for endian.h... yes\r\nchecking for int8_t... yes\r\nchecking for int16_t... yes\r\nchecking for int32_t... yes\r\nchecking for int64_t... yes\r\nchecking for uint8_t... yes\r\nchecking for uint16_t... yes\r\nchecking for uint32_t... yes\r\nchecking for uint64_t... yes\r\nchecking for size_t... yes\r\nchecking for ssize_t... yes\r\nchecking for uid_t in sys/types.h... yes\r\nchecking for pid_t... yes\r\nchecking for off_t... yes\r\nchecking for u_char... yes\r\nchecking for rlim_t... yes\r\nchecking for socklen_t... yes\r\nchecking for in_addr_t... yes\r\nchecking for in_port_t... yes\r\nchecking if memcmp compares unsigned... cross-compile no\r\nchecking size of time_t... 4\r\nchecking for library containing inet_pton... none required\r\nchecking for library containing socket... none required\r\nchecking for unistd.h... (cached) yes\r\nchecking for working chown... no\r\nchecking vfork.h usability... no\r\nchecking vfork.h presence... no\r\nchecking for vfork.h... no\r\nchecking for fork... yes\r\nchecking for vfork... yes\r\nchecking for working fork... cross\r\nconfigure: WARNING: result yes guessed because of cross compilation\r\nchecking for working vfork... (cached) yes\r\nchecking return type of signal handlers... void\r\nchecking for _LARGEFILE_SOURCE value needed for large files... no\r\nchecking for special C compiler options needed for large files... no\r\nchecking for _FILE_OFFSET_BITS value needed for large files... 64\r\nchecking whether we need -D_LARGEFILE_SOURCE=1 as a flag for mipsel-linux-gcc... no\r\nchecking if nonblocking sockets work... crosscompile(yes)\r\nchecking whether mkdir has one arg... no\r\nchecking for strptime... yes\r\nchecking whether strptime works... maybe\r\nchecking for GNU libc compatible malloc... no (crosscompile)\r\nchecking if compiler needs -Werror to reject unknown flags... no\r\nchecking for the pthreads library -lpthreads... no\r\nchecking whether pthreads work without any flags... no\r\nchecking whether pthreads work with -Kthread... no\r\nchecking whether pthreads work with -kthread... no\r\nchecking for the pthreads library -llthread... no\r\nchecking whether pthreads work with -pthread... yes\r\nchecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE\r\nchecking if more special flags are required for pthreads... no\r\nchecking for PTHREAD_PRIO_INHERIT... yes\r\nchecking for pthread_spinlock_t... yes\r\nchecking for pthread_rwlock_t... yes\r\nchecking if -pthread unused during linking... no\r\nchecking for SSL... found in /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt\r\nchecking for HMAC_CTX_init in -lcrypto... no\r\nchecking if -lcrypto needs -lgdi32... no\r\nchecking if -lcrypto needs -ldl... no\r\nconfigure: error: OpenSSL found in /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt, but version 0.9.7 or higher is required\r\nmake: *** No targets specified and no makefile found.  Stop.\r\nmake: *** No rule to make target `install'.  Stop.\r\nleandroong@VirtualBox-Ubuntu12:~/mipsel-static/build_script$ \r\n\r\n-----\r\nHere is updated script\r\n#!/bin/bash\r\n\r\nmkdir -p ~/mipsel-static/build_script/mipsel/unbound && cd ~/mipsel-static/build_script/mipsel/unbound\r\n\r\nBASE=`pwd`\r\nSRC=$BASE/src\r\nWGET=\"wget --prefer-family=IPv4\"\r\nDEST=$BASE/opt\r\nLDFLAGS=\"-L$DEST/lib -Wl,--gc-sections\"\r\nCPPFLAGS=\"-I$DEST/include\"\r\nCFLAGS=\"-O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections\"\r\nCXXFLAGS=$CFLAGS\r\nCONFIGURE=\"./configure --prefix=/opt --host=mipsel-linux\"\r\nMAKE=\"make -j`nproc`\"\r\nmkdir -p $SRC\r\n\r\n######## ####################################################################\r\n# ZLIB # ####################################################################\r\n######## ####################################################################\r\n\r\nmkdir $SRC/zlib && cd $SRC/zlib\r\n$WGET http://zlib.net/zlib-1.2.8.tar.gz\r\ntar zxvf zlib-1.2.8.tar.gz\r\ncd zlib-1.2.8\r\n\r\nLDFLAGS=$LDFLAGS \\\r\nCPPFLAGS=$CPPFLAGS \\\r\nCFLAGS=$CFLAGS \\\r\nCXXFLAGS=$CXXFLAGS \\\r\nCROSS_PREFIX=mipsel-linux- \\\r\n./configure \\\r\n--prefix=/opt\r\n\r\n$MAKE\r\nmake install DESTDIR=$BASE\r\n\r\n########### #################################################################\r\n# OPENSSL # #################################################################\r\n########### #################################################################\r\nmkdir -p $SRC/openssl && cd $SRC/openssl\r\n$WGET https://www.openssl.org/source/openssl-1.0.2f.tar.gz\r\ntar zxvf openssl-1.0.2f.tar.gz\r\ncd openssl-1.0.2f\r\n\r\n./Configure linux-mips32 \\\r\n-mtune=mips32 -mips32 \\\r\n-ffunction-sections -fdata-sections -Wl,--gc-sections \\\r\n--prefix=/opt shared zlib \\\r\n--with-zlib-lib=$DEST/lib \\\r\n--with-zlib-include=$DEST/include\r\n\r\nmake CC=mipsel-linux-gcc\r\nmake CC=mipsel-linux-gcc install INSTALLTOP=$DEST OPENSSLDIR=$DEST/ssl\r\n\r\n######### ###################################################################\r\n# EXPAT # ###################################################################\r\n######### ###################################################################\r\n\r\nmkdir $SRC/expat && cd $SRC/expat\r\n$WGET http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz\r\ntar zxvf expat-2.1.0.tar.gz\r\ncd expat-2.1.0\r\n\r\nLDFLAGS=$LDFLAGS \\\r\nCPPFLAGS=$CPPFLAGS \\\r\nCFLAGS=$CFLAGS \\\r\nCXXFLAGS=$CXXFLAGS \\\r\n$CONFIGURE \\\r\n--enable-static\r\n\r\n$MAKE\r\nmake install DESTDIR=$BASE\r\n\r\n########### #################################################################\r\n# UNBOUND # #################################################################\r\n########### #################################################################\r\n\r\nmkdir -p $SRC/unbound && cd $SRC/unbound\r\n#$WGET https://unbound.net/downloads/unbound-1.5.1.tar.gz\r\n#tar zxvf unbound-1.5.1.tar.gz\r\ncd unbound-master\r\n\r\nLDFLAGS=$LDFLAGS \\\r\nCPPFLAGS=$CPPFLAGS \\\r\nCFLAGS=$CFLAGS \\\r\nCXXFLAGS=$CXXFLAGS \\\r\n$CONFIGURE \\\r\n--with-ssl=$DEST \\\r\n--with-libexpat=$DEST\r\n\r\n$MAKE LIBS=\"-all-static -lcrypto -ldl\"\r\nmake install DESTDIR=$BASE/unbound_ipkg_install-master-013016\r\n"},"comment":{"url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/comments/177239822","html_url":"https://github.com/lancethepants/unbound-mipsel-linux/issues/1#issuecomment-177239822","issue_url":"https://api.github.com/repos/lancethepants/unbound-mipsel-linux/issues/1","id":177239822,"user":{"login":"leandroong","id":3615983,"avatar_url":"https://avatars.githubusercontent.com/u/3615983?v=3","gravatar_id":"","url":"https://api.github.com/users/leandroong","html_url":"https://github.com/leandroong","followers_url":"https://api.github.com/users/leandroong/followers","following_url":"https://api.github.com/users/leandroong/following{/other_user}","gists_url":"https://api.github.com/users/leandroong/gists{/gist_id}","starred_url":"https://api.github.com/users/leandroong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandroong/subscriptions","organizations_url":"https://api.github.com/users/leandroong/orgs","repos_url":"https://api.github.com/users/leandroong/repos","events_url":"https://api.github.com/users/leandroong/events{/privacy}","received_events_url":"https://api.github.com/users/leandroong/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T16:44:17Z","updated_at":"2016-01-30T16:44:17Z","body":"router compilation finished with error, openssl did not compiled successfully due to inclusion option \"--static\" in zlib. Will recompile .."}}