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

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

-- 
Soren Harward <[EMAIL PROTECTED]>
http://theboard.byu.edu/

Attachment: signature.asc
Description: Digital signature

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

Reply via email to