MOL new alubook, and 2.6.0testxx Linux kernel

eric.bachard@b.org mol-devel@lists.maconlinux.org
Tue, 16 Dec 2003 22:38:09 +0100


Hello the list,

I just want to use (your great software) MOL on my new powerbook 15" 
1,25 GHz SD model, with Mac OS 10.3.1 and Debian sid  ?

For this, I've downloaded the last (I think) sources from 
source.mvista.com :

  eric@alube:~$ rsync -avz --delete source.mvista.com::
mol            	Mac-On-Linux Source
libmol         	Binary MOL Support Files
yaboot         	Ethan's Yaboot Devel Tree
yaboot-benh    	BenH's Experimental Yaboot Tree
linuxppc_2_4   	LinuxPPC 2.4 BitKeeper tree, stable branch
linuxppc-2.4   	"LinuxPPC branch of the official 2.4 BitKeeper tree"
linuxppc_2_4_benh	Ben's 2.4 Tree (aka, the PowerMac tree)
linuxppc_2_4_devel	LinuxPPC 2.4 BitKeeper tree, development branch
linuxppc-2.5   	LinuxPPC 2.5 tree, based on Linus' BitKeeper tree
linuxppc-2.5-benh	Ben's 2.5 / 2.6 tree, based on the LinuxPPC 2.5 / 2.6 
tree.
linuxppc_2_2   	LinuxPPC 2.2 BitKeeper tree

and done (of course) :
eric@alube:~$ rsync -avz --delete source.mvista.com::mol ./mol
(same thing for libmol)



My kernel is the 2.6.0test11-benh from the same link :-)

So, I've made :

./autogen.sh
./configure
make

But the compilation failed with :

...

gcc -E -D__ASSEMBLY__  -I../../..   -I./include -I../../include 
-I../include -I../../shared -I- checksum_asm.S | m4 -s  | tr ';' '\n' > 
checksum_asm.o.s
as checksum_asm.o.s  -o checksum_asm.o
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/shared -I./include 
-I../../include -I../include -I../../shared -I-    -g -O2 -Wall 
-I/usr/X11R6/include -c console_video.c
Dans le fichier inclus à partir de /usr/include/linux/timer.h:6,
           à partir de /usr/include/linux/workqueue.h:8,
           à partir de /usr/include/linux/fb.h:5,
           à partir de console_video.c:25:
/usr/include/linux/list.h:576:2: attention : #warning "don't include 
kernel headers in userspace"
In file included from /usr/include/linux/workqueue.h:8,
                  from /usr/include/linux/fb.h:5,
                  from console_video.c:25:
/usr/include/linux/timer.h:12: error: field `entry' has incomplete type
In file included from /usr/include/linux/fb.h:5,
                  from console_video.c:25:
/usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type
In file included from console_video.c:25:
/usr/include/linux/fb.h:342: error: erreur de syntaxe before '*' token
/usr/include/linux/fb.h:346: error: erreur de syntaxe before '}' token
make[3]: *** [console_video.o] Erreur 1
make[2]: *** [all-recursive] Erreur 1
make[1]: *** [all-recursive] Erreur 1
make: *** [all-recursive] Erreur 1
alube:/usr/src/mol#



FYI :

1)
alube:/usr/src/mol# gcc --version
gcc (GCC) 3.3.3 20031206 (prerelease) (Debian)
Copyright (C) 2003 Free Software Foundation, Inc.

2)

after the "configure" script :

====================================================
  Building using kernel headers
  KHEADERS=/lib/modules/2.6.0-test11v2/build/include
====================================================
Compiling without ESounD support
alube:/usr/src/mol#


/* BTW :  not important for me for now : I want to compile it first */


For the record, I was using MOL on my precedent ibook, and MOL was 
working perfectly (sound, network, usb scanner (yes :-p )...and so on)

I know one of compilation fail reason is a syntax error, but there'is 
something else, and perhaps isn't it possible for now to compile it.
Am I wrong ?


Finally, my question :

Is it possible to use mol with a 2.6.Xxx kernel and new albook ?




Thanks in advance for your answer


Best regards, eric bachard



[cut NOSPAM in my address if you want to reply]

-- 
NO ePATENTS / NON AUX BREVETS SUR LES LOGICIELS. See / Voir 
http://swpat.ffii.org/

eric bachard