MOL bk-devel 0.9.71 and kernel 2.6.9 on albook15" : sheep build

eric.bachard eric.bachard at free.fr
Wed Oct 27 16:09:02 MDT 2004


Hi,

After I have downloaded the latest 2.6.9 kernel, + BenH patch for my 
powerbook (alu15") , I couldn't compile MOL : a union with a member 
called "ethernet" couldn't be found...So, after some investigations, I 
have found that linux/skbuff.h from linux-2.6.9-rc3 and from linux-2.6.9 
are differents...

Even, the new linux/skbuff.h seems to be wrong, because of a strange 
union (if I'm not wrong), with only one member :


eric at alube:~/essai/patches$ cat -n skbuff.h | head -225 | tail -10

    216			struct ipv6hdr	*ipv6h;
    217			struct arphdr	*arph;
    218			unsigned char	*raw;
    219		} nh;
    220	
    221		union {
    222		  	unsigned char 	*raw;
    223		} mac;
    224	
    225		struct  dst_entry	*dst;

So, making a diff between linux/skbuff.h of linux-2.6.9-rc3 and 
linux-2.6.9, I have made a very little (following) patch


"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
  --- skbuff.h_old	2004-10-18 23:55:36.000000000 +0200
+++ skbuff.h	2004-10-27 21:20:43.000000000 +0200
@@ -219,6 +219,7 @@
  	} nh;

  	union {
+	  	struct ethhdr	*ethernet;
  	  	unsigned char 	*raw;
  	} mac;
 
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Now, this is really an union, with a least two members for mac  :-)


It works for me (sheep : verified) , so I now have both MacOnLinux (on 
Mac OS 10.3.3) *and* sleep on my alu 15"



Finally, many many thanks to BenH, Paul Mackerras and all the MOL Team   :-)




Regards,
eric bachard


-- 
eric bachard 	<ericb at openoffice.org>
French OpenOffice.org Community contributor (build of french releases 
for Linux PPC and Mac OS X / X11)
See : <http://fr.openoffice.org>


More information about the mol-general mailing list