[Prev][Next][Index][Thread]
Re: Basic C Programming
"Dennis" == Dennis Dixon <ddixon@mcn.org> writes:
Dennis> 1) [...] I can't seem to find where the variable
Dennis> "oskit_mem_iid" is previously defined.
`oskit_mem_iid' is defined in `libc/oskit_mem_iid.c' and `com/oskit_mem_iid.c'.
These files are generated when the OSKit is compiled, so look for them in your
OSKit build tree.
Dennis> 2) Even worse, within "oskit_lookup_first(...)", the function
Dennis> "oskit_services_lookup_first(global_registry, iid,
Dennis> out_intf)" is called. As far as I can tell this function
Dennis> doesn't exist anywhere in oskit.
It's defined in `oskit/com/services.h'. It's a macro.
Dennis> There are other functions that I can't find, such as
Dennis> "oskit_services_addservice(..)" , [...]
This is also defined in `oskit/com/services.h'.
Dennis> 3) [...] In the GNUmakerules there is a gcc statement that
Dennis> includes "-loskit_clientos" etc. which I assume is an
Dennis> instruction to link in certain files. However, I can't seem
Dennis> to find what "oskit_clientos" refers to.
It refers to the file `lib/liboskit_clientos.a' in the OSKit build tree. The
options to `ld' are described in the online man page for `ld'; type `man ld'.
Good luck ---
Eric.
--
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah Dept. of Computer Science
http://www.cs.utah.edu/~eeide . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX
Follow-Ups:
References: