Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mol doesn´t build against current kernel git ?[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Tue Sep 18, 2007 10:25 am    Post subject: mol doesn´t build against current kernel git ?[solved] Reply with quote

Hi all,

i was trying to reproduce an error with mol, upgraded to a newer kernel ( almost latest git) and now i get :

LC_ALL=C emerge -v mol

Code:
CC [M]  /var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/context.o
  CC [M]  /var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/ptaccess.o
  CC [M]  /var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.o
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c: In function 'handle_ioctl':
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:182: error: implicit declaration of function '_IOWR'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:182: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:182: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:186: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:186: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:190: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:190: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:195: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:195: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:198: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:198: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:202: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:202: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:205: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:205: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:209: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:209: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:212: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:212: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:216: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:216: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:227: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:227: error: case label does not reduce to an integer constant
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:246: error: expected expression before 'mol_ioctl_pb_t'
/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.c:246: error: case label does not reduce to an integer constant
make[2]: *** [/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod/misc.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-emulation/mol-0.9.72.1/work/mol-0.9.72.1/obj-ppc/build/src/kmod] Error 2
nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file
nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file
checker.pl failed
rm: cannot remove `../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file or directory
make: *** [all-local] Error 1

 *
 * ERROR: app-emulation/mol-0.9.72.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   mol-0.9.72.1.ebuild, line 81:   Called linux-mod_src_compile
 *   linux-mod.eclass, line 516:   Called die
 *
 * Unable to make  TOUT=/var/tmp/portage/app-emulation/mol-0.9.72.1/temp/.tmp_gas_check TOUT=/var/tmp/portage/app-emulation/mol-0.9.72.1/temp/.tmp_gas_check TOUT=/var/tmp/portage/app-emulation/mol-0.9.72.1/temp/.tmp_gas_check KERNEL_SOURCE=/usr/src/linux LV=26 MP=ko
                                  KUNAME=2.6.23-rc6-grc1 all.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/mol-0.9.72.1/temp/build.log'.
 *
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-emulation_-_mol-0.9.72.1-29472.log"

open_wr:   /usr/src/linux-2.6.23-rc6-grc1/null.gcda
open_wr:   /usr/src/linux-2.6.23-rc6-grc1/null.gcda
open_wr:   /usr/src/linux-2.6.23-rc6-grc1/null.gcda
open_wr:   /usr/src/linux-2.6.23-rc6-grc1/null.gcda
open_wr:   /usr/src/linux-2.6.23-rc6-grc1/null.gcda
--------------------------------------------------------------------------------


it looks like a sandbox violation but it isn´t as you´ll get the same if disabling sandbox.

TIA for any tip !
_________________
Error: Failing not supported by current locale


Last edited by gringo on Thu Sep 20, 2007 4:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Sep 19, 2007 1:01 pm    Post subject: Reply with quote

MOL is not currently supported on 2.6.23 due to a number of changes in the kernel. I haven't had time to fix it yet, but I'm working on it. There is already a bug open on the MOL page about it.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Sep 20, 2007 4:02 pm    Post subject: Reply with quote

JoseJX wrote:
MOL is not currently supported on 2.6.23 due to a number of changes in the kernel. I haven't had time to fix it yet, but I'm working on it. There is already a bug open on the MOL page about it.


ok, thanks for clarifying !

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum