Hi.

I am trying to cross compile barry package for MIPS architecture.
To do this, i run the configure command  as

./configure --host=mips-linux --prefix=/home/rajendra/maxim-ic/rajendra_fs/

But end of configure i got the error as

*checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help

*For your clear understanding im attaching my terminal log.
So kindly suggest me, what could be the problem for the above error.

Regards,
Rajendra.

rajendra@rajendra:~/maxim-ic/barry/barry$ ./configure --host=mips-linux 
--without-zlib --prefix=/home/rajendra/maxim-ic/rajendra_fs/

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 for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for mips-linux-gcc... mipsel-linux-uclibc-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-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
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 whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... i686-pc-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking for ld used by GCC... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... no, consider installing GNU libiconv
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for mips-linux-gcc... (cached) mipsel-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mipsel-linux-uclibc-gcc accepts -g... (cached) yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... (cached) none 
needed
checking dependency style of mipsel-linux-uclibc-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... no
checking whether mipsel-linux-uclibc-cpp accepts -g... no
checking dependency style of mipsel-linux-uclibc-cpp... none
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
checking for mips-linux-g77... no
checking for mips-linux-xlf... no
checking for mips-linux-f77... no
checking for mips-linux-frt... no
checking for mips-linux-pgf77... no
checking for mips-linux-cf77... no
checking for mips-linux-fort77... no
checking for mips-linux-fl32... no
checking for mips-linux-af77... no
checking for mips-linux-xlf90... no
checking for mips-linux-f90... no
checking for mips-linux-pgf90... no
checking for mips-linux-pghpf... no
checking for mips-linux-epcf90... no
checking for mips-linux-gfortran... no
checking for mips-linux-g95... no
checking for mips-linux-xlf95... no
checking for mips-linux-f95... no
checking for mips-linux-fort... no
checking for mips-linux-ifort... no
checking for mips-linux-ifc... no
checking for mips-linux-efc... no
checking for mips-linux-pgf95... no
checking for mips-linux-lf95... no
checking for mips-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... 98304
checking command to parse nm output from mipsel-linux-uclibc-gcc object... ok
checking for objdir... .libs
checking for mips-linux-ar... no
checking for ar... ar
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoc...@gnu.org.
checking for mips-linux-ranlib... no
checking for ranlib... ranlib
checking for mips-linux-strip... strip
checking if mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc option to produce PIC... -fPIC
checking if mipsel-linux-uclibc-gcc PIC flag -fPIC works... yes
checking if mipsel-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking whether the mipsel-linux-uclibc-gcc linker (mipsel-linux-uclibc-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 whether the mipsel-linux-uclibc-cpp linker (mipsel-linux-uclibc-ld) 
supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for mipsel-linux-uclibc-cpp option to produce PIC... 
checking if mipsel-linux-uclibc-cpp static flag  works... no
checking if mipsel-linux-uclibc-cpp supports -c -o file.o... no
checking whether the mipsel-linux-uclibc-cpp linker (mipsel-linux-uclibc-ld) 
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... 
unsupported
appending configuration tag "F77" to libtool
checking for a sed that does not truncate output... /bin/sed
checking whether the C compiler accepts the -fvisibility=hidden flag... yes
checking whether the C++ compiler accepts the -fvisibility=hidden flag... no
Guessing libtar location... may not compile...
checking for tar_open in -ltar... no
configure: Libtar NOT found, disabling libbarrybackup
Guessing zlib location... may not compile...
checking for mips-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
configure: using BOOST library... no
checking for FUSE... no
FUSE library not found, skipping fuse module.
checking for GLIB2... no
GLIB 2.0 not found, skipping sync library.
checking for main in -lpthread... no
checking for crc32 in -lz... no
*****************************************************************
WARNING: zlib not found... packed .cod files will fail crc checks
*****************************************************************
checking for LIBXMLXX... no
*****************************************************************
WARNING: libxml++ not found... ALX parser not included
*****************************************************************
checking for iconv... (cached) no, consider installing GNU libiconv
checking for dirent.h that defines DIR... no
checking for sys/ndir.h that defines DIR... no
checking for sys/dir.h that defines DIR... no
checking for ndir.h that defines DIR... no
checking for library containing opendir... no
checking for ANSI C header files... (cached) yes
checking assert.h usability... no
checking assert.h presence... yes
configure: WARNING: assert.h: present but cannot be compiled
configure: WARNING: assert.h:     check for missing prerequisite headers?
configure: WARNING: assert.h: see the Autoconf documentation
configure: WARNING: assert.h:     section "Present But Cannot Be Compiled"
configure: WARNING: assert.h: proceeding with the preprocessor's result
configure: WARNING: assert.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------ ##
configure: WARNING:     ## Report this to barry-devel@lists.sourceforge.net ##
configure: WARNING:     ## ------------------------------------------------ ##
checking for assert.h... yes
checking for stdint.h... (cached) yes
checking time.h usability... no
checking time.h presence... yes
configure: WARNING: time.h: present but cannot be compiled
configure: WARNING: time.h:     check for missing prerequisite headers?
configure: WARNING: time.h: see the Autoconf documentation
configure: WARNING: time.h:     section "Present But Cannot Be Compiled"
configure: WARNING: time.h: proceeding with the preprocessor's result
configure: WARNING: time.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------ ##
configure: WARNING:     ## Report this to barry-devel@lists.sourceforge.net ##
configure: WARNING:     ## ------------------------------------------------ ##
checking for time.h... yes
checking whether time.h and sys/time.h may both be included... no
checking whether struct tm is in sys/time.h or time.h... sys/time.h
checking for working strnlen... no
checking whether closedir returns void... yes
checking whether mipsel-linux-uclibc-gcc needs -traditional... no
checking sys/select.h usability... no
checking sys/select.h presence... yes
configure: WARNING: sys/select.h: present but cannot be compiled
configure: WARNING: sys/select.h:     check for missing prerequisite headers?
configure: WARNING: sys/select.h: see the Autoconf documentation
configure: WARNING: sys/select.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/select.h: proceeding with the preprocessor's result
configure: WARNING: sys/select.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------------ ##
configure: WARNING:     ## Report this to barry-devel@lists.sourceforge.net ##
configure: WARNING:     ## ------------------------------------------------ ##
checking for sys/select.h... yes
checking sys/socket.h usability... no
checking sys/socket.h presence... yes
configure: WARNING: sys/socket.h: present but cannot be compiled
configure: WARNING: sys/socket.h:     check for missing prerequisite headers?
configure: WARNING: sys/socket.h: see the Autoconf documentation
configure: WARNING: sys/socket.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/socket.h: proceeding with the preprocessor's result
configure: WARNING: sys/socket.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------------ ##
configure: WARNING:     ## Report this to barry-devel@lists.sourceforge.net ##
configure: WARNING:     ## ------------------------------------------------ ##
checking for sys/socket.h... yes
checking types of arguments for select... int,int *,struct timeval *
checking for bzero... no
checking for gettimeofday... no
checking for memset... no
checking for select... no
checking for strcasecmp... no
checking for strchr... no
checking for strerror... no
checking for strtol... no
checking for strtoul... no
checking whether byte ordering is bigendian... unknown
configure: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help
rajendra@rajendra:~/maxim-ic/barry/barry$ 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to