linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [PATCH]: undefined payload_type_x_snow and segfaul


From: strk
Subject: [Linphone-developers] [PATCH]: undefined payload_type_x_snow and segfault
Date: Wed, 8 Aug 2007 00:09:34 +0200

Attached is a patch for review fixing the bug for me.
Basically, the payload_type_x_snow is declared 'extern' in the linphonecore.c 
file,
thus my compiler did not instantiate a PayloadType at all.

Also, the patch fixes a segfault in the payload_type_clone method when the 
mime-type
member is NULL.

--strk;

On Mon, Aug 06, 2007 at 07:46:23PM +0200, strk wrote:
> 
> make[2]: Entering directory 
> `/home/strk/src/sip/linphone/linphone-head/console'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../coreapi -I../oRTP/include 
> -I../exosip -I../mediastreamer2/include -I/usr/include    -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -Werror  -DENABLE_TRACE -D_ORTP_SOURCE   -DOSIP_MT   
> -g -O2 -fno-strict-aliasing -MT linphonec.o -MD -MP -MF ".deps/linphonec.Tpo" 
> -c -o linphonec.o linphonec.c; \
>         then mv -f ".deps/linphonec.Tpo" ".deps/linphonec.Po"; else rm -f 
> ".deps/linphonec.Tpo"; exit 1; fi
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../coreapi -I../oRTP/include 
> -I../exosip -I../mediastreamer2/include -I/usr/include    -Wall 
> -Wp,-D_FORTIFY_SOURCE=2 -Werror  -DENABLE_TRACE -D_ORTP_SOURCE   -DOSIP_MT   
> -g -O2 -fno-strict-aliasing -MT commands.o -MD -MP -MF ".deps/commands.Tpo" 
> -c -o commands.o commands.c; \
>         then mv -f ".deps/commands.Tpo" ".deps/commands.Po"; else rm -f 
> ".deps/commands.Tpo"; exit 1; fi
> /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -Werror  -DENABLE_TRACE -D_ORTP_SOURCE   -DOSIP_MT   -g -O2 
> -fno-strict-aliasing   -o linphonec  linphonec.o commands.o 
> ../coreapi/liblinphone.la -lreadline -lncurses -L/usr/lib -losipparser2
> mkdir .libs
> gcc -Wall -Wp,-D_FORTIFY_SOURCE=2 -Werror -DENABLE_TRACE -D_ORTP_SOURCE 
> -DOSIP_MT -g -O2 -fno-strict-aliasing -o .libs/linphonec linphonec.o 
> commands.o  ../coreapi/.libs/liblinphone.so -lreadline -lncurses -L/usr/lib 
> -losipparser2 -Wl,--rpath -Wl,/extra/linphone-cvs/lib
> ../coreapi/.libs/liblinphone.so: undefined reference to `payload_type_x_snow'
> collect2: ld returned 1 exit status
> 
> Ditto in gtk directory.
> (re-run ./autogen.sh, make clean and ./configure)
> 
> --strk;
> 
> 
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers

-- 

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]