From: Shanti K. <ka...@cs...> - 2002-09-13 20:24:42
|
Hi, While creating a patch for UML on sparc64, I discovered that initially I had some problem with generation of arch/um/util/mk_task, and hence I had copied mk_task from UML/Intel. Even now, I am having problems generating that file automatically. Manual build of mk_task, gives some wierd linker error: /usr/bin/ld: warning: sparc:v9 architecture of input file `mk_task_kern.o' is incompatible with sparc output /usr/bin/ld: BFD 2.12.90.0.1 20020307 Debian/GNU Linux assertion fail ../../bfd/elflink.h:2817 mk_task_kern.o: In function `main': mk_task_kern.o(.text+0x0): relocation truncated to fit: R_SPARC_DISP8 *UND* collect2: ld returned 1 exit status make[1]: *** [mk_task] Error 1 I am using gcc-3.0 and binutils 2.12.90.0.1-4. The problem is that even though mk_task_kern.c has #include "linux/sched.h", it's trying to access /usr/include/linux/sched.h. Any ideas on how o avoid that? -Shanti |