home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: brianc@Aus.Sun.COM (Brian Cunningham)
- Subject: linker errors under OpenWindows
- Message-ID: <9301060002.AA00856@fingon.Aus.Sun.COM>
- Sender: daemon@athena.mit.edu (Mr Background)
- Organization: The Internet
- Date: Wed, 6 Jan 1993 16:02:04 GMT
- Lines: 58
-
-
- >
- > I am using a SUN SPARC STATION IPX with SunOS Release 4.1.3 (GENERIC_SMALL) #).
- > It seems that the X-window Athena widget kit is having some problem with this
- > platform. Simple try to compile the famous HelloWorld program xhw3 yield the
- > following:
- >
- > % make -f makefile xhw3
- > cc -o xhw3 xhw3.o -O -lXaw -lXmu -lXt -lX11 -lm
- > ld: Undefined symbol
- > _XShapeQueryExtension
- > _XShapeCombineMask
- > _get_wmShellWidgetClass
- > _get_applicationShellWidgetClass
- > *** Error code 2
- > make: Fatal error: Command failed for target `xhw3'
- >
- > Actually, the executable code of xhw3 was generated and runnable. But what the
- > above errors are telling us. an identical compile session running on IPC or ELC
- > do not have problem at all. Anyone has experience with this problem? What
- > I should do about it? Any suggestion/comments will be appreciated. E-mail
- > to zhang@buast7.bu.edu is preferred.
- >
- > Following the suggestion on this newsgroup on a similar thread, I tried to
- > use -Bstatic option for the linker, it gave even more undefined symbols:-(
- >
- > A quick look at th include/X11 area found that the content/directory-structure
- > are different b/w SUN IPX and SUN ELC
- >
- > Yun Fei Zhang
- > ===============
- >
- > for your information, a ls command in /usr/openwin/lib gives the following
- >
- > % ls libX*
- > libX.sa.1.0@ libX11.so@ libXmu.sa@ libXol.so@ libXt.so@
- > libX.so.1.0@ libX11.so.4.3 libXmu.sa.4.0 libXol.so.3.1 libXt.so.4.1
- > libX11.sa@ libXaw.so@ libXmu.so@ libXt.sa@
- > libX11.sa.4.3 libXaw.so.4.0 libXmu.so.4.0 libXt.sa.4.1
- >
- >
-
- I have the Same problem Yun. I am running SunOS 4.1.3, OW 3.0. All fully
- installed and always find that the following two errors occur when compiling
- most X programs;
-
- _get_wmShellWidgetClass
- _get_applicationShellWidgetClass
-
- I too tried the -Bstatic compile option, to no effect. Does anyone out there
- have a solution?
-
- Thanks in advance,
-
- Brian Cunningham ...
-
- ---
- Sun Microsystems Australia. Systems Administrator.
-