* [uml-devel] 2.6.6 compile crashing on Fed Core 2
@ 2004-06-05 18:17 Faye Gibbins
2004-07-15 6:07 ` [uml-devel] " Axel Thimm
0 siblings, 1 reply; 3+ messages in thread
From: Faye Gibbins @ 2004-06-05 18:17 UTC (permalink / raw)
To: user-mode-linux-devel
Hi,
Just finished compiling 2.6.6 with UML patch 2.6.6-1. compile crashed with:
snip---
gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free
-Wl,--wrap,calloc \
-o linux arch/um/main.o vmlinux -L/usr/lib -lutil
vmlinux(.text+0x605f): In function `mem_init':
arch/um/kernel/mem.c:71: undefined reference to `phys_page'
vmlinux(.init.text+0x3380): In function `kmap_init':
include/asm/pgtable.h:394: undefined reference to `pte_offset'
collect2: ld returned 1 exit status
make: *** [linux] Error 1
Died at get_uml_patch.pl line 173.
snip---
gcc 3.3.3
On a PII 233 with a fresh Fed Core 2 install (everythign installed) plus
all current updates as of 30 May 04.
Can supply kernel '.config' and build script (perl) upon request, but
essentially I'm doing :
snip---
use constant K => '2.6.6';
use constant TMP => '/tmp/';
use constant PATCHWWW =>
'http://heanet.dl.sourceforge.net/sourceforge/user-mode-linux/';
use constant PATCH => 'uml-patch-'.K.'-1';
use constant PATCHMD5BZ2 => 'ac6131657b587aba2d306d3708142ec6';
use constant PATCHMD5 => '7c27d8acc8aa0ea6fe8dec712b0d4462';
use constant KWWW =>
'http://www.mirror.ac.uk/sites/ftp.kernel.org/pub/linux/kernel/v2.6/';
use constant KERNEL => 'linux-'.K.'.tar';
use constant KMD5BZ2 => '5218790bc3db41e77a7422969639a9ad';
use constant KMD5 => 'eaf803a496e7b8458ba332b04b89c0c0';
#.....
chdir TMP || die "$!";
system("tar","-xf",TMP.KERNEL)&&die"$!";
chdir TMP."/linux-".K || die "$!";
print "Patching...";
{
open(P,"<",TMP.PATCH)||die"$!";
my @p = <P>;
close P;
open(OUT,"| patch -p1")||die"$!";
print OUT @p;
close OUT || die"$!";
}
#.....
copy("$FindBin::Bin/uml.2.6.6",TMP."/linux-".K."/.config")||die"$!";
chdir TMP."/linux-".K || die "$!";
system("make oldconfig ARCH=um") && die "$!";
system("make linux ARCH=um") && die "$!";
snip---
Any help would be appreciated.
--
Yours
Faye
This time she's the lesser of two evils.
http://www.morpheux.org
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread* [uml-devel] Re: 2.6.6 compile crashing on Fed Core 2
2004-06-05 18:17 [uml-devel] 2.6.6 compile crashing on Fed Core 2 Faye Gibbins
@ 2004-07-15 6:07 ` Axel Thimm
2004-07-18 19:24 ` BlaisorBlade
0 siblings, 1 reply; 3+ messages in thread
From: Axel Thimm @ 2004-07-15 6:07 UTC (permalink / raw)
To: Faye Gibbins; +Cc: user-mode-linux-devel
[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]
Hi,
On Sat, Jun 05, 2004 at 07:17:39PM +0100, Faye Gibbins wrote:
> Just finished compiling 2.6.6 with UML patch 2.6.6-1. compile crashed with:
>
> snip---
>
> gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free
> -Wl,--wrap,calloc \
> -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
> vmlinux(.text+0x605f): In function `mem_init':
> arch/um/kernel/mem.c:71: undefined reference to `phys_page'
> vmlinux(.init.text+0x3380): In function `kmap_init':
> include/asm/pgtable.h:394: undefined reference to `pte_offset'
> collect2: ld returned 1 exit status
> make: *** [linux] Error 1
> Died at get_uml_patch.pl line 173.
>
> snip---
>
> gcc 3.3.3
>
> On a PII 233 with a fresh Fed Core 2 install (everythign installed) plus
> all current updates as of 30 May 04.
Did you solve this? I am seeing the same with 2.6.7 & blazorblade's patches.
> Can supply kernel '.config' and build script (perl) upon request, but
> essentially I'm doing :
>
> snip---
>
> use constant K => '2.6.6';
> use constant TMP => '/tmp/';
> use constant PATCHWWW =>
> 'http://heanet.dl.sourceforge.net/sourceforge/user-mode-linux/';
> use constant PATCH => 'uml-patch-'.K.'-1';
> use constant PATCHMD5BZ2 => 'ac6131657b587aba2d306d3708142ec6';
> use constant PATCHMD5 => '7c27d8acc8aa0ea6fe8dec712b0d4462';
> use constant KWWW =>
> 'http://www.mirror.ac.uk/sites/ftp.kernel.org/pub/linux/kernel/v2.6/';
> use constant KERNEL => 'linux-'.K.'.tar';
> use constant KMD5BZ2 => '5218790bc3db41e77a7422969639a9ad';
> use constant KMD5 => 'eaf803a496e7b8458ba332b04b89c0c0';
>
> #.....
>
> chdir TMP || die "$!";
>
> system("tar","-xf",TMP.KERNEL)&&die"$!";
>
> chdir TMP."/linux-".K || die "$!";
>
> print "Patching...";
> {
> open(P,"<",TMP.PATCH)||die"$!";
> my @p = <P>;
> close P;
>
> open(OUT,"| patch -p1")||die"$!";
> print OUT @p;
> close OUT || die"$!";
> }
>
> #.....
>
> copy("$FindBin::Bin/uml.2.6.6",TMP."/linux-".K."/.config")||die"$!";
>
> chdir TMP."/linux-".K || die "$!";
>
> system("make oldconfig ARCH=um") && die "$!";
> system("make linux ARCH=um") && die "$!";
>
> snip---
>
> Any help would be appreciated.
>
--
Axel.Thimm at ATrpms.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [uml-devel] Re: 2.6.6 compile crashing on Fed Core 2
2004-07-15 6:07 ` [uml-devel] " Axel Thimm
@ 2004-07-18 19:24 ` BlaisorBlade
0 siblings, 0 replies; 3+ messages in thread
From: BlaisorBlade @ 2004-07-18 19:24 UTC (permalink / raw)
To: Axel Thimm, Faye Gibbins; +Cc: user-mode-linux-devel
Alle 08:07, giovedì 15 luglio 2004, Axel Thimm ha scritto:
> Hi,
>
> On Sat, Jun 05, 2004 at 07:17:39PM +0100, Faye Gibbins wrote:
> > Just finished compiling 2.6.6 with UML patch 2.6.6-1. compile crashed
> > with:
> > snip---
> >
> > gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free
> > -Wl,--wrap,calloc \
> > -o linux arch/um/main.o vmlinux -L/usr/lib -lutil
> > vmlinux(.text+0x605f): In function `mem_init':
> > arch/um/kernel/mem.c:71: undefined reference to `phys_page'
> > vmlinux(.init.text+0x3380): In function `kmap_init':
> > include/asm/pgtable.h:394: undefined reference to `pte_offset'
> > collect2: ld returned 1 exit status
> > make: *** [linux] Error 1
I'm not sure, but I remember that you should probably disable CONFIG_HIGHMEM
to solve this. In any case, post the result. And yes, CONFIG_HIGHMEM should
work or be marked as not-working...
Bye
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-18 19:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-05 18:17 [uml-devel] 2.6.6 compile crashing on Fed Core 2 Faye Gibbins
2004-07-15 6:07 ` [uml-devel] " Axel Thimm
2004-07-18 19:24 ` BlaisorBlade
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.