[Sofia-sip-devel] Build Error

2007-09-26 Thread Jerry Richards
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

[Sofia-sip-devel] segfault at nh_call_pending (nh=0xb20bd038, now=3399807596) at nua_stack.c:510

2007-09-26 Thread Michael Jerris
We received a report of this segfault.  Detailed debug information is at:

http://jira.freeswitch.org/browse/SFSIP-22.

Backtrace:

(gdb) bt full
#0 0xb7136f59 in nh_call_pending (nh=0xb20bd038, now=3399807596) at
nua_stack.c:510
ds = (nua_dialog_state_t *) 0xb20bd070
du = (nua_dialog_usage_t *) 0x1
next = 3399807597
#1 0xb7136f06 in nua_stack_timer (nua=0x808f940, t=0x808f448, a=0x0) at
nua_stack.c:494
nh = (nua_handle_t *) 0xb20bd038
nh_next = (nua_handle_t *) 0xb71f8380
now = 3399807596
root = (su_root_t *) 0x808edc8
#2 0xb719bcbc in su_timer_expire (timers=0x808747c, timeout=0xb6f9432c,
now={tv_sec = 3399807596, tv_usec = 203877}) at su_timer.c:533
t = (su_timer_t *) 0x808f448
f = (su_timer_f) 0xb7136e7f 
n = 0
__PRETTY_FUNCTION__ = "su_timer_expire"
#3 0xb719c4ac in su_base_port_run (self=0x8087458) at su_base_port.c:315
tout = 2000
__PRETTY_FUNCTION__ = "su_base_port_run"
#4 0xb7199cf9 in su_port_run (self=0x8087458) at su_port.h:314
base = (su_virtual_port_t *) 0x8087458
#5 0xb7199cd0 in su_root_run (self=0x808edc8) at su_root.c:683
__PRETTY_FUNCTION__ = "su_root_run"
#6 0xb7191d55 in su_pthread_port_clone_main (varg=0xb709512c) at
su_pthread_port.c:300
arg = (struct clone_args *) 0x0
task = {{sut_port = 0x8087458, sut_root = 0x808edc8}}
zap = 1


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


[Sofia-sip-devel] Segmentation Fault in su_port_wait_events() of libsofia-sip-ua/su/su_port.c

2007-09-26 Thread Jerry Richards
Hello All,

Well, in the process of migrating the sofia-sip 1.12.4 stack to Linux 2.6
based uClibc compiler, I encountered the Segmentation Fault in
su_port_wait_events() of su_port.c at the following line (inside the
for-loop):

i = indices[index]; assert(i >= 0 && i <= self->sup_n_waits);

This Segmentation Fault occurs whether or not I add "#define __CYGWIN__ 1"
before struct su_port_s definition.

Anyone have another suggestion?  I don't want to upgrade to 1.12.6 for other
reasons (described in my earlier Emails).

Best Regards,
Jerry


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


Re: [Sofia-sip-devel] Build Error

2007-09-26 Thread Jerry Richards
Hello All,

Just wanted to report that I have a work-around for the build error below.
The build process was apparently grabbing the wrong ranlib, so just prior to
compiling sofia-sip, I pre-pended $PATH with the path to the uClibc ranlib
binary and the build completes successfully.

Best Regards,
Jerry


-Original Message-
From:
Sent: Wednesday, September 26, 2007 8:08 AM
To: 'sofia-sip-devel@lists.sourceforge.net'
Subject: Build Error


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 f