Mowitz link error

From: Dumas Patrice (dumas@centre-cired.fr)
Date: Thu Feb 07 2002 - 18:34:36 CET


Hi,
I have a redhat 7.2.
I tried to link Mowitz against XawM, with
configure --with-gnu-ld;make
Here is the end of make output:

make[1]: Entre dans le répertoire `/cired/zeus/local/src/Mowitz-0.1.1/examples'
source='allwidgets.c' object='allwidgets.o' libtool=no \
depfile='.deps/allwidgets.Po' tmpdepfile='.deps/allwidgets.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DPACKAGE=\"Mowitz\" -DVERSION=\"0.1.1\" -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FNMATCH=1
-DHAVE_XCREATEIC=1 -I. -I. -I.. -DNARROWPROTO -DNeedFunctionPrototypes
-DUSE_XPM -I/usr/X11R6/include -Wall -g -O2 -c `test -f allwidgets.c ||
echo './'`allwidgets.c
/bin/sh ../libtool --mode=link gcc -Wall -g -O2 -o allwidgets allwidgets.o
../Mowitz/.libs/libMowitz.a -L/usr/X11R6/lib -lXawM -lXpm -lXmu -lXext -lXt
-lX11
mkdir .libs
gcc -Wall -g -O2 -o allwidgets allwidgets.o ../Mowitz/.libs/libMowitz.a
-L/usr/X11R6/lib -lXawM -lXpm -lXmu -lXext -lXt -lX11
/usr/bin/ld: cannot find -lXawM
collect2: ld returned 1 exit status
make[1]: *** [allwidgets] Erreur 1
make[1]: Quitte le répertoire `/cired/zeus/local/src/Mowitz-0.1.1/examples'
make: *** [all-recursive] Erreur 1

When I compile siag (./configure; make), I get that:

Making all in xsiag
make[2]: Entre dans le répertoire `/cired/zeus/local/src/siag-3.5.0/xsiag'
source='window.c' object='window.o' libtool=no \
depfile='.deps/window.Po' tmpdepfile='.deps/window.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNARROWPROTO -I/usr/X11R6/include -Wall
-g -O2 -c `test -f window.c || echo './'`window.c
source='selection.c' object='selection.o' libtool=no \
depfile='.deps/selection.Po' tmpdepfile='.deps/selection.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNARROWPROTO -I/usr/X11R6/include -Wall
-g -O2 -c `test -f selection.c || echo './'`selection.c
source='xsiag.c' object='xsiag.o' libtool=no \
depfile='.deps/xsiag.Po' tmpdepfile='.deps/xsiag.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNARROWPROTO -I/usr/X11R6/include -Wall
-g -O2 -c `test -f xsiag.c || echo './'`xsiag.c
source='drop.c' object='drop.o' libtool=no \
depfile='.deps/drop.Po' tmpdepfile='.deps/drop.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNARROWPROTO -I/usr/X11R6/include -Wall
-g -O2 -c `test -f drop.c || echo './'`drop.c
gcc -Wall -g -O2 -o siag -L../siod -L../common -L../xcommon -L../siag
-L../XawM/.libs window.o selection.o xsiag.o drop.o -lsiag -lxcommon -lcommon
-lsiod -lcrypt -lXpm -L/usr/X11R6/lib -lXawM -lMowitz -lXpm -lXmu -lXext -lXt
-lX11 -lSM
-lICE -lnsl -lm
/usr/bin/ld: cannot find -lXawM
collect2: ld returned 1 exit status
make[2]: *** [siag] Erreur 1
make[2]: Quitte le répertoire `/cired/zeus/local/src/siag-3.5.0/xsiag'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/cired/zeus/local/src/siag-3.5.0'
make: *** [all] Erreur 2

However when I give --with-xawm=Xaw3d everything is fine.

Is it normal ?

Pat



This archive was generated by hypermail 2.1.2 : Thu Feb 07 2002 - 18:44:53 CET