Forum Discussion
Altera_Forum
Honored Contributor
20 years ago> there are error undefined reference to `writew',I have include the header file like
> this# <asm/io.h>.Can anyone tell me why. __KERNEL__ must be defined. If you define this for an application, you'll likely pull in other definitions that will cause compile-time problems. I recommend you copy the macros you need into a header file in your application source tree. It'll probably save you some headaches. Regards, --Scott