Hi,
I'm trying to debug my X11/Motif graphics viewer, "wxv"
which I'm porting from HP-UX to RedHat Linux 6.0.
I was having a problem with gdb because one of my 3rd
party shared libraries was build with libc5.so. I recompiled
the 3rd party shared library with libc6.so.
I'm new to gdb and don't know where to look for
answers regarding the latest error message I've
encountered while running gdb.
Here's my makefile output to build "wxv" and the gdb
debugging session that shows the error.
OUTPUT FROM MAKEFILE FOR WXV:
gcc -c -g -DINTEL -DUNIX -DLINUX -DSVR4 \
-I/u/lib/util
-I/u/projects/opscntl/lib/toolkit/tools -I/u/projects/opscntl/utils
-I/u/projects/opscntl/Motif/lib -I/u/projects/opscntl/Motif/ScreenKing
-I/u/projects/opscntl/lib/toolkit/database/access/raima4.52
-I/u/lib/raima4.52/include -I/u/projects/opscntl/lib/toolkit/database/wx
\
main-c.c -o raima4.52/wxv.o
gcc -g raima4.52/creation-c.o raima4.52/callbacks-c.o
raima4.52/bxutils-c.o raima4.52/wxv_display.o raima4.52/wxv.o -o
raima4.52/wxv \
/u/projects/opscntl/lib/toolkit/database/access/raima4.52/dbaccess.o \
-L /u/projects/opscntl/lib/toolkit/database/wx/raima4.52 -lFWwx -L
/u/projects/opscntl/lib/toolkit/tools/raima4.52 -lFWtools -L
/u/projects/opscntl/lib/toolkit/jeppWx -ljeppWx \
\
-L /u/lib/raima4.52/runtime -lvistamu \
-L /u/projects/opscntl/Motif/wxv/raima4.52 -lwxv -L /u/lib -lXscreen -L
/u/projects/opscntl/Motif/lib -lXtools -L /usr/X11R6/lib -lXm -lXt -lSM
-lICE -lXp -lXext -lX11 -L /u/lib -lutil -lm
/u/projects/opscntl/Motif/wxv/raima4.52/libwxv.a(wxv_utils.o): In
function `wxv_getwd':
/u/projects/opscntl/Motif/wxv/wxv_utils.c:319: the `getwd' function is
dangerous and should not be used.
OUTPUT FROM RUNNING GDB:
[opscntl@bieltz2 opscntl]$ gdb -directory=$M/wxv bin/wxv
GNU gdb 4.18
Copyright 1998 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 "i686-pc-linux-gnu"...
(gdb) set verbose on
(gdb) run -type gif -v -log wxv_gif.log europe.gif
Starting program: /u/opscntl/bin/wxv -type gif -v -log wxv_gif.log
europe.gif
Terminal type is dtterm.
DISPLAY=bieltz2:0.0
access control disabled, clients can connect from any host
Reading symbols from /usr/X11R6/lib/libXm.so.2...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading in symbols for dl-debug.c... and rtld.c... and dl-load.c...done.
Reading symbols from /lib/libnss_files.so.2...done.
SYSTEM/OS error: -946
dictionary alignment does not match program
C errno = 0
C errno = 0
Program exited normally.
(gdb)
Does anyone know where to find out what this error
means?
Any help is appreciated.
Thanks!
Kathy Bieltz