Coder Social home page Coder Social logo

unbound-mipsel-linux's Issues

compilation error with openssl ver 1.0.2f

Partial error as follows:
....
expat-2.1.0/doc/
expat-2.1.0/doc/reference.html
expat-2.1.0/doc/valid-xhtml10.png
expat-2.1.0/doc/expat.png
expat-2.1.0/doc/style.css
expat-2.1.0/doc/xmlwf.1
expat-2.1.0/doc/xmlwf.sgml
expat-2.1.0/expat.pc.in
expat-2.1.0/win32/
expat-2.1.0/win32/MANIFEST.txt
expat-2.1.0/win32/README.txt
expat-2.1.0/win32/expat.iss
expat-2.1.0/tests/
expat-2.1.0/tests/runtests.c
expat-2.1.0/tests/chardata.c
expat-2.1.0/tests/xmltest.sh
expat-2.1.0/tests/minicheck.h
expat-2.1.0/tests/runtestspp.cpp
expat-2.1.0/tests/README.txt
expat-2.1.0/tests/benchmark/
expat-2.1.0/tests/benchmark/benchmark.dsw
expat-2.1.0/tests/benchmark/benchmark.dsp
expat-2.1.0/tests/benchmark/README.txt
expat-2.1.0/tests/benchmark/benchmark.c
expat-2.1.0/tests/chardata.h
expat-2.1.0/tests/minicheck.c
expat-2.1.0/expat_config.h.cmake
expat-2.1.0/CMake.README
expat-2.1.0/MANIFEST
expat-2.1.0/expat_config.h.in
expat-2.1.0/vms/
expat-2.1.0/vms/descrip.mms
expat-2.1.0/vms/expat_config.h
expat-2.1.0/vms/README.vms
expat-2.1.0/Makefile.in
expat-2.1.0/xmlwf/
expat-2.1.0/xmlwf/xmlfile.h
expat-2.1.0/xmlwf/xmlurl.h
expat-2.1.0/xmlwf/readfilemap.c
expat-2.1.0/xmlwf/win32filemap.c
expat-2.1.0/xmlwf/unixfilemap.c
expat-2.1.0/xmlwf/xmlmime.h
expat-2.1.0/xmlwf/ct.c
expat-2.1.0/xmlwf/xmlwf.dsp
expat-2.1.0/xmlwf/filemap.h
expat-2.1.0/xmlwf/codepage.c
expat-2.1.0/xmlwf/xmlfile.c
expat-2.1.0/xmlwf/xmlmime.c
expat-2.1.0/xmlwf/xmlwf.c
expat-2.1.0/xmlwf/xmlwin32url.cxx
expat-2.1.0/xmlwf/xmltchar.h
expat-2.1.0/xmlwf/codepage.h
expat-2.1.0/configure.in
expat-2.1.0/lib/
expat-2.1.0/lib/xmltok_ns.c
expat-2.1.0/lib/amigaconfig.h
expat-2.1.0/lib/xmltok.h
expat-2.1.0/lib/expat_external.h
expat-2.1.0/lib/iasciitab.h
expat-2.1.0/lib/Makefile.MPW
expat-2.1.0/lib/libexpat.def
expat-2.1.0/lib/winconfig.h
expat-2.1.0/lib/nametab.h
expat-2.1.0/lib/internal.h
expat-2.1.0/lib/xmlrole.c
expat-2.1.0/lib/expatw.dsp
expat-2.1.0/lib/asciitab.h
expat-2.1.0/lib/utf8tab.h
expat-2.1.0/lib/libexpatw.def
expat-2.1.0/lib/xmlparse.c
expat-2.1.0/lib/xmltok.c
expat-2.1.0/lib/ascii.h
expat-2.1.0/lib/xmltok_impl.h
expat-2.1.0/lib/latin1tab.h
expat-2.1.0/lib/expatw_static.dsp
expat-2.1.0/lib/macconfig.h
expat-2.1.0/lib/expat.dsp
expat-2.1.0/lib/xmlrole.h
expat-2.1.0/lib/xmltok_impl.c
expat-2.1.0/lib/expat_static.dsp
expat-2.1.0/lib/expat.h
expat-2.1.0/aclocal.m4
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking how to print strings... printf
checking for mipsel-linux-gcc... mipsel-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-gcc accepts -g... yes
checking for mipsel-linux-gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-gcc... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld
checking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/entware-toolchain/bin/mipsel-linux-nm -B
checking the name lister (/opt/entware-toolchain/bin/mipsel-linux-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to mipsel-unknown-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld option to reload object files... -r
checking for mipsel-linux-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for mipsel-linux-ar... mipsel-linux-ar
checking for archiver @file support... @
checking for mipsel-linux-strip... mipsel-linux-strip
checking for mipsel-linux-ranlib... mipsel-linux-ranlib
checking for gawk... gawk
checking command to parse /opt/entware-toolchain/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok
checking for sysroot... no
checking for mipsel-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... mipsel-linux-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-gcc static flag -static works... yes
checking if mipsel-linux-gcc supports -c -o file.o... yes
checking if mipsel-linux-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-gcc linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 for mipsel-linux-gcc... (cached) mipsel-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mipsel-linux-gcc accepts -g... (cached) yes
checking for mipsel-linux-gcc option to accept ISO C89... (cached) none needed
checking for mipsel-linux-g++... mipsel-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether mipsel-linux-g++ accepts -g... yes
checking how to run the C++ preprocessor... mipsel-linux-g++ -E
checking for ld used by mipsel-linux-g++... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld
checking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes
checking whether the mipsel-linux-g++ linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking for mipsel-linux-g++ option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-g++ PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-g++ static flag -static works... yes
checking if mipsel-linux-g++ supports -c -o file.o... yes
checking if mipsel-linux-g++ supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-g++ linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for a BSD-compatible install... /usr/bin/install -c
checking whether mipsel-linux-gcc accepts -fexceptions... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memmove... yes
checking for bcopy... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking for mipsel-linux-gcc option to accept ISO C99... -std=gnu99
checking for mipsel-linux-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for an ANSI C99-conforming func... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating expat.pc
config.status: creating expat_config.h
config.status: executing libtool commands
/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
/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
/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
/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
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 xmlwf/xmlwf.o -c xmlwf/xmlwf.c
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 xmlwf/xmlfile.o -c xmlwf/xmlfile.c
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 xmlwf/codepage.o -c xmlwf/codepage.c
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 xmlwf/readfilemap.o -c xmlwf/readfilemap.c
xmlwf/readfilemap.c: In function 'filemap':
xmlwf/readfilemap.c:61:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
xmlwf/readfilemap.c:83:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
/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
/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
/bin/bash ./libtool --mode=install /usr/bin/install -c libexpat.la /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.la
libtool: 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
libtool: 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; }; })
libtool: 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; }; })
libtool: install: /usr/bin/install -c .libs/libexpat.lai /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.la
libtool: install: /usr/bin/install -c .libs/libexpat.a /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a
libtool: install: chmod 644 /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a
libtool: install: mipsel-linux-ranlib /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/libexpat.a
libtool: install: warning: remember to run libtool --finish /opt/lib' for 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 /usr/bin/install -c -m 644 expat.pc /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/lib/pkgconfig/expat.pc /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 mkdir /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/share/man/man1 /bin/bash ./libtool --mode=install /usr/bin/install -c xmlwf/xmlwf /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/bin/xmlwf libtool: install: warning:libexpat.la' has not been installed in /opt/lib' libtool: install: /usr/bin/install -c xmlwf/.libs/xmlwf /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/bin/xmlwf /usr/bin/install -c -m 644 ./doc/xmlwf.1 /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt/share/man/man1 checking for mipsel-linux-gcc... mipsel-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mipsel-linux-gcc accepts -g... yes checking for mipsel-linux-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... mipsel-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for an ANSI C-conforming const... yes checking for mipsel-linux-gcc... (cached) mipsel-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether mipsel-linux-gcc accepts -g... (cached) yes checking for mipsel-linux-gcc option to accept ISO C89... (cached) none needed checking mipsel-linux-gcc dependency flag... -MM checking whether mipsel-linux-gcc supports -Werror... yes checking whether mipsel-linux-gcc supports -Wall... yes checking whether mipsel-linux-gcc supports -std=c99... yes checking whether mipsel-linux-gcc supports -xc99... no checking for getopt.h... yes checking for time.h... yes checking 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 checking 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 checking whether we need -std=c99 as a flag for mipsel-linux-gcc... no checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for mipsel-linux-gcc... no checking whether we need -D_GNU_SOURCE as a flag for mipsel-linux-gcc... yes checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for mipsel-linux-gcc... no checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for mipsel-linux-gcc... no checking whether we need -D__EXTENSIONS__ as a flag for mipsel-linux-gcc... no checking if mipsel-linux-gcc supports -flto... yes checking for inline... inline checking whether the C compiler (mipsel-linux-gcc) accepts the "format" attribute... yes checking whether the C compiler (mipsel-linux-gcc) accepts the "unused" attribute... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for yylex_destroy... yes checking for bison... bison -y checking for doxygen... doxygen checking for mipsel-linux-strip... mipsel-linux-strip checking build system type... i686-pc-linux-gnu checking host system type... mipsel-unknown-linux-gnu checking for mipsel-linux-ar... /opt/entware-toolchain/bin/mipsel-linux-ar checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by mipsel-linux-gcc... /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld checking if the linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /opt/entware-toolchain/bin/mipsel-linux-nm -B checking the name lister (/opt/entware-toolchain/bin/mipsel-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i686-pc-linux-gnu file names to mipsel-unknown-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /opt/entware-toolchain/mipsel-linux-uclibc/bin/ld option to reload object files... -r checking for mipsel-linux-objdump... mipsel-linux-objdump checking how to recognize dependent libraries... pass_all checking for mipsel-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mipsel-linux-ar... /opt/entware-toolchain/bin/mipsel-linux-ar checking for archiver @FILE support... @ checking for mipsel-linux-strip... (cached) mipsel-linux-strip checking for mipsel-linux-ranlib... mipsel-linux-ranlib checking for gawk... gawk checking command to parse /opt/entware-toolchain/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mipsel-linux-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no checking for mipsel-linux-gcc option to produce PIC... -fPIC -DPIC checking if mipsel-linux-gcc PIC flag -fPIC -DPIC works... yes checking if mipsel-linux-gcc static flag -static works... yes checking if mipsel-linux-gcc supports -c -o file.o... yes checking if mipsel-linux-gcc supports -c -o file.o... (cached) yes checking whether the mipsel-linux-gcc linker (/opt/entware-toolchain/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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 for stdarg.h... yes checking for stdbool.h... yes checking for netinet/in.h... yes checking for netinet/tcp.h... yes checking for sys/param.h... yes checking for sys/socket.h... yes checking for sys/un.h... yes checking for sys/uio.h... yes checking for sys/resource.h... yes checking for arpa/inet.h... yes checking for syslog.h... yes checking for netdb.h... yes checking for sys/wait.h... yes checking for pwd.h... yes checking for glob.h... yes checking for grp.h... yes checking for login_cap.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for endian.h... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for off_t... yes checking for u_char... yes checking for rlim_t... yes checking for socklen_t... yes checking for in_addr_t... yes checking for in_port_t... yes checking if memcmp compares unsigned... cross-compile no checking size of time_t... 4 checking for library containing inet_pton... none required checking for library containing socket... none required checking for unistd.h... (cached) yes checking for working chown... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking return type of signal handlers... void checking for _LARGEFILE_SOURCE value needed for large files... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for mipsel-linux-gcc... no checking if nonblocking sockets work... crosscompile(yes) checking whether mkdir has one arg... no checking for strptime... yes checking whether strptime works... maybe checking for GNU libc compatible malloc... no (crosscompile) checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pthread_spinlock_t... yes checking for pthread_rwlock_t... yes checking if -pthread unused during linking... no checking for SSL... found in /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt checking for HMAC_CTX_init in -lcrypto... no checking if -lcrypto needs -lgdi32... no checking if -lcrypto needs -ldl... no configure: error: OpenSSL found in /home/leandroong/mipsel-static/build_script/mipsel/unbound/opt, but version 0.9.7 or higher is required make: *** No targets specified and no makefile found. Stop. make: *** No rule to make targetinstall'. Stop.
leandroong@VirtualBox-Ubuntu12:~/mipsel-static/build_script$


