Hi there,
before i file my bug here i first want to thank everyone involved in that project and this great idea to overcome some of the restrictions that PPC face running Linux.
My specific wish is, to use Skype on my Powerbook G4 to skype with my girlfriend in china, sth. that i'm not able to because there is no ppc build of this software.
I'm using Ubuntu Hardy PPC version and am except of those aforementioned restrictions quite happy with it.
Now back to my bug:
i followed the instructions of the wiki and the following webpages to compile mol on my own, because the ubuntu repositories have some dependency problems with mol:
http://ubuntuforums.org/showthread.php?t=565388
https://help.ubuntu.com/community/MacOnLinuxHowto
and others...
After installing a big bunch of missing packages (see below) with a hard struggle for the information, which of these packages where actually needed to compile mol, i was able to compile it (except some minor warnings) and to set the gfx modes successfully.
But when it try to start it via
"startmol -X" or " startmol --test"
i always get this error message:
"Mac-on-Linux 0.9.73-SVN [Jun 5 2008 18:56]
Copyright (C) 1997-2004 Samuel Rydh
Starting MOL session 0
Segmentation fault"
"startmol --list" gives this:
--------------------------------------------------------------
Running kernel: 2.6.24-18-powerpc
--------------------------------------------------------------
Available modules:
2.6.24-18-powerpc in /usr/local/lib/mol/0.9.73
--------------------------------------------------------------
I simply don't know what i'm doing wrong.
Please somebody help me!
Have already spent too much time on it to fail in the end. I really need this to run!
Thank you for any advice or hint - if you need more secific info, just let me know (e.g. el_lunatico@gmx.net).
Regards, Nix
used packages to compile:
libc6-dev ncurses-dev zlib1g-dev libasound2-dev xlibs-dev libpng12-dev libxxf86dga-devlibc6-dev ncurses-dev zlib1g-dev libasound2-dev xlibs-dev libpng12-dev libxxf86dga-dev automake1.9 xlibs-data
xlibs-static-dev x11proto-xext-dev libxext-dev
Logged In: YES
user_id=2109707
Originator: NO
Here are the compiler outputs for my last try:
+ Entering lxdialog
Compiling checklist.o
Compiling menubox.o
Compiling textbox.o
Compiling yesno.o
Compiling inputbox.o
Compiling util.o
Compiling lxdialog.o
Compiling msgbox.o
= Building lxdialog
+ Entering kconfig
Compiling zconf-y.o
Linking libkconf.a
Compiling mconf.o
= Building mconfig
Compiling conf.o
= Building config
#
# using defaults found in config/defconfig-ppc
#
config/defconfig-ppc:16: trying to assign nonexistent symbol SDL_VIDEO
# End of "Mac-on-Linux" configuration.
# The next step is probably 'make'.
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
= Building mol-0.9.73-SVN [Jun 6 2008 17:07]
+ 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
misc.c: In Funktion »load_mods«:
misc.c:126: Warnung: zu wenig Argumente für Format
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 blk_raw.o
Compiling blk_qcow.o
Compiling vec_wrap.o
Compiling aes.o
Compiling blk_dmg.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 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 iface.o
Compiling mac_enet.o
Compiling enet2.o
Compiling packet.o
Compiling ipchksum-ppc.o
Linking libnet.a
+ Entering sound
Compiling alsa.o
alsa.c: In Funktion »alsa_probe«:
alsa.c:209: Warnung: Die Adresse von »selem_id« wird immer zu »wahr« auswerten
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
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 performance.o
Compiling selftest.o
Compiling vsprintf.o
Linking libxselftest.a
Compiling keyremap.o
Linking libxkeyremap.a
Compiling init.o
+ Entering vconfig
Compiling main.o
Compiling vmodeparser.o
Compiling modes-y.o
Compiling modes-l.o
= Building molvconfig
+ Entering kmod
+ Entering Linux
AS [x] /home/lmoeller/mac-on-linux/obj-ppc/build/src/kmod/_traps.o
Building modules, stage 2.
WARNING: could not find /home/lmoeller/mac-on-linux/obj-ppc/build/src/kmod/.traps.o.cmd for /home/lmoeller/mac-on-linux/obj-ppc/build/src/kmod/traps.o
WARNING: "handle_mm_fault" [/home/lmoeller/mac-on-linux/obj-ppc/build/src/kmod/mol.ko] undefined!
Kernel source : /lib/modules/2.6.24-18-powerpc/build
Module compiled for : 2.6.24-18-powerpc
Running kernel : 2.6.24-18-powerpc
+ Entering netdriver
/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.c: In Funktion »sheep_net_ioctl«:
/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.c:561: Warnung: Übergabe des Arguments 1 von »dev_get_by_name« von inkompatiblem Zeigertyp
/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.c:561: Fehler: Zu wenige Argumente für Funktion »dev_get_by_name«
/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.c:571: Warnung: Übergabe des Arguments 3 von »sk_alloc« erzeugt Ganzzahl von Zeiger ohne Typkonvertierung
/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.c:571: Warnung: Übergabe des Arguments 4 von »sk_alloc« erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
make[5]: *** [/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver/sheep.o] Fehler 1
make[4]: *** [_module_/home/lmoeller/mac-on-linux/obj-ppc/build/src/netdriver] Fehler 2
+ Entering util/img
Compiling mol-img.o
Compiling mol-img-lib.o
= Building mol-img
+ Entering bootx
+ Entering fs
Compiling cache.o
Compiling ext2fs_bswap.o
Compiling ext2fs.o
Compiling fs.o
Compiling hfs.o
Compiling HFSCompare.o
Compiling net.o
Compiling ufs.o
Compiling ufs_byteorder.o
Linking libfs.a
+ Entering libc
Compiling mem.o
Compiling string.o
Compiling zalloc.o
Compiling vsprintf.o
Compiling strtol.o
Linking liblibc.a
+ Entering main
Compiling main.o
Compiling device_tree.o
Compiling macho.o
Compiling ci.o
Compiling drivers.o
Compiling drivers_simple.o
Compiling util.o
Compiling pseudofs.o
Compiling init.o
Linking libmain.a
+ Entering accel
Compiling mol.o
Compiling molaccel.o
Linking libaccel.a
Linking libbootx.a
Compiling .dummy.o