[stunnel-users] Stunnel configure error

hdf sdesdh animorph22 at mail.com
Tue Aug 11 22:51:37 CEST 2009


I have been receiving errors when configuring Stunnel, which I intend to cross compile for use with my Linksys WRT54GL router (Tomato firmware).  When passing ./configure --host=mipsel-linux --with-ssl=/root/openssl --enable-static --enable-dh --libexecdir=/tmp the configure process stops with an error.

Here is the complete output.  

./configure --host=mipsel-linux --with-ssl=/root/openssl --enable-static --enable-dh --libexecdir=/tmp
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.
configure: **************************************** initialization
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
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-gcc... mipsel-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of mipsel-linux-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
configure: **************************************** libtool
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 ld used by mipsel-linux-gcc... /opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld
checking if the linker (/opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld) is GNU ld... yes
checking for /opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 dependency style of mipsel-linux-g++... gcc3
checking how to run the C++ preprocessor... mipsel-linux-g++ -E
checking for mipsel-linux-g77... no
checking for mipsel-linux-xlf... no
checking for mipsel-linux-f77... no
checking for mipsel-linux-frt... no
checking for mipsel-linux-pgf77... no
checking for mipsel-linux-cf77... no
checking for mipsel-linux-fort77... no
checking for mipsel-linux-fl32... no
checking for mipsel-linux-af77... no
checking for mipsel-linux-xlf90... no
checking for mipsel-linux-f90... no
checking for mipsel-linux-pgf90... no
checking for mipsel-linux-pghpf... no
checking for mipsel-linux-epcf90... no
checking for mipsel-linux-gfortran... no
checking for mipsel-linux-g95... no
checking for mipsel-linux-xlf95... no
checking for mipsel-linux-f95... no
checking for mipsel-linux-fort... no
checking for mipsel-linux-ifort... no
checking for mipsel-linux-ifc... no
checking for mipsel-linux-efc... no
checking for mipsel-linux-pgf95... no
checking for mipsel-linux-lf95... no
checking for mipsel-linux-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok
checking for objdir... .libs
checking for mipsel-linux-ar... mipsel-linux-ar
checking for mipsel-linux-ranlib... mipsel-linux-ranlib
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... yes
checking for mipsel-linux-gcc option to produce PIC... -fPIC
checking if mipsel-linux-gcc PIC flag -fPIC works... yes
checking if mipsel-linux-gcc static flag -static works... yes
checking if mipsel-linux-gcc supports -c -o file.o... yes
checking whether the mipsel-linux-gcc linker (/opt/brcm/hndtools-mipsel-linux/mipsel-linux/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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by mipsel-linux-g++... /opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld
checking if the linker (/opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld) is GNU ld... yes
checking whether the mipsel-linux-g++ linker (/opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld) supports shared libraries... yes
checking for mipsel-linux-g++ option to produce PIC... -fPIC
checking if mipsel-linux-g++ PIC flag -fPIC works... yes
checking if mipsel-linux-g++ static flag -static works... yes
checking if mipsel-linux-g++ supports -c -o file.o... yes
checking whether the mipsel-linux-g++ linker (/opt/brcm/hndtools-mipsel-linux/mipsel-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
configure: **************************************** types
checking for unsigned char... yes
checking size of unsigned char... 1
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for socklen_t... yes
configure: **************************************** PTY device files
checking for "/dev/ptmx"... configure: error: cannot check for file existence when cross compiling.

Give me your suggestions.  

Thank you

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com!




More information about the stunnel-users mailing list