ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: ALT Linux kernel packages development <devel-kernel@altlinux.ru>
Subject: Re: [d-kernel] Re: kernel 2.6.0-test11
Date: Thu, 18 Dec 2003 14:40:36 +0500
Message-ID: <20031218094035.GB1930@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <200312181056.13875.LAV@VL3143.spb.edu>


[-- Attachment #1.1: Type: text/plain, Size: 1414 bytes --]

On Thu, Dec 18, 2003 at 10:56:13AM +0300, Vitaly Lipatov wrote:
> On 18 Декабрь 2003 10:35, Andrey Rahmatullin wrote:
> > Как теперь собрать модуль, натурально требующий дерево
> > исходников, т.к. в его Makefile стоит только make -C
> > $(KERNEL_DIR) SUBDIRS=$(PWD) modules. Конкретно - ltmodem.
> А как же раньше ltmodem всегда собирался без исходников ядра?
 
А это не совсем официальная сборка, содержит только проприетарный кусок, 2
оберточных исходника и такой вот Makefile. Собираться и работать должно
только под 2.6. Бралось с
http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/

wrar@wrars-comp SRC/2.6/ltmodem-2.6-alk $ l
итого 576
drwxr-xr-x    2 wrar     wrar           99 Дек 18 14:34 ./
drwxr-xr-x    3 wrar     wrar         4096 Дек 18 14:28 ../
-rw-r--r--    1 wrar     wrar        20389 Окт 17 18:21 serial.c
-rw-r--r--    1 wrar     wrar          479 Окт 17 15:42 Makefile
-rw-r--r--    1 wrar     wrar        10921 Окт 17 15:18 lt_modem.c
-rw-r--r--    1 wrar     wrar         2047 Окт 17 14:11 linuxif.h
-rw-r--r--    1 wrar     wrar          270 Окт 16 01:02 README
-rw-r--r--    1 wrar     wrar       537188 Окт 13 22:46 ltmdmobj.o


Если ему таки дать полные исходники ядра (распакованный тарбол + конфиг),
видно вот что: (логи в сокращенном и классическом форматах приаттачены).


-- 
Использовать зарезервированные словосочетания не по назначению нехорошо. :)
		-- ldv in devel@

