[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Сборка ядра: 2.6.35



> > > fakeroot make-kpkg --append-to-version "-my-kernel" --revision "07082010" --us --uc --initrd
> > > kernel_image
> > а после такого обновления ядра надо ли еще что-то обновлять в sid ? я имею ввиду, заголовочные файлы
> > в /usr/include/linux к примеру или еще что-то ? или можно ограничиться этими шагами ? 
> 
> Если libc пересобирать не собираешься, то и заголовочные файлы трогать
> не надо. ABI с userspace в linux стабилен (в отличие от интерфейса
> модулей).


нет, libc пересобирать из исходников не планирую.

тем не менее, собрать ядро пока не смог 

вижу 2 ошибки

include/linux/compile.h: Нет такого файла или каталога

но не могу понять, какой пакет надо установить, чтобы этот файл появился


есть и вторая ошибка - не знаю как ее исправить

The UTS Release version in include/linux/version.h
           ""
does not match current version:
           "2.6.35-my-kernel"
Please correct this.



  IHEX    firmware/sb16/ima_adpcm_capture.csp
make[1]: Leaving directory `/usr/src/linux-2.6.35'
/usr/bin/make  EXTRAVERSION=-my-kernel  ARCH=i386 \
                             -C Documentation/lguest
make[1]: Entering directory `/usr/src/linux-2.6.35/Documentation/lguest'
cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE    lguest.c   -o lguest
lguest.c: In function ‘setup_tun_net’:
lguest.c:1456: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
lguest.c:1457: warning: dereferencing pointer ‘sin’ does break strict-aliasing rules
lguest.c:1450: note: initialized from here
make[1]: Leaving directory `/usr/src/linux-2.6.35/Documentation/lguest'
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils make dpkg-dev |\
         awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }'> debian/buildinfo
uname -a >> debian/buildinfo
echo using the compiler: >> debian/buildinfo
grep LINUX_COMPILER include/linux/compile.h | \
           sed -e 's/.*LINUX_COMPILER "//' -e 's/"$//' >> debian/buildinfo
grep: include/linux/compile.h: Нет такого файла или каталога
echo done > debian/stamp/build/kernel
/usr/bin/make -f ./debian/rules         debian/stamp/binary/pre-linux-image-2.6.35-my-kernel
make[1]: Entering directory `/usr/src/linux-2.6.35'
====== making target debian/stamp/install/linux-image-2.6.35-my-kernel [new prereqs: ]======
This is kernel package version 12.014.
echo "The UTS Release version in include/linux/version.h"; echo "          \"\" "; echo "does not match current version:"; echo "          \"2.6.35-my-kernel\" "; echo "Please correct this."; exit 2
The UTS Release version in include/linux/version.h
           ""
does not match current version:
           "2.6.35-my-kernel"
Please correct this.
make[1]: *** [debian/stamp/install/linux-image-2.6.35-my-kernel] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.35'
make: *** [kernel_image] Ошибка 2
 


-- 
Удачи,
Игорь


Reply to: