discuss-gnustep
[Top][All Lists]
Advanced

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

problem debugging app linked against framework


From: Jonathan B. Leffert
Subject: problem debugging app linked against framework
Date: Mon, 8 Apr 2002 00:09:55 -0700
User-agent: Mutt/1.2i

I'm having a problem debugging apps that link against frameworks and
libraries other than Foundation and AppKit.

As an example, GNUMail.app:

Pantomime is installed in ${GNUSTEP_USER_ROOT}.  I build GNUMail.app 
with "make debug=yes".  Then, when I run "debugapp GNUMail.debug", I get
the following error:

[0:213](0:00) debugapp GNUMail.debug
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...
(gdb) run
Starting program: 
/home/jbl/src/GNUMail/GNUMail.debug/ix86/linux-gnu/gnu-gnu-gnu/GNUMail 
/home/jbl/src/GNUMail/GNUMail.debug/ix86/linux-gnu/gnu-gnu-gnu/GNUMail: error 
while loading shared libraries: libPantomime.so.1: cannot open shared object 
file: No such file or directory

Program exited with code 0177.

If I instead do "make distclean; make; openapp GNUMail.app" all runs
correctly.  But I cannot debug this application.  

I've noticed that other apps have the same problem: an app I'm currently
writing that links against its own framework cannot be debugged.  Apps that
only link Foundation and AppKit are okay, though.

Any thoughts?  Ludovic doesn't have this problem, so perhaps it has
something to do with my setup:

[0:214](0:08) gdb -v
GNU gdb 2002-04-01-cvs

[0:216](0:08) $CC -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr
--infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls
--without-included-gettext --disable-checking --enable-threads=posix
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc
i386-linux
Thread model: posix
gcc version 3.0.4

I'm running from GNUstep CVS head as of a week or two ago and am on a Linux
2.4 machine.

Thanks,

Jonathan



reply via email to

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