Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.x Subject: Re: Help: AWM won't build! Message-ID: <7945@auspex.auspex.com> Date: 21 May 91 02:50:46 GMT References: <1991May15.133159.11672@vaxa.strath.ac.uk> Organization: Auspex Systems, Santa Clara Lines: 42 >ld: /lib/libXmu.sa.4.0: warning: table of contents for archive is out of date; >r >erun ranlib(1) This is a result of a bug in the X11R4 "Imake.rules", which I think I've submitted a bug report on. It doesn't bother "ranlib"bing ".sa" files, Which Is Wrong. The fix: *** Imake.rules.dist Mon Dec 18 14:14:19 1989 --- Imake.rules Mon Jan 29 14:25:17 1990 *************** *** 338,345 **** #ifndef InstallSharedLibraryData #define InstallSharedLibraryData(libname,rev,dest) @@\ install:: lib/**/libname.sa.rev @@\ ! $(INSTALL) -c $(INSTLIBFLAGS) lib/**/libname.sa.rev dest ! #endif /* InstallSharedLibraryData */ --- 338,345 ---- #ifndef InstallSharedLibraryData #define InstallSharedLibraryData(libname,rev,dest) @@\ install:: lib/**/libname.sa.rev @@\ ! $(INSTALL) -c $(INSTLIBFLAGS) lib/**/libname.sa.rev dest @@\ ! $(RANLIB) $(RANLIBINSTFLAGS) dest/lib/**/libname.sa.rev #endif /* InstallSharedLibraryData */ >ld: Undefined symbol > _applicationShellWidgetClass > _wmShellWidgetClass Those appear to be defined by the "-lXt" library, but your example doesn't seem to be linking with that library. Try fixing the Makefile to do so, or fixing the Imakefile or the appropriate config file to ensure that the Makefile will do so, and try again. (If you fix the Makefile directly, you must *still* go back and fix the Imakefile and the appropriate config file in any case - you just get to do it after you've gotten "awm" built.)