[-- Attachment #1.2: V0.log --]
[-- Type: text/plain, Size: 1760 bytes --]

wrar@wrars-comp SRC/2.6/ltmodem-2.6-alk $ make KERNEL_DIR=/usr/src/kernel/sources/kernel-source-2.6.0
make -C /usr/src/kernel/sources/kernel-source-2.6.0
SUBDIRS=/home/wrar/SRC/2.6/ltmodem-2.6-alk modules
make[1]: Entering directory `/usr/src/kernel/sources/kernel-source-2.6.0'
  HOSTCC  scripts/fixdep
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  HOSTCC  scripts/split-include
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/docproc
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  SPLIT   include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/lt_modem.o
  CC [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/serial.o
  LD [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.o
  LD [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.o
  Building modules, stage 2.
  MODPOST
  CC      /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.mod.o
  LD [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.ko
  CC      /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.mod.o
  LD [M]  /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.ko
make[1]: Leaving directory `/usr/src/kernel/sources/kernel-source-2.6.0'

[-- Attachment #1.3: V1.log --]
[-- Type: text/plain, Size: 6821 bytes --]

wrar@wrars-comp SRC/2.6/ltmodem-2.6-alk $ make V=1 KERNEL_DIR=/usr/src/kernel/sources/kernel-source-2.6.0
make -C /usr/src/kernel/sources/kernel-source-2.6.0 SUBDIRS=/home/wrar/SRC/2.6/ltmodem-2.6-alk modules
make[1]: Entering directory `/usr/src/kernel/sources/kernel-source-2.6.0'
make -f scripts/Makefile.build obj=scripts
  gcc -Wp,-MD,scripts/.fixdep.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/fixdep scripts/fixdep.c
make -f scripts/Makefile.build obj=scripts/genksyms
  gcc -Wp,-MD,scripts/genksyms/.genksyms.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/genksyms/genksyms.o scripts/genksyms/genksyms.c
  cat scripts/genksyms/lex.c_shipped > scripts/genksyms/lex.c
  cat scripts/genksyms/parse.h_shipped > scripts/genksyms/parse.h
  cat scripts/genksyms/keywords.c_shipped > scripts/genksyms/keywords.c
  gcc -Wp,-MD,scripts/genksyms/.lex.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iscripts/genksyms -c -o scripts/genksyms/lex.o scripts/genksyms/lex.c
  cat scripts/genksyms/parse.c_shipped > scripts/genksyms/parse.c
  gcc -Wp,-MD,scripts/genksyms/.parse.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Wno-uninitialized -Iscripts/genksyms -c -o scripts/genksyms/parse.o scripts/genksyms/parse.c
  gcc  -o scripts/genksyms/genksyms scripts/genksyms/genksyms.o scripts/genksyms/parse.o scripts/genksyms/lex.o
  gcc -Wp,-MD,scripts/.split-include.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/split-include scripts/split-include.c
  gcc -Wp,-MD,scripts/.conmakehash.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/conmakehash scripts/conmakehash.c
  gcc -Wp,-MD,scripts/.docproc.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/docproc scripts/docproc.c
  gcc -Wp,-MD,scripts/.kallsyms.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/kallsyms scripts/kallsyms.c
  gcc -Wp,-MD,scripts/.empty.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer     -DKBUILD_BASENAME=empty -DKBUILD_MODNAME=empty -c -o scripts/.tmp_empty.o scripts/empty.c
  gcc -Wp,-MD,scripts/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/mk_elfconfig scripts/mk_elfconfig.c
  scripts/mk_elfconfig i386 < scripts/empty.o > scripts/elfconfig.h
  gcc -Wp,-MD,scripts/.file2alias.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/file2alias.o scripts/file2alias.c
  gcc -Wp,-MD,scripts/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer       -c -o scripts/modpost.o scripts/modpost.c
  gcc  -o scripts/modpost scripts/modpost.o scripts/file2alias.o
  gcc -Wp,-MD,scripts/.pnmtologo.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/pnmtologo scripts/pnmtologo.c
  gcc -Wp,-MD,scripts/.bin2c.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer        -o scripts/bin2c scripts/bin2c.c
  SPLIT   include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=arch/i386/kernel arch/i386/kernel/asm-offsets.s
  gcc -Wp,-MD,arch/i386/kernel/.asm-offsets.s.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer     -DKBUILD_BASENAME=asm_offsets -DKBUILD_MODNAME=asm_offsets -S -o arch/i386/kernel/asm-offsets.s arch/i386/kernel/asm-offsets.c
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
make -f scripts/Makefile.build obj=/home/wrar/SRC/2.6/ltmodem-2.6-alk
  gcc -Wp,-MD,/home/wrar/SRC/2.6/ltmodem-2.6-alk/.lt_modem.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -Wall  -DMODULE -DKBUILD_BASENAME=lt_modem -DKBUILD_MODNAME=ltmodem -c -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/.tmp_lt_modem.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/lt_modem.c
  gcc -Wp,-MD,/home/wrar/SRC/2.6/ltmodem-2.6-alk/.serial.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -Wall  -DMODULE -DKBUILD_BASENAME=serial -DKBUILD_MODNAME=ltserial -c -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/.tmp_serial.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/serial.c
  ld -m elf_i386 -d -r -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/lt_modem.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmdmobj.o
  ld -m elf_i386 -d -r -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/serial.o
  Building modules, stage 2.
make -rR -f /usr/src/kernel/sources/kernel-source-2.6.0/scripts/Makefile.modpost
  scripts/modpost /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.o
  gcc -Wp,-MD,/home/wrar/SRC/2.6/ltmodem-2.6-alk/.ltmodem.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer     -DKBUILD_BASENAME=ltmodem  -DMODULE -c -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.mod.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.mod.c
  ld -m elf_i386 -r -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.ko /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltmodem.mod.o
  gcc -Wp,-MD,/home/wrar/SRC/2.6/ltmodem-2.6-alk/.ltserial.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -fomit-frame-pointer     -DKBUILD_BASENAME=ltserial  -DMODULE -c -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.mod.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.mod.c
  ld -m elf_i386 -r -o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.ko /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.o /home/wrar/SRC/2.6/ltmodem-2.6-alk/ltserial.mod.o
make[1]: Leaving directory `/usr/src/kernel/sources/kernel-source-2.6.0'

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-12-18  9:40 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-16 16:43 [d-kernel] " Ed V. Bartosh
2003-12-16 19:12 ` Michael Shigorin
2003-12-17 10:04 ` Anton Farygin
2003-12-17  9:05   ` Ed V. Bartosh
2005-08-25 23:39   ` [d-kernel] unprivileged klogd vs vanilla kernel 2.6.x Dmitry V. Levin
2003-12-18  7:35 ` [d-kernel] Re: kernel 2.6.0-test11 Andrey Rahmatullin
2003-12-18  7:56   ` Vitaly Lipatov
2003-12-18  9:40     ` Andrey Rahmatullin [this message]
2003-12-18  8:52       ` Ed V. Bartosh
2003-12-18 18:38         ` Andrey Rahmatullin
2003-12-22  9:51           ` Anton Farygin
2003-12-22 10:40           ` Michael Shigorin
2003-12-18  8:06   ` Michael Shigorin
2003-12-18  9:24     ` Andrey Rahmatullin
2003-12-18 12:01 ` [d-kernel] Re: kernel labels Alexey Tourbin
2003-12-18 12:08   ` Sergey Vlasov
2003-12-18 12:23     ` [d-kernel] Re: kernel order Alexey Tourbin
2003-12-18 12:34       ` Sergey Vlasov
2003-12-18 15:47         ` Alexey Tourbin
2003-12-18 15:58           ` Michael Shigorin
2003-12-18 16:07             ` Alexey Tourbin
2003-12-18 20:20               ` Michael Shigorin
2003-12-19 13:31                 ` Alexey Tourbin
2003-12-19 13:43                   ` Sergey Vlasov
2003-12-22  9:41           ` Anton Farygin
2003-12-22 10:38             ` Michael Shigorin
2003-12-22 10:46               ` Anton Farygin
2003-12-22 10:53                 ` Michael Shigorin
2003-12-22 11:11                   ` Anton Farygin
2003-12-22 12:28                     ` Sergey Vlasov
2003-12-22 17:00                       ` Anton Farygin
2003-12-22 16:53                         ` Michael Shigorin
2003-12-22 12:30                     ` Dmitry V. Levin
2003-12-22 13:00                     ` Michael Shigorin
2003-12-22 17:09                       ` Anton Farygin
2003-12-22 17:45                         ` Michael Shigorin
2003-12-18 12:35       ` Dmitry V. Levin
2003-12-18 13:06       ` Aleksey Avdeev
2003-12-18 18:24       ` [d-kernel] " Денис Смирнов

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=20031218094035.GB1930@wrars-comp.wrarsdomain \
    --to=wrar@altlinux.ru \
    --cc=devel-kernel@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 kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

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


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