You are not logged in.

#1 2009-02-23 22:10:47

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Trouble building klibc package with Zen kernel

Hello,

I'm using a kernel from the latest Zen-Sources Git (in other words, a modified 2.6.29-rc). I'm trying to build klibc, but having trouble. I'm using the klibc PKGBUILD and files with only a slight modification to _kver to point to my kernel under /lib/modules.

The build process goes until:

  KLIBCLD usr/utils/shared/sync
  KLIBCLD usr/utils/shared/dmesg
  INSTALL headers + man pages to /root/klibc/pkg/usr/lib/klibc
cp: cannot stat 'linux//include/asm/./asm': No such file or directory
make[1]: *** [header] Error 1
make: *** [install] Error 2
==> ERROR: Build Failed.
    Aborting...

The problem is in /src/klibc-1.5.15/scripts/Kbuild.install, near the end (under the big comment block). I won't post the code block because it's massive and I don't have copy+paste because of something unrelated, but you can get it from using ABS.

I don't know if the problem is because of 2.6.29, zen, or something I'm doing. I tried disabling a few of the patches we used, and I looked at the patches in the (sort-of-outdated) klibc-zen package in the AUR, but none of those seem to be related at all.

Thanks for any help!

Offline

#2 2009-02-25 22:25:19

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: Trouble building klibc package with Zen kernel

Bump.

Offline

#3 2009-02-26 00:37:32

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Trouble building klibc package with Zen kernel

create symlink asm to asm-x86
this is on 32-bit system,

Offline

Board footer

Powered by FluxBB