View previous topic :: View next topic |
Author |
Message |
piroko Tux's lil' helper
Joined: 25 Aug 2006 Posts: 77
|
Posted: Mon Aug 28, 2006 12:05 pm Post subject: Mac on Linux strange compiling error [RESOLVED] |
|
|
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 |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
piroko Tux's lil' helper
Joined: 25 Aug 2006 Posts: 77
|
Posted: Mon Aug 28, 2006 1:30 pm Post subject: |
|
|
Thank you for the quick reply! I will be eagerly awaiting this release. |
|
Back to top |
|
|
|