ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitry S Kiselev <salvatore@cs.nstu.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Ошибка при сборке ядра
Date: Mon, 25 Mar 2002 13:14:01 +0600
Message-ID: <20020325131401.2bce177f.salvatore@cs.nstu.ru> (raw)
In-Reply-To: <20020323191352.795d3c33.goldhead@altlinux.ru>

On Sat, 23 Mar 2002 19:13:52 +0300
Konstantin Volckov <goldhead@altlinux.ru> wrote:

> On Sat, 23 Mar 2002 13:38:11 +0600
> Dmitry S Kiselev <salvatore@cs.nstu.ru> wrote:
> 
> > Здравствуйте!
> 
> Hi!
> 
> > При сборке модулей для ядра 2.4.18-alt4 выдается
> > следующее:
> > 
> > [root@wwwtest linux]# make modules
> > ---skipped---
> > make -C char modules
> > make[2]: Вход в каталог `/usr/src/kernel/linux-2.4.18-alt4/drivers/char'
> > gcc -D__KERNEL__ -I/usr/src/kernel/linux-2.4.18-alt4/include -DMODULE
> > -pipe -Wall -O2 -fexpensive-optimizations -march=i586 -mcpu=i686
> > -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2
> > -mpreferred-stack-boundary=2 -Wstrict-prototypes -fno-strict-aliasing
> > -DMODVERSIONS -include
> > /usr/src/kernel/linux-2.4.18-alt4/include/linux/modversions.h 
> > -DKBUILD_BASENAME=serial  -DEXPORT_SYMTAB -c serial.c serial.c:229:27:
> > serial_compat.h: No such file or directory serial.c: In function
> > `set_serial_info': serial.c:2114: warning: assignment makes integer from
> > pointer without a cast serial.c:2156: warning: comparison between
> > pointer and integer make[2]: *** [serial.o] Ошибка 1
> > make[2]: Выход из каталог
> > `/usr/src/kernel/linux-2.4.18-alt4/drivers/char' make[1]: ***
> > [_modsubdir_char] Ошибка 2 make[1]: Выход из каталог
> > `/usr/src/kernel/linux-2.4.18-alt4/drivers' make: *** [_mod_drivers]
> > Ошибка 2[root@wwwtest linux]#
> > 
> > 
> > serial_compat.h в сизифе я не нашел...
> 
> А его там и не должно быть. Смотрим в linux/drivers/char/serial.c
> 
> ---
> #ifdef LOCAL_HEADERS                                                      
>                                     #include "serial_local.h"             
>                                                                        
> #else---(skip)
> #if defined(LOCAL_HEADERS) || (LINUX_VERSION_CODE < 0x020317) /* 2.3.23 */
>                                     #include "serial_compat.h"            
>                                                                        
> #endif---
> 
> Отсюда видно, что LOCAL_HEADERS у Вас not defined, следовательно,
> сработало LINUX_VERSION_CODE < 0x020317. LINUX_VERSION_CODE определено в
> linux/include/linux/version.h - создается он с помощью make config... и
> т.д. - отсюда вывод - учитывая, что собирали ядро Вы из /usr/src/linux -
> Вы просто либо не до конца, либо совсем не сделали рекомендуемую процедуру
> - make mrproper; make config; make dep...

Спасибо!
Из всего перечисленного я не сделал только make mrproper (по-моему, это не страшно)
Буду копать.

> 
> > Спасибо!
> > -- 
> > WBR Dmitry S Kiselev  E-Mail:salvatore@cs.nstu.ru ICQ UIN:32904426
> 
> 
> -- 
> Успехов,
> Konstantin
> 


-- 
WBR Dmitry S Kiselev  E-Mail:salvatore@cs.nstu.ru ICQ UIN:32904426



  reply	other threads:[~2002-03-25  7:14 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-29  6:27 ` [sisyphus] Êàê òî ñòðàííî ñîáèðàåòñÿ ïàêåò ñ ìîèì ñïåêîì Vadim V. Zhytnikov
2001-10-29 10:09   ` [sisyphus] страсти со spec AVL
2001-10-29 11:50     ` Vadim V. Zhytnikov
2001-10-29 16:33       ` AVL
2001-10-29 11:55     ` Sergey V Turchin
2001-10-30 23:06       ` AVL
2001-10-31  3:11         ` [sisyphus] Re[2]: " Evgeny Yugov
2001-10-31 10:15           ` AVL
2001-10-31 13:37             ` Sir Raorn
2001-10-31 17:45               ` AVL
2001-11-01  3:22                 ` [sisyphus] Re[2]: " Evgeny Yugov
2001-11-01  5:31                   ` AVL
2001-11-01  7:54                 ` Sir Raorn
2001-11-01 19:00                   ` AVL
2001-11-01 19:33                     ` Aleksey Novodvorsky
2001-11-01 19:47                       ` AVL
2001-11-01 19:33                         ` [sisyphus] [JT]Re: " Ilia Menchikh
2001-11-01 20:58                           ` AVL
2001-11-01 20:00                         ` [sisyphus] Re[2]: [sisyphus] страсти соspec Aleksey Novodvorsky
2002-03-23  7:38                       ` [sisyphus] Ошибка при сборке ядра Dmitry S Kiselev
2002-03-23 16:13                         ` Konstantin Volckov
2002-03-25  7:14                           ` Dmitry S Kiselev [this message]
2002-03-25 12:21                             ` Konstantin Volckov
2002-03-29  9:49                               ` Dmitry S Kiselev
2001-11-01  3:15             ` [sisyphus] Re[2]: [sisyphus] Re[2]: [sisyphus] страсти со spec Evgeny Yugov
2001-11-01  5:34               ` AVL
2001-11-01  9:59               ` Aleksey Novodvorsky
2001-11-01 18:56                 ` AVL
2001-11-02  3:21                 ` [sisyphus] Re[2]: " Evgeny Yugov
2001-10-29 16:32 ` [sisyphus] Re: [sisyphus] Как то странно собирается пакет с моим спеком Aleksandr Blohin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020325131401.2bce177f.salvatore@cs.nstu.ru \
    --to=salvatore@cs.nstu.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git