Date: Sat, 29 Nov 2008 19:04:51 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Anybody familiar with "publib"?? Message-ID: <20081130010450.GC53570@dan.emsphone.com> In-Reply-To: <20081129225120.GA83398@thought.org> References: <20081129225120.GA83398@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 29), Gary Kline said: > I found a neat function in publib that should do what I want, but > adding either > > #imclude <publib.h> // as per man publib > > OR > > #include "/usr/local/include/publib.h" > > fails. Yes, I am adding "-lpub" to the enc of gcc. Still bombs. > Anybody know why? Prev'ly when I've used the publib functions, I've > had to move/copy a slew of them into my private build. Be nice if > this just-worked! Try adding "-I /usr/local/include" to your compile line, and "-L /usr/local/lib" to your link line. Also, providing the error message instead of just saying "it fails" is helpful. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081130010450.GC53570>