Devel Digest, Vol 15, Issue 12

Mayank Jain Nawal mayank at in.niksun.com
Tue Jun 10 00:09:19 EDT 2008


On Monday 09 Jun 2008 9:30:01 pm devel-request at pidgin.im wrote:
> On Mon, Jun 9, 2008 at 7:28 AM, Daniel Atallah <daniel.atallah at gmail.com>
>
> wrote:
> > On Sat, Jun 7, 2008 at 3:28 AM, A. TNG <tang.jiyu at gmail.com> wrote:
> > > Hi,
> > >
> > > I'm a newbie to Pidgin. I already compile Pidgin's source code by
> > > myself and make nullclient run.
> > >
> > > My env is Windows XP + Cygwin(gcc 3.4.4+ gdb 6.5.50).
> > >
> > > I use following configure parameters:
> > > ./configure --prefix=/usr/local/pidgin-2.4.2 --disable-screensaver
> > > --disable-gtkspell --disable-gstreamer --disable-meanwhile
> > > --disable-avahi --disable-dbus --with-dynamic-prpls=jabber
> > > --disable-perl --enable-debug
> > > The last parameter "--enable-debug" should enable debug.
Are you able to compile the complete code. If yes after running configure 
script edit Makefile manually see if -g option is there in CFLAGS 
CFLAGS = -g 
Remove -O2 flag if its present. 
Similar is the case with 
CXXFLAGS = -g 
gmake clean 
then try running 
gdb libpurple/example/.libs/nullclient 
Hope this will help you. 
> > >
> > > But, When I run "gdb nullclient" and get the prompt and use "l" to
> > > list source code, I get nothing.
> > >
> > > How can I debug Pidgin?
> >
> > You're pretty much on your own when you make a cygwin-dependent
> > version.  I'm actually surprised that it compiled.
>
> You mean I should not compile under cygwin, right? CentOS or Ubuntu is
> better. I could meet less error in a real Linux OS.
>
> > -D



-- 
----------------------------------------------------------------------------
Regards
Mayank Jain Nawal			
mayank at in.niksun.com
http://www.niksun.com			
Tel: +91 9818390836
     +91 124-2316012(109)




More information about the Devel mailing list