[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: oskit troubles, anyone out there use it?



On Tue, Jan 16, 2001 at 10:13:25PM -0500, Jonathan D. Proulx wrote:
> Hi,
> 
> just installed oskit, but cant seem to compile anything using it:
> 
> #include <oskit/clientos.h>
> #include <stdio.h>
> void main()
There is no "void main" in C (always returns an int).

>                {
>                        oskit_clientos_init();
> 
>                        printf("Hello, World\n");
>                }


> fails to compile with:
> /tmp/ccPfErPd.o: In function `main':
> /tmp/ccPfErPd.o(.text+0x7): undefined reference to
> 			    `oskit_clientos_init'
> collect2: ld returned 1 exit status
> 
> I've used gcc272 and gcc-2.95.2, am I missing some thing simple like
> -loskit, I know it's not really that as I tried it...

Is it possible liboskit doesn't live in /usr/lib/ or /lib ?  If so, you
need an -L/<path>.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: