Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mac-on-linux fails to compile
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
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sat Jun 08, 2002 7:51 pm    Post subject: mac-on-linux fails to compile Reply with quote

Hi there,

Being in the middle of configuring gentoo and getting it all setup to my demands, I ran into this problem:
I'm trying to emerge mol
However it fails compiling with an error in mmu.c, function expand_stack, which is called with 2 arguments, but expects 3. As I'm not an expert on this I don't know what to do now... I do see what's the problem 3 <> 2, but do not know how to solve it.
Can anyone give me a hand with this?

BTW: running 2.4.19-r4, and trying mol 0.9.63

TIA
_________________
Lukas
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jun 08, 2002 7:54 pm    Post subject: Reply with quote

There seems to be a problem with that release of MoL. File a bug report and see what happens.
Back to top
View user's profile Send private message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sun Jun 09, 2002 2:04 pm    Post subject: Reply with quote

Just to keep those interested up-to-date:
I did file a bug report, and Gerk replied; I tried with kernel -r5 instead of -r4, but no succes either.
One strange thingy, after:
    emerge rsync
    emerge sys-kernel/ppc-sources
    make oldconfig && make dep && make clean && make vmlinux && make modules && make modules_install

uname still reports me as running -r4, instead of -r5. Could this be due to the make oldconfig?
_________________
Lukas
Back to top
View user's profile Send private message
wfaulk
n00b
n00b


Joined: 08 Jun 2002
Posts: 9

PostPosted: Sun Jun 09, 2002 7:14 pm    Post subject: Reply with quote

I've got the exact same problem with MOL and with the kernel version number. I didn't do an oldconfig, so I'm sure that the version string in the new kernel sources just wasn't updated somewhere, but I've not gotten around to looking yet.

But, back on topic, is there anyway to tell emerge to rev back to the previous version of MOL so that we can get it installed?
_________________
Bitt
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sun Jun 09, 2002 7:29 pm    Post subject: Reply with quote

Yeah, just do emerge /usr/portage/category/package/package-version.ebuild.
Back to top
View user's profile Send private message
wfaulk
n00b
n00b


Joined: 08 Jun 2002
Posts: 9

PostPosted: Sun Jun 09, 2002 9:34 pm    Post subject: Reply with quote

I've only got just the one ebuild file. Where can I get a previous one? There's only the one at ftp://ftp.sunsite.dk/projects/gentooppc/portage/ and the Changelog claims it's the initial version.
_________________
Bitt
Back to top
View user's profile Send private message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Sun Jun 09, 2002 9:48 pm    Post subject: Reply with quote

I cp-ed the ebuild file and renamed it to an earlier version (0.9.62). Then emerge --fetchonly, it will now ftp the older package. Now do a md5sum on the older package and save the information in a file similar to the other digest file. The number at the end of the line is the size of your .tgz
Now emerge... same error in expand_stack/mm.h, so don't bother reproducing this ;-)
_________________
Lukas
Back to top
View user's profile Send private message
Gerk
Retired Dev
Retired Dev


Joined: 07 May 2002
Posts: 435

PostPosted: Mon Jun 10, 2002 7:23 pm    Post subject: Reply with quote

This is not an MOL problem, it is a kernel problem and the bug has been sent to the PPC kernel maintainer.

Gerk
Back to top
View user's profile Send private message
Lukas
n00b
n00b


Joined: 05 Jun 2002
Posts: 32
Location: Amsterdam, The Netherlands

PostPosted: Mon Jun 10, 2002 7:45 pm    Post subject: Reply with quote

Thanks Gerk (and the others of course), for the efforts so far... I'm still booting back and forth in the mean time ;-)
_________________
Lukas
Back to top
View user's profile Send private message
wfaulk
n00b
n00b


Joined: 08 Jun 2002
Posts: 9

PostPosted: Tue Jun 11, 2002 7:24 am    Post subject: Reply with quote

I revved back to kernel 2.4.19-r3 (remember to move the /usr/src/linux link) and built MOL just fine. In fact, I'm posting from it right now. If only I could get my console's refresh rate up.... :wink:
_________________
Bitt
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