kernel.h

Aaron WIlcox <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
I'm messing around with some device drivers for a PCI plug in card, and 
I've run into an issue with getting Eclipse to recognize functions 
defined in 'kernel.h' (i.e.: printk(), min_t() etc...).  I've added the 
path '/usr/src/linux-headers-2.6.28-14/include' to the Eclipse project, 
since a lot of the required headers are found there.  Eclipse recognizes 
that it's supposed to be using the version of 'kernel.h' in 
/usr/src/linux-headers-2.6.28-14/include', but calls to printk() and 
min_t() are flagged as syntax errors and the "Open Declaration" context 
menu option gives the error "Selected text cannot be mapped to a symbol 
name".  Any ideas what I'm doing wrong?
-- 


      Aaron Wilcox

GMail <mailto:[email protected]>
Sympatico <mailto:[email protected]>

-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.