[gdome]having trouble with gdb
- From: Peng Yin <py cs duke edu>
- To: gdome gnome org
- Subject: [gdome]having trouble with gdb
- Date: Fri, 1 Mar 2002 12:56:29 -0500 (EST)
I wrote some codes using libgdome, and compile it is with the libtool.
However, when I tried to use gdb to debug it, I got the message:
"../WXMLFile": not in executable format: File format not recognized
Could somebody tell me how to make the program debuggable by gdb? thank
you.
Below is the compiling message:
cc -ggdb -DLOCALDIR=\""."\" -I. -I.. -I./RSAREF/source/ -I/usr/include
-I../libgdome -I../libgdome/gdomecore -I/usr/include/libxml2/libxml
-I/usr/include/libxml2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-Wall -ansi -O -c -DPROTOTYPES=1 ./WXMLFile.c
/bin/sh ../libtool --mode=link cc -ggdb -o WXMLFile WXMLFile.o
../libgdome/libgdome.la -lxml2 -L/usr/lib -lglib
cc -ggdb -o .libs/WXMLFile WXMLFile.o ../libgdome/.libs/libgdome.so -lxml2
-L/usr/lib -lglib -lxml2 -L/usr/lib -lglib -Wl,--rpath -Wl,/usr/local/lib
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]