*BSD News Article 84572


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hammer.uoregon.edu!newsgate.nytimes.com!panix!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!newsfeed.internetmci.com!in1.uu.net!192.233.85.167!shore!nvp
From: nvp@shore.net (Nathan V. Patwardhan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: motif compile error
Date: 9 Dec 1996 15:23:01 GMT
Organization: Shore.Net; a service of Eco Software, Inc. (info@shore.net)
Lines: 18
Message-ID: <58hasl$hml@fridge-nf0.shore.net>
References: <Pine.SUN.3.95L.961209141331.17195A-100000@ustsu3.ust.hk>
NNTP-Posting-Host: shell2.shore.net
X-Newsreader: TIN [version 1.2 PL2]

PANG KIN HUNG (eekhpang@uxmail.ust.hk) wrote:

: I have freebsd 2.1.5 + Xfree86 3.1.2 + Mootiff for freebsd installed. When
: I try to compile motif program using -lXm -lXt -lX11, i get the error
: message: ld: -lXt: no match.

Probably 'cause your compiler can't find lib Xt, and (if I'm correct) won't
find lib X11, either.

Try: gcc filename.c -lXm -lXt -lX11 -I/usr/X11R6/include -L/usr/X11R6/lib

--
Nate [nvp@shore.net||nvp@nfic.com]
"Take them to the Iron Maiden" 
IRON MAIDEN ... EXCELLENT! 
"Execute them!" 
BOGUS...
			- Bill and Ted's Excellent Adventure