[OSy] assignment 1 - compilation error

Martin Decky decky at d3s.mff.cuni.cz
Tue Nov 8 15:41:46 CET 2016


On 2016-11-08 14:02, Artur Finger wrote:
> i get this error:
>
> [...]
>
>         ./include/c.h:290:30: error: 'CP0_STATUS_IE_MASK' undeclared
>         (first use in this function)
>
> [...]
>
> What is going on?

Well, it is OK to ask once, but next time anybody encounters the 
undeclared symbol error, please grep the source tree (*) to simply find 
the declaration of the symbol. And only if you really can't find it 
using common tools, then write an email.

I mean, asking for external assistance without trying to solve the 
problem yourself first is hardly the best way to improve your 
coding/debugging skills :)

(*) Of course, using a tool such as Cscope or OpenGrok for indexing and 
cross-referencing the sources (or using an good IDE) is also a 
reasonable option. But even the crudest text search should work here.


M.D.




More information about the NSWI004 mailing list