Here is updated script

!/bin/bash

mkdir -p ~/mipsel-static/build_script/mipsel/unbound && cd ~/mipsel-static/build_script/mipsel/unbound

BASE=pwd
SRC=$BASE/src
WGET="wget --prefer-family=IPv4"
DEST=$BASE/opt
LDFLAGS="-L$DEST/lib -Wl,--gc-sections"
CPPFLAGS="-I$DEST/include"
CFLAGS="-O3 -mtune=mips32 -mips32 -ffunction-sections -fdata-sections"
CXXFLAGS=$CFLAGS
CONFIGURE="./configure --prefix=/opt --host=mipsel-linux"
MAKE="make -jnproc"
mkdir -p $SRC

ZLIB

mkdir $SRC/zlib && cd $SRC/zlib
$WGET http://zlib.net/zlib-1.2.8.tar.gz
tar zxvf zlib-1.2.8.tar.gz
cd zlib-1.2.8

LDFLAGS=$LDFLAGS
CPPFLAGS=$CPPFLAGS
CFLAGS=$CFLAGS
CXXFLAGS=$CXXFLAGS
CROSS_PREFIX=mipsel-linux-
./configure
--prefix=/opt

$MAKE
make install DESTDIR=$BASE

OPENSSL

mkdir -p $SRC/openssl && cd $SRC/openssl
$WGET https://www.openssl.org/source/openssl-1.0.2f.tar.gz
tar zxvf openssl-1.0.2f.tar.gz
cd openssl-1.0.2f

./Configure linux-mips32
-mtune=mips32 -mips32
-ffunction-sections -fdata-sections -Wl,--gc-sections
--prefix=/opt shared zlib
--with-zlib-lib=$DEST/lib
--with-zlib-include=$DEST/include

make CC=mipsel-linux-gcc
make CC=mipsel-linux-gcc install INSTALLTOP=$DEST OPENSSLDIR=$DEST/ssl

EXPAT

mkdir $SRC/expat && cd $SRC/expat
$WGET http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
tar zxvf expat-2.1.0.tar.gz
cd expat-2.1.0

LDFLAGS=$LDFLAGS
CPPFLAGS=$CPPFLAGS
CFLAGS=$CFLAGS
CXXFLAGS=$CXXFLAGS
$CONFIGURE
--enable-static

$MAKE
make install DESTDIR=$BASE

UNBOUND

mkdir -p $SRC/unbound && cd $SRC/unbound

$WGET https://unbound.net/downloads/unbound-1.5.1.tar.gz

tar zxvf unbound-1.5.1.tar.gz

cd unbound-master

LDFLAGS=$LDFLAGS
CPPFLAGS=$CPPFLAGS
CFLAGS=$CFLAGS
CXXFLAGS=$CXXFLAGS
$CONFIGURE
--with-ssl=$DEST
--with-libexpat=$DEST

$MAKE LIBS="-all-static -lcrypto -ldl"
make install DESTDIR=$BASE/unbound_ipkg_install-master-013016

stack trace

I'm encountering segmentation error till now, using unbound source code in https://github.com/jedisct1/unbound and was ask to perform stack trace by developer "jedisc1". Perhaps, you can help locate error ?

this is what I'm getting:
commit Feb 24, 2016
/opt/home/admin # unbound -v
[1456336813] unbound[28821:0] notice: Start of unbound 1.5.8.
Segmentation fault
/opt/home/admin #

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.