You are not logged in.

#1 2007-09-11 22:29:53

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Compiling klibc against a uvesafb-patched kernel - [SOLVED]

patching file usr/kinit/do_mounts_md.c
Hunk #1 succeeded at 226 (offset -2 lines).
The 'linux' symlink is missing; it should point to a kernel tree 
configured for the i386 architecture.
make: *** [linux] Error 1

I recently used the ABS/CVS build system to create a patched kernel with uvesafb.  I installed the kernel properly (had to clear out my linux src folder before hand, "... exists in filesystem" errors when I first tried to pacman -U it), and I had my new kernel source tree.  ln -sf /usr/src/linux-2.6.22-ARCH linux.  Made the symlink.  Tried to compile klibc in /var/abs/base/klibc with makepkg, and I got this error.  Anyone know how to fix this?

Thanks!

Edit: here's the output of ls -al in the /usr/src directory, showing the link....

total 16
drwxr-xr-x  4 root root 4096 2007-09-11 18:34 .
drwxr-xr-x 10 root root 4096 2007-08-26 16:23 ..
lrwxrwxrwx  1 root root   17 2007-09-11 18:23 linux -> linux-2.6.22-ARCH
drwxr-xr-x  3 root root 4096 2007-07-25 07:42 linux-2.6.21-ARCH
drwxr-xr-x 17 root root 4096 2007-09-11 18:15 linux-2.6.22-ARCH
-rw-r--r--  1 root root    0 2007-09-11 18:34 lsal.txt

And here's the content of the linux-2.6.22-ARCH directory:

total 5044
drwxr-xr-x 17 root root    4096 2007-09-11 18:41 .
drwxr-xr-x  4 root root    4096 2007-09-11 18:34 ..
-rw-r--r--  1 root root   72847 2007-09-11 18:07 .config
-rw-r--r--  1 root root   50400 2007-09-11 18:07 Makefile
-rw-r--r--  1 root root  373304 2007-09-11 18:07 Module.symvers
drwxr-xr-x  4 root root    4096 2007-09-11 18:07 arch
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 block
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 crypto
drwxr-xr-x 59 root root    4096 2007-09-11 18:07 drivers
drwxr-xr-x  8 root root    4096 2007-09-11 18:07 fs
drwxr-xr-x 15 root root    4096 2007-09-11 18:07 include
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 init
drwxr-xr-x  4 root root    4096 2007-09-11 18:07 kernel
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 lib
-rw-r--r--  1 root root       0 2007-09-11 18:41 lsal.txt
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 mm
drwxr-xr-x 32 root root    4096 2007-09-11 18:07 net
drwxr-xr-x  9 root root    4096 2007-09-11 17:44 scripts
drwxr-xr-x  3 root root    4096 2007-09-11 18:07 security
drwxr-xr-x 18 root root    4096 2007-09-11 18:07 sound
drwxr-xr-x  2 root root    4096 2007-09-11 18:07 usr
-rwxr-xr-x  1 root root 4564626 2007-09-11 18:07 vmlinux

Everything looks like it's in place...

Last edited by Eldanen (2007-09-12 06:05:27)

Offline

#2 2007-09-11 22:36:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

Were you in /usr/src when you entered that command? If not, you created the symlink somewhere else.

Offline

#3 2007-09-11 22:49:43

Eldanen
Member
Registered: 2006-12-13
Posts: 13

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

I think the problem might have been that when I compiled the kernel,  I didn't set the arch properly, or should it have set itself?

Output of make menuconfig in the /usr/src/linux directory:

scripts/kconfig/mconf arch/i386/Kconfig
drivers/crypto/Kconfig:44: can't open file "arch/s390/crypto/Kconfig"

Obviously, I have no arch/s390 directory, only arch/i386 and x86_64 directories.

Last edited by Eldanen (2007-09-11 22:53:00)

Offline

#4 2007-09-28 21:39:43

clownfish
Member
Registered: 2006-09-04
Posts: 72

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

Eldanen wrote:

Output of make menuconfig in the /usr/src/linux directory:

scripts/kconfig/mconf arch/i386/Kconfig
drivers/crypto/Kconfig:44: can't open file "arch/s390/crypto/Kconfig"

Obviously, I have no arch/s390 directory, only arch/i386 and x86_64 directories.

i get the same output if i try to use the kernel configuration. any way to fix this?

Offline

#5 2008-07-05 16:29:35

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

So, how was this issue solved?


All your base are belong to us

Offline

#6 2008-07-05 22:13:17

hrist
Member
From: Germany
Registered: 2007-01-07
Posts: 61
Website

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

You don't have to do that, uvesafb is integrated into the arch kernel now, just install v86d add it to the hooks in /etc/mkinitcpio.conf and edit /etc/modprobe.d/uvesafb and then run mkinitcpio -p kernel26 works my with Intel graphic card, haven't tested it with the nvidia card yet


two - Arch64 | dwm | nvidia
three - Arch64 | dwm | nvidia

Offline

#7 2008-07-07 00:09:39

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Compiling klibc against a uvesafb-patched kernel - [SOLVED]

Thanks man!


All your base are belong to us

Offline

Board footer

Powered by FluxBB