Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mac on Linux strange compiling error [RESOLVED]
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
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Aug 28, 2006 12:05 pm    Post subject: Mac on Linux strange compiling error [RESOLVED] Reply with quote

While trying to compile Mac on Linux on a 2.6.18-r4 kernel, I get the following on compile:

Code:
= Building mol-0.9.71-pre8 [Aug 28 2006 06:33]
+ Entering scripts
    Compiling    asfilter.o         
= Building asfilter             
    Compiling    kver_approx.o       
= Building kver_approx           
+ Entering src
+ Entering lib
    Compiling    cache.o             
    Compiling    extralib.o         
    Compiling    llseek.o           
    Compiling    elfload.o           
    Compiling    unicode.o           
    Compiling    backtrace.o         
    Linking      libcommon.a           
+ Entering main
+ Entering linux
    Compiling    misc.o             
    Linking      libarch.a             
    Compiling    res_manager.o       
    Compiling    molrcget.o         
= Building molrcget             
    Linking      libres.a             
    Compiling    async.o             
    Compiling    main.o             
    Compiling    memory.o           
    Compiling    os_interface.o     
    Compiling    promif.o           
    Compiling    session.o           
    Compiling    thread.o           
    Compiling    timer.o             
    Linking      libmain.a             
+ Entering drivers
+ Entering disk
    Compiling    blkdev.o           
    Compiling    disk_open.o         
    Compiling    ablk.o             
    Compiling    pseudofs.o         
    Compiling    scsi.o             
    Compiling    sg-scsi.o           
    Compiling    cd-scsi.o           
    Compiling    ablk-cd.o           
    Linking      libdisk.a             
+ Entering video
    Compiling    x11.o               
    Compiling    xvideo.o           
    Compiling    checksum.o         
    Compiling    vncvideo.o         
    Compiling    xdga.o             
    Compiling    fbdev.o             
    Compiling    video.o             
    Compiling    offscreen.o         
    Compiling    checksum-ppc.o     
    Linking      libvideo.a           
+ Entering net
    Compiling    if-tun.o           
    Compiling    if-sheep.o         
    Compiling    if-tap.o           
    Compiling    iface.o             
    Compiling    mac_enet.o         
    Compiling    enet2.o             
    Compiling    packet.o           
    Compiling    ipchksum-ppc.o     
    Linking      libnet.a             
+ Entering sound
    Compiling    alsa.o             
    Compiling    oss.o               
    Compiling    sound.o             
    Linking      libsound.a           
    Compiling    driver_mgr.o       
    Compiling    ioports.o           
    Compiling    keycodes.o         
    Compiling    kbd.o               
    Compiling    via-cuda.o         
    Compiling    adb.o               
    Compiling    gc.o               
    Compiling    pic.o               
    Compiling    osi_pic.o           
    Compiling    nvram.o             
    Compiling    escc.o             
    Compiling    dbdma.o             
    Compiling    pci.o               
    Compiling    pci-bridges.o       
    Compiling    osi_mouse.o         
    Compiling    osi_driver.o       
    Compiling    usb.o               
    Compiling    rtas.o             
    Compiling    hostirq.o           
    Compiling    console.o           
    Compiling    usbdev.o           
    Compiling    pciproxy.o         
    Linking      libdrivers.a         
+ Entering debugger
    Linking      libdebugger.a         
+ Entering cpu
+ Entering ppc
    Compiling    init.o             
    Compiling    mainloop_asm.o     
    Linking      libppc.a             
    Compiling    mainloop.o         
    Compiling    molcpu.o           
    Linking      libcpu.a             
+ Entering booter
    Compiling    booter.o           
    Compiling    common.o           
    Compiling    elf.o               
    Compiling    macho.o             
    Linking      libbooter.a           
    Linking      liballmol.a           
= Building mol                   
+ Entering molelf
    Compiling    init.o             
    Compiling    performance.o       
    Compiling    selftest.o         
    Compiling    vsprintf.o         
    Linking      libxselftest.a       
    Compiling    keyremap.o         
    Linking      libxkeyremap.a       
+ Entering vconfig
    Compiling    main.o             
    Compiling    vmodeparser.o       
    Compiling    modes-y.o           
    Compiling    modes-l.o           
= Building molvconfig           
+ Entering kmod
+ Entering Linux
checker.pl failed
/home/jeremy/sc/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_kuname.c:39: error: syntax error before "UTS_RELEASE"
make[5]: *** [/home/jeremy/sc/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_kuname.o] Error 1
make[4]: *** [_module_/home/jeremy/sc/mol-0.9.71_pre8/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
rm: cannot remove `../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file or directory
make[3]: *** [all-local] Error 1
make[2]: *** [sub-Linux-all] Error 2
make[1]: *** [sub-kmod-all] Error 2
make: *** [sub-src-all] Error 2


I have googled this error and found one post on the Ubuntu forums saying to use gcc 3, but I have used both gcc 3 and gcc 4 and both give me the same output... I am at a loss as to what to do here! Can anyone please help me?

Thank you in advance,
Jeremy


Last edited by piroko on Mon Aug 28, 2006 1:32 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: Mon Aug 28, 2006 1:24 pm    Post subject: Reply with quote

I haven't fixed MOL yet. There will be a new release shortly to address this.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Mon Aug 28, 2006 1:30 pm    Post subject: Reply with quote

Thank you for the quick reply! I will be eagerly awaiting this release. :D
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