From: Dahai Li (wet!dhl@well.sf.ca.us)
Date: 11/28/92


From: wet!dhl@well.sf.ca.us (Dahai Li)
Subject: Help! xxgdb.a linking problem
Date: Sat, 28 Nov 1992 21:35:58 GMT

Hello,

I am having problem with linking xxgdb, which was downloaded from sunsite.

The following is the outpout of running

        gcc -L/usr/X386/lib xxgdb.a -o xxgdb -lXaw -lXmu -lXt -lX11

Reading specs from /usr/lib/gcc-lib/i386-linux/2.2.2d/specs
gcc version 2.2.2d
 ld -o xxgdb /usr/lib/gcc-lib/i386-linux/2.2.2d/crt0.o -L/usr/lib/shlib/jump -L/usr/X386/lib -L/usr/lib/gcc-lib/i386-linux/2.2.2d -L/usr/lib/gcc-lib/i386-linux/2.2.2d xxgdb.a -lXaw -lXmu -lXt -lX11 -lgcc -lc -lgcc
/usr/X386/lib/libXaw.a(Command.o): Undefined symbol _XShapeQueryExtension referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment
/usr/X386/lib/libXmu.a(ShapeWidg.o): Undefined symbol _XShapeCombineMask referenced from text segment

I also tried with -s option, the results were the same as far as undefined
symboles are concerned.

Can someone tell me what I need to do please?

My configuration is:
        linux-0.98pl5
        x11free86.v2.0
        gcc v2.2.2d with jump table v4.1

Thanx.

Dahai