Skip to contentSkip to conversation

Kernel 2.6.1 uml 2.6.1-1 build failed with module support

uml-devel Alexander Newald 2 participants 2 messages Jan 23, 2004 – Jan 31, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hello,

I've updated to the latest uml patch, enabled module support and got the fullowing error:

my .config file http://linux.newald.de/uml/.config
Sources: linux-2.6.1.tar.bz2 uml-patch-2.6.1-1

make ARCH=um
...
ln -sf /home/alexander/VServer/Build/linux-2.6.1/arch/i386/kernel/semaphore.c arch/um/sys-i386/semaphore.c
CC arch/um/sys-i386/semaphore.o
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm on -U__i386__ -Ui386 -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE
-Iarch/um/include -I/home/alexander/VServer/Build/linux-2.6.1/arch/um/kern
el/tt/include -I/home/alexander/VServer/Build/linux-2.6.1/arch/um/kernel/ska s/include -D_GNU_SOURCE -c -o arch/um/sys-i386/sigcontext.o arch/um/sys-i386/sigcontext.c

  CC      arch/um/sys-i386/syscalls.o
  CC      arch/um/sys-i386/sysrq.o
  CC      arch/um/sys-i386/time.o

rm -f arch/um/sys-i386/module.c
ln -sf /home/alexander/VServer/Build/linux-2.6.1/arch/i386/kernel/module.c arch/um/sys-i386/module.c
CC arch/um/sys-i386/module.o
arch/um/sys-i386/module.c: In function `apply_relocate':
arch/um/sys-i386/module.c:79: `R_386_32' undeclared (first use in this function)
arch/um/sys-i386/module.c:79: (Each undeclared identifier is reported only once
arch/um/sys-i386/module.c:79: for each function it appears in.) arch/um/sys-i386/module.c:83: `R_386_PC32' undeclared (first use in this function)
make[1]: *** [arch/um/sys-i386/module.o] Error 1
make: *** [arch/um/sys-i386] Error 2

Any hints?

Alexander Newald

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw

Alle 19:57, venerdì 23 gennaio 2004, Alexander Newald ha scritto:

Quoted 4 lines

Hello,

I've updated to the latest uml patch,
enabled module support

For now disable module support. That does not work in the releases on the site (yet).
The needed patches have already been written and will be included in the next release, so you can wait for that (but *disable CONFIG_MODVERSIONS* with that).

Or you can try this URL:
http://web.tiscali.it/no-redirect-tiscali/blaisorblade/linux/archives/UML/2.6.1-v1/

use the combo -v1 from that page. If you want absolutely to use the split patches, take at least the C-02 and G-02 ones.

Bye

Signature · 16 lines
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.23/2.6.0 on an i686; Linux registered user n. 292729
EOSIGN



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel