Menu

#17 ibcs binfmt-coff.c fails to compile on opensuse 11.3

open
nobody
None
6
2010-09-29
2010-08-17
No

the error that stops the compile is mm_struct has no member rss
seems that headers were changed in the new kernel, but I dont know how to fix it.
works fine on opensuse 11.2

make -C /lib/modules/2.6.34-12-default/build M=/root/ibcs3 modules
make[1]: Entering directory `/usr/src/linux-2.6.34-12-obj/i386/default'
make -C ../../../linux-2.6.34-12 O=/usr/src/linux-2.6.34-12-obj/i386/default/. modules
CC [M] /root/ibcs3/coff/binfmt-coff.o
In file included from /usr/src/linux-2.6.34-12/arch/x86/include/asm/unistd.h:3:0,
from /usr/src/linux-2.6.34-12/include/linux/unistd.h:7,
from /usr/src/linux-2.6.34-12/arch/x86/include/asm/seccomp_32.h:4,
from /usr/src/linux-2.6.34-12/arch/x86/include/asm/seccomp.h:2,
from /usr/src/linux-2.6.34-12/include/linux/seccomp.h:8,
from /usr/src/linux-2.6.34-12/include/linux/sched.h:81,
from /root/ibcs3/coff/binfmt-coff.c:19:
/usr/src/linux-2.6.34-12/arch/x86/include/asm/unistd_32.h:349:0: warning: "NR_syscalls" redefined
/root/ibcs3/coff/../include/util/i386_std.h:284:0: note: this is the location of the previous definition
/root/ibcs3/coff/binfmt-coff.c: In function ‘coff_load_object’:
/root/ibcs3/coff/binfmt-coff.c:621:14: error: ‘struct mm_struct’ has no member named ‘rss’
make[5]: *** [/root/ibcs3/coff/binfmt-coff.o] Error 1
make[4]: *** [/root/ibcs3/coff] Error 2
make[3]: *** [_module_/root/ibcs3] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.34-12-obj/i386/default'
make: *** [all] Error 2

Discussion

  • George McGee

    George McGee - 2010-09-29
    • priority: 5 --> 6
     
  • Anonymous

    Anonymous - 2011-02-28

    HI All,

    I'm having a similar problem on my OpenSuse 11.3 box. Any update regarding this?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.