Khashayar Naderehvandi schrieb: > Hi all, > > I'm trying to make a proper build of hardy's kernel for intrepid, > using the source debs from hardy. I think kernel 2.6.24 has a problem > with gcc 4.3, giving me these errors: > > kernel/built-in.o: In function `timespec_add_ns': > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__umoddi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__udivdi3' > kernel/built-in.o: In function `timespec_add_ns': > /build/buildd/linux-2.6.24/kernel/time/timekeeping.c:127: undefined > reference to `__udivdi3' > /build/buildd/linux-2.6.24/kernel/time/timekeeping.c:127: undefined > reference to `__umoddi3' > kernel/built-in.o: In function `timespec_add_ns': > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__umoddi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__udivdi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__umoddi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__udivdi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__umoddi3' > /build/buildd/linux-2.6.24/include/linux/time.h:177: undefined > reference to `__udivdi3' > make[2]: *** [.tmp_vmlinux1] Error 1 > make[1]: *** [sub-make] Error 2 > make[1]: Leaving directory `/build/buildd/linux-2.6.24' > make: *** [/build/buildd/linux-2.6.24/debian/stamps/stamp-build-386] Error 2 > dpkg-buildpackage: failure: debian/rules build gave error exit status 2 > > According to this thread > http://bbs.archlinux.org/viewtopic.php?id=45882, there's a solution if > one changes CFLAGS_KERNEL in Makefile. > > Now, to my question. The kernel source debs work rather differently > than other packages. For instance, there's no debian/patches folder, > where I otherwise would put a patch change Makefile. Could some kind > soul tell me how to do this? Note that I'm well aware of how to > compile a kernel, with make-kpkg or just "manually". But what I want > is to have debs produced in the same way the offical kernel debs are > produced. > > Thanks in advance, > Khashayar > > Why don't you use the official kernel debs? In my laptop environment I found an easier way to use 2.6.24-23-rt in Ubuntustudio 8.10: In a clean ubuntustudio 8.04.1 with all apt-update/upgrade I did a distribution upgrade to intrepid and and just choose old kernel 2.6.24-23-rt from grub-menue. Until now I found no studio/audio-program that needs kernel 2.6.27/28 for running. Ok, if you are a developer, it would be better to help solving the problems with the actual rt-kernel and make it useful for dual- and multi-cpu systems. Some days ago I posted here a short workaround how to come to the 2.6.24-23-rt-kernel without full reinstall of 8.04, but Cory adviced me to be prudent with recommending such things because there might result ugly messed up systems. For my self I had more mess-up with a frustrating attempt to compile a 2.6.28-rt kernel with the config of 2.6.24-23-rt. Happy New Year Gerhard
-- Ubuntu-Studio-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
