home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: brianc@Aus.Sun.COM (Brian Cunningham)
- Subject: Re: linker errors under OpenWindows
- Message-ID: <9301070206.AA08861@fingon.Aus.Sun.COM>
- Sender: root@athena.mit.edu (Wizard A. Root)
- Organization: The Internet
- Date: Thu, 7 Jan 1993 18:06:27 GMT
- Lines: 60
-
-
- > From xpert-mailer@expo.lcs.mit.edu Thu Jan 7 12:50:32 1993
- > Date: 6 Jan 93 03:45:16 GMT
- > From: dn3662@oktext.sbc.com (David W. Neill)
- > Organization: Southwestern Bell
- > Subject: Re: linker errors under OpenWindows
- > Newsgroups: comp.windows.x
- > To: xpert@expo.lcs.mit.edu
- > Content-Length: 1508
- > X-Lines: 41
- >
- > In article <9301060002.AA00856@fingon.Aus.Sun.COM> brianc@Aus.Sun.COM (Brian Cunningham) writes:
- > >
- > >>
- > >> I am using a SUN SPARC STATION IPX with SunOS Release 4.1.3 (GENERIC_SMALL) #).
- > >> 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'
- > >>
- > >
- > >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?
- > >
- >
- > Did you do a "make clean" before re-issuing make? Adding the -Bstatic
- > option gave me the same errors until I re-built all the *.o files,
- > also. Then, the link run ran through without a hitch. Also, in the
- > Makefile, I believe I placed the "-Bstatic" in front of the entire
- > collage of -l[Xt|Xaw|Xmu|etc]. May not have been necessary, but if
- > memory serves, I couldn't get it to work otherwise.
- >
- >
- > --
- > David Neill - Mgr, Mtce Ctr phone number email
- > 2205 N Rockwell FLR 1 work> 405-792-3333 > ..oktext!dn3662
- > OKC,OK 73008 home> 405-843-4464 > ..oktext!frodo!david
- > Internet: dn3662@sunset.sbc.com OR ..texbell.sbc.com!oktext!dn3662
- >
-
- Yup, I found that by adding the -Bstatic ahead of all X libraries and preceeding
- all others with the -Bdynamic it worked - But not all of the time. Very strange.
-
- Thanx,
-
- Brian ...
-