Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] kernel compilation + initrd

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: "David Brown" <dmlb2000 AT gmail.com>
  • To: "Javier Vasquez" <jevv.cr AT gmail.com>
  • Cc: sm-users AT lists.ibiblio.org
  • Subject: Re: [SM-Users] kernel compilation + initrd
  • Date: Sat, 17 Mar 2007 20:11:22 -0700

On 3/17/07, Javier Vasquez <jevv.cr AT gmail.com> wrote:
> Yeah I just used /etc/modules cause it was there I probably should
> change the script to add modules from a different file and the
> initramfs spell should probably have a dependency on klibc since
> that's kinda needed...

Hmm, I tried casting klibc unsuccessfully:

Running make with 2 jobs failed. Attempt to run with a single job? [y]
KLIBCCC usr/kinit/ipconfig/packet.o
In file included from usr/klibc/../include/netinet/ip.h:10,
from usr/kinit/ipconfig/packet.c:19:
linux/include/linux/ip.h:101: error: expected specifier-qualifier-list
before '__sum16'
usr/kinit/ipconfig/packet.c:92: error: unknown field 'saddr' specified
in initializer
usr/kinit/ipconfig/packet.c:92: warning: excess elements in struct initializer
usr/kinit/ipconfig/packet.c:92: warning: (near initialization for
'ipudp_hdrs.ip')
usr/kinit/ipconfig/packet.c:93: error: unknown field 'daddr' specified
in initializer
usr/kinit/ipconfig/packet.c:93: warning: excess elements in struct initializer
usr/kinit/ipconfig/packet.c:93: warning: (near initialization for
'ipudp_hdrs.ip')
usr/kinit/ipconfig/packet.c: In function 'packet_send':
usr/kinit/ipconfig/packet.c:158: error: 'struct iphdr' has no member
named 'check'
usr/kinit/ipconfig/packet.c:159: error: 'struct iphdr' has no member
named 'check'
make[3]: *** [usr/kinit/ipconfig/packet.o] Error 1
make[2]: *** [usr/kinit/ipconfig] Error 2
make[1]: *** [all] Error 2
make: *** [klibc] Error 2
! Problem Detected !
Creating compile log /var/log/sorcery/compile/klibc-1.4.bz2
Spells that encountered problems:
---------------------------------
klibc

I don't see any dependency missing, so I'm not sure what's wrong here.
Any help would be appreciated...

Yeah that's because klibc builds against the kernel version there it
needs to be updated to 1.5... I'm doing this now in test grimoire you
are fine to just change /var/lib/sorcery/codex/test/libs/klibc/DETAILS
to version 1.5 and I've verified that it works. Yeah sometimes I
forget to update stuff like klibc that compiles against the newest
kernel to make sure it works. The binaries work just fine but you
don't have those ;).

Thanks for the feedback I'm putting some of the fixes you brought up
in the last email in the linux-initramfs spell (mkinitrd etc) now. You
should be able to get them < 6hours or so.

- David Brown




Archive powered by MHonArc 2.6.24.

Top of Page