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
        [EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to