Hello All,

I've upgraded my uClibc compiler and am now getting an error at the end of
the sofia-sip build (v1.12.4) output below.  Note I trimmed some of the
output from the middle so it isn't so long.

It says I need to run ranlib on .libs/libsu.a, but I'm not sure what to
change in the sofia-sip configuration to accomplish that.  Can anyone help?

Best Regards,
Jerry

../configure -C --host=mips-linux --prefix=/home/jerryr/work/sip/tc_apps/Pho
ne/sofia-sip/build --with-glib=no --with-rt=no
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: creating cache config.cache
checking build system type... i686-redhat-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking target system type... mips-unknown-linux-gnu
checking cached information... ok
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for mips-linux-gcc... /opt/codefidence/mipsel-linux-uclibc/bin/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 /opt/codefidence/mipsel-linux-uclibc/bin/gcc accepts -g...
yes
checking for /opt/codefidence/mipsel-linux-uclibc/bin/gcc option to accept
ANSI C... none needed
checking dependency style of /opt/codefidence/mipsel-linux-uclibc/bin/gcc...
gcc3
checking for compilation environment...
checking for mips-linux-gcc... (cached)
/opt/codefidence/mipsel-linux-uclibc/bin/gcc
checking for mips-linux-gcc... (cached)
/opt/codefidence/mipsel-linux-uclibc/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc accepts -g...
(cached) yes
checking for /opt/codefidence/mipsel-linux-uclibc/bin/gcc option to accept
ANSI C... (cached) none needed
checking dependency style of /opt/codefidence/mipsel-linux-uclibc/bin/gcc...
(cached) gcc3
checking for maximum warnings compiler flag... -Wall
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor...
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -E
checking for etags... etags
checking for mips-linux-ar... no
checking for ar... ar
checking for mips-linux-ld... no
checking for ld... ld
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by /opt/codefidence/mipsel-linux-uclibc/bin/gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 mips-linux-g++... no
checking for mips-linux-c++... no
checking for mips-linux-gpp... no
checking for mips-linux-aCC... no
checking for mips-linux-CC... no
checking for mips-linux-cxx... no
checking for mips-linux-cc++... no
checking for mips-linux-cl... no
checking for mips-linux-FCC... no
checking for mips-linux-KCC... no
checking for mips-linux-RCC... no
checking for mips-linux-xlC_r... no
checking for mips-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for mips-linux-g77... no
checking for mips-linux-f77... no
checking for mips-linux-xlf... no
checking for mips-linux-frt... no
checking for mips-linux-pgf77... no
checking for mips-linux-fort77... no
checking for mips-linux-fl32... no
checking for mips-linux-af77... no
checking for mips-linux-f90... no
checking for mips-linux-xlf90... no
checking for mips-linux-pgf90... no
checking for mips-linux-epcf90... no
checking for mips-linux-f95... no
checking for mips-linux-fort... no
checking for mips-linux-xlf95... 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-gfortran... no
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from
/opt/codefidence/mipsel-linux-uclibc/bin/gcc object... failed
checking for objdir... .libs
checking for mips-linux-ar... ar
checking for mips-linux-ranlib... no
checking for ranlib... ranlib
checking for mips-linux-strip... strip
checking if /opt/codefidence/mipsel-linux-uclibc/bin/gcc static flag
works... yes
checking if /opt/codefidence/mipsel-linux-uclibc/bin/gcc
supports -fno-rtti -fno-exceptions... no
checking for /opt/codefidence/mipsel-linux-uclibc/bin/gcc option to produce
PIC... -fPIC
checking if /opt/codefidence/mipsel-linux-uclibc/bin/gcc PIC flag -fPIC
works... yes
checking if /opt/codefidence/mipsel-linux-uclibc/bin/gcc supports -c -o
file.o... yes
checking whether the /opt/codefidence/mipsel-linux-uclibc/bin/gcc linker
(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 g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (ld) supports shared libraries... yes
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 for doxygen... doxygen
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for size_t... yes
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc recognizes
__func__... yes
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc recognizes
__FUNCTION__... yes
checking for inline... inline
checking for sa_len... no
checking for sockaddr_in6... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for stack suitable for tags... no
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for netdb.h... yes
checking for net/if.h... yes
checking for net/if_types.h... no
checking for ifaddr.h... no
checking for netpacket/packet.h... yes
checking whether MSG_TRUNC is declared... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking for field ifr_index in struct ifreq... no
checking for field ifr_ifindex in struct ifreq... yes
checking for struct ifconf... yes
checking for ioctl SIOCGIFNUM... sys/sockio.h missing
checking for pthread_create in -lpthread... yes
checking for socketpair in -lsocket... no
checking for library containing socket... none required
checking for library containing inet_ntop... none required
checking for library containing getipnodebyname... no
checking for library containing gethostbyname... none required
checking for library containing getaddrinfo... none required
checking for gettimeofday... yes
checking for strerror... yes
checking for random... yes
checking for initstate... yes
checking for tcsetattr... yes
checking for flock... yes
checking for alarm... yes
checking for socketpair... yes
checking for gethostname... yes
checking for gethostbyname... yes
checking for getipnodebyname... no
checking for poll... yes
checking for epoll_create... yes
checking for select... yes
checking for if_nameindex... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getifaddrs... no
checking for getline... yes
checking for getdelim... yes
checking for getpass... yes
checking for memmem... yes
checking for memccpy... yes
checking for memspn... no
checking for memcspn... no
checking for strcasestr... yes
checking for strtoull... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking openssl/tls1.h usability... no
checking openssl/tls1.h presence... no
checking for openssl/tls1.h... no
configure: WARNING: OpenSSL include files were not found
checking for IP_RECVERR... yes
checking for IPV6_RECVERR... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
configure: WARNING: ** TLS support for STUN disabled as OpenSSL headers
and/or libraries were not found **
checking for ANSI C header files... (cached) yes
checking whether SIGPIPE is declared... yes
checking return type of signal handlers... void
checking for long long... yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for inline... (cached) inline
checking whether byte ordering is bigendian... no
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc recognizes
__func__... (cached) yes
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc recognizes
__FUNCTION__... (cached) yes
checking whether /opt/codefidence/mipsel-linux-uclibc/bin/gcc recognizes
field names in struct initialization... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for size_t... (cached) yes
checking for sockaddr_in6... (cached) yes
checking for sa_len... (cached) no
checking /dev/urandom... yes
updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile


... output text omitted here...


if /bin/sh ../../libtool --mode=compile --tag=CC
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../../
libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip    -Wall -DN
DEBUG -g -O2 -MT memspn.lo -MD -MP -MF ".deps/memspn.Tpo" -c -o memspn.lo
../../../libsofia-sip-ua/su/memspn.c; \
then mv -f ".deps/memspn.Tpo" ".deps/memspn.Plo"; else rm -f
".deps/memspn.Tpo"; exit 1; fi
 /opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../..
/libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall -DNDE
BUG -g -O2 -MT memspn.lo -MD -MP -MF .deps/memspn.Tpo -c
../../../libsofia-sip-ua/su/memspn.c  -fPIC -DPIC -o .libs/memspn.o
 /opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../..
/libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall -DNDE
BUG -g -O2 -MT memspn.lo -MD -MP -MF .deps/memspn.Tpo -c
../../../libsofia-sip-ua/su/memspn.c -o memspn.o >/dev/null 2>&1
if /bin/sh ../../libtool --mode=compile --tag=CC
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../../
libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip    -Wall -DN
DEBUG -g -O2 -MT memcspn.lo -MD -MP -MF ".deps/memcspn.Tpo" -c -o memcspn.lo
../../../libsofia-sip-ua/su/memcspn.c; \
then mv -f ".deps/memcspn.Tpo" ".deps/memcspn.Plo"; else rm -f
".deps/memcspn.Tpo"; exit 1; fi
 /opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../..
/libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall -DNDE
BUG -g -O2 -MT memcspn.lo -MD -MP -MF .deps/memcspn.Tpo -c
../../../libsofia-sip-ua/su/memcspn.c  -fPIC -DPIC -o .libs/memcspn.o
 /opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../..
/libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall -DNDE
BUG -g -O2 -MT memcspn.lo -MD -MP -MF .deps/memcspn.Tpo -c
../../../libsofia-sip-ua/su/memcspn.c -o memcspn.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=link --tag=CC
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -Wall -DNDEBUG -g -O2   -o
libsu.la   su.lo su_errno.lo su_addrinfo.lo su_alloc.lo su_alloc_lock.lo
su_strdup.lo su_sprintf.lo su_strlst.lo su_vector.lo su_time.lo su_time0.lo
su_wait.lo su_root.lo su_timer.lo su_port.lo su_localinfo.lo su_os_nw.lo
su_taglist.lo su_tag.lo su_tag_io.lo su_log.lo su_global_log.lo
su_default_log.lo su_md5.lo su_uniqueid.lo su_bm.lo  memspn.lo
memcspn.lo -lpthread
ar cru .libs/libsu.a .libs/su.o .libs/su_errno.o .libs/su_addrinfo.o
.libs/su_alloc.o .libs/su_alloc_lock.o .libs/su_strdup.o .libs/su_sprintf.o
.libs/su_strlst.o .libs/su_vector.o .libs/su_time.o .libs/su_time0.o
.libs/su_wait.o .libs/su_root.o .libs/su_timer.o .libs/su_port.o
.libs/su_localinfo.o .libs/su_os_nw.o .libs/su_taglist.o .libs/su_tag.o
.libs/su_tag_io.o .libs/su_log.o .libs/su_global_log.o
.libs/su_default_log.o .libs/su_md5.o .libs/su_uniqueid.o .libs/su_bm.o
.libs/memspn.o .libs/memcspn.o
ranlib .libs/libsu.a
creating libsu.la
(cd .libs && rm -f libsu.la && ln -s ../libsu.la libsu.la)
if
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -DHAVE_CONFIG_H -I. -I../../../
libsofia-sip-ua/su -I../.. -I../../libsofia-sip-ua/su/sofia-sip    -Wall -DN
DEBUG -g -O2 -MT addrinfo.o -MD -MP -MF ".deps/addrinfo.Tpo" -c -o
addrinfo.o ../../../libsofia-sip-ua/su/addrinfo.c; \
then mv -f ".deps/addrinfo.Tpo" ".deps/addrinfo.Po"; else rm -f
".deps/addrinfo.Tpo"; exit 1; fi
/bin/sh ../../libtool --mode=link --tag=CC
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -Wall -DNDEBUG -g -O2   -o
addrinfo  addrinfo.o libsu.la -lpthread
/opt/codefidence/mipsel-linux-uclibc/bin/gcc -Wall -DNDEBUG -g -O2 -o
addrinfo addrinfo.o  ./.libs/libsu.a -lpthread
./.libs/libsu.a: could not read symbols: Archive has no index; run ranlib to
add one
collect2: ld returned 1 exit status
make[4]: *** [addrinfo] Error 1
make[4]: Leaving directory
`/home/jerryr/work/sip/tc_apps/Phone/sofia-sip/build/libsofia-sip-ua/su'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/jerryr/work/sip/tc_apps/Phone/sofia-sip/build/libsofia-sip-ua/su'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/jerryr/work/sip/tc_apps/Phone/sofia-sip/build/libsofia-sip-ua'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/jerryr/work/sip/tc_apps/Phone/sofia-sip/build'
make: *** [all] Error 2
************* Error: (sofia) make FAILED.... exiting....


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to