Mac on Linux help

Joseph Mesterhazy jmesterh at iastate.edu
Tue Mar 1 15:36:27 UTC 2005


Hello,

Yeah the sheep.c patches are actually in 0.9.71, and that compiles 
fine. I had to apply the alloc patch from the yellow dog lists. Here is 
where I get with compiling 0.9.71, everything compiles without errors 
until:

+ Entering Linux
   AS [x]   /root/mol-0.9.71/obj-ppc/build/src/kmod/_traps.o
   Building modules, stage 2.
Warning: could not find 
/root/mol-0.9.71/obj-ppc/build/src/kmod/.traps.o.cmd for 
/root/mol-0.9.71/obj-ppc/build/src/kmod/traps.o
     Kernel source                 : 
/lib/modules/2.6.10-1.767_FC3.dwmw2/build
     Module compiled for           : 2.6.10-1.767_FC3.dwmw2
     Running kernel                : 2.6.10-1.767_FC3.dwmw2
+ Entering netdriver
/root/mol-0.9.71/obj-ppc/build/src/netdriver/sheep.c: In function 
`sheep_net_readv':
/root/mol-0.9.71/obj-ppc/build/src/netdriver/sheep.c:340: warning: 
`interruptible_sleep_on' is deprecated (declared at 
include/linux/wait.h:310)
make[5]: *** No rule to make target 
`/root/mol-0.9.71/obj-ppc/build/src/netdriver/ethertap.c', needed by 
`/root/mol-0.9.71/obj-ppc/build/src/netdriver/ethertap.o'.  Stop.
make[4]: *** [_module_/root/mol-0.9.71/obj-ppc/build/src/netdriver] 
Error 2
[root at localhost mol-0.9.71]#

Joe

On Mar 1, 2005, at 3:29 AM, Wade Mealing wrote:
> Yeah, you'll probably find that they still use the old way of
> addressing ethernet headers.
>
> from
> &skb->mac.ethernet->h_dest[0]
>
> to
> &eth_hdr(skb)->h_dest[0]
>
> Check around in these files, might reference them this way. Would help
> if you could put in the build errors.
>
> Wade
> On Mon, 28 Feb 2005 10:31:17 -0600, Joe Mesterhazy 
> <jmesterh at iastate.edu> wrote:
>> Hello list,
>>
>> I've spent the last two days beating over MOL trying to get it to work
>> with FC3 and the 767 DWMW2 kernel. The application builds fine, but 
>> the
>> kernel section fails miserably. I saw a message to this list on the
>> same subject in the archives, but it was not of any help.
>>
>> I found some patches for YellowDog users here:
>> http://www.mail-archive.com/yellowdog-
>> general at lists.terrasoftsolutions.com/msg00133.html and those helped 
>> get
>> past some errors, but now the 'make modules' still fails when 
>> compiling
>> ethertap.c and tun.c.
>

--
Joe Mesterhazy
ECpE UNIX Administrator
2101 Coover Hall, Iowa State University
Ames, IA 50011.  (515) 294-7359
http://www.mesterhazy.net





More information about the ppc mailing list