At Wed, 23 Sep 2009 10:30:43 +0200, Andre Hübner wrote:
Hello,
I do not think that version of gcc can compile the 2.6.27 kernel. Try updating gcc before worrying about the kernel being incorrect.
updating gcc is a almost futile project, im happy about successful updating binutils and compilingtools... but gcc update seems not to be necessary, kernel 2.6.25.20-25.1 compiled without problems and changes. so far so good, now my gcc problem turned into a rpm/spec problem. I need new udev for this kernel. compiling is successful but i have problems in %files section of spec. %files section contains lines like:
%attr(600,root,root) %dev(c,5,1) /lib/udev/devices/console %attr(660,root,root) %dev(c,1,11) /lib/udev/devices/kmsg %attr(666,root,root) %dev(c,1,3) /lib/udev/devices/null %attr(666,root,root) %dev(c,1,5) /lib/udev/devices/zero
In suse 8.2 rpm3 is the default which is not able to handle the %dev(c,4,65) notation.
Processing files: udev-120-13.1 File must begin with "/": %dev(c,5,1) File must begin with "/": %dev(c,1,11) File must begin with "/": %dev(c,1,3) File must begin with "/": %dev(c,1,5) File must begin with "/": %dev(c,5,2) File must begin with "/": %dev(c,5,0)
after that it sopps without further error-message. How to turn into rpm3 compatible lines? Is this possible?
I don't think it's worth to hack the latest kernel-source package for such an old distro. Not only the compilation problem, but also some basic components like udev won't match with the old system. Any problem with just compiling the kernel by yourself instead of rpm? It will save a lot, really a lot of time, when you adjust the kernel config properly for your own hardware instead of all-build kernel package. Just my $0.02. Takashi -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org