On Sat, 2004-03-27 at 22:01, Soren Harward wrote:
> So I was having some issues emerging mplayer again, this time because of a
> parse error due to an undefined type, "atomic_t", in
> "/usr/include/linux/fb.h".  So the challenge became "where exactly in the
> linux source code is atomic_t defined?"  So after a little Googling, I found
> exactly what I was looking for:
> 
>     http://lxr.linux.no/ident

Sorry for taking so long to reply to all these dead threads.  Haven't
had good connectivity in the last little while.

There is an awesome utility called cscope (written by SCO but it's still
good and BSD licensed I think).  You run this in the root of the linux
source try and it will let you search for symbols and easily jump to the
source code.

Michael


> 
> It's a site that will let you search through the kernel source for a
> particular identifier.  I put in "atomic_t" and find out it's defined in
> "asm/atomic.h", and get a list of all the files that reference the symbol,
> including "fb.h".  So I add
> 
>     #include <asm/atomic.h>
> 
> to the beginning of fb.h, and everything is happy again.
> 
> Open Source Success Story #3492
-- 
Michael L Torrie <[EMAIL PROTECTED]>


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to