在Ubuntu 7.10下编译jsp-1.43,出现以下错误:
In file included from ../kernel/task.c:47:
../config/linux/cpu_context.h: In function ‘activate_context’:
../config/linux/cpu_context.h:74: error: ‘JB_PC’ undeclared (first use in this function)
../config/linux/cpu_context.h:74: error: (Each undeclared identifier is reported only once
../config/linux/cpu_context.h:74: error: for each function it appears in.)
../config/linux/cpu_context.h:75: error: ‘JB_SP’ undeclared (first use in this function)
make: *** [tskini.o] Error 1
解决办法:
下载补丁,http://www.northern-cross.info/download.html
In file included from ../kernel/task.c:47:
../config/linux/cpu_context.h: In function ‘activate_context’:
../config/linux/cpu_context.h:74: error: ‘JB_PC’ undeclared (first use in this function)
../config/linux/cpu_context.h:74: error: (Each undeclared identifier is reported only once
../config/linux/cpu_context.h:74: error: for each function it appears in.)
../config/linux/cpu_context.h:75: error: ‘JB_SP’ undeclared (first use in this function)
make: *** [tskini.o] Error 1
解决办法:
下载补丁,http://www.northern-cross.info/download.html