[okl4-developer] vtimer source file?

Nelson Tam nelson at ok-labs.com
Thu Feb 14 17:34:40 EST 2008


Hi Ryan,

On 14/02/2008, at 3:38 PM, Ryan Heffernan wrote:

> I am trying to build L4/iguana with an added library that makes use of
> the timer, however due to my machine I have to use a virtual timer.  
> When
> I try to use functions from the vtimer/timer.h file the linker gives  
> me
> an 'undefined reference error (ie.  91: undefined reference to
> `timer_create'). When I checked the source tree I noticed that there  
> is
> nothing under the vtimer/src directory (I was expecting a timer.c).
> Should there be a file here or is there an alternate way to use these
> functions?


You are looking at libs/vtimer, which contains the interface that  
clients
connect to.  The actual implementation is contained in iguana/vtimer/ 
src.

The header file you should be #include'ing  is <interfaces/ 
vtimer_client.h>.
This file is located at build/iguana/include/interfaces/ 
vtimer_client.h after
compilation.

You might want to wait for the next public release until you do anything
serious with the vtimer.
--
(nt)

Nelson Tam
nelson at ok-labs.com






More information about the Developer mailing list