ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Shrek <shrek@progroup.ru>
To: community@altlinux.ru
Subject: Re: [Comm]  Перекомпиляция ядра
Date: Fri, 27 Jun 2003 23:28:24 +0400
Message-ID: <3EFC9AD8.9070407@progroup.ru> (raw)
In-Reply-To: <5910966849.20030627233933@udm.ru>

Makefile
---------------------------------------------------------
KERNELDIR = /usr/src/RPM/BUILD/linux-2.4.20
include $(KERNELDIR)/.config
CFLAGS = -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include -O2 -Wall
CC = gcc-2.96
ifdef CONFIG_SMP
   CFLAGS += -D__SMP__ -DSMP
endif
all: pwc.o
clean:
	rm -f *.o *~ core

pwc-uncompress.o: pwc-uncompress.c pwc-ioctl.h pwc_nala.h \
   pwc-uncompress.h pwc.h pwc_kiara.h pwc_timon.h
	$(CC) -c $(CFLAGS) pwc-uncompress.c

pwc-ctrl.o: pwc-ctrl.c pwc-ioctl.h pwc_nala.h \
   pwc-uncompress.h pwc.h pwc_kiara.h pwc_timon.h
	$(CC) -c $(CFLAGS) pwc-ctrl.c

pwc-if.o: pwc-if.c pwc-ioctl.h pwc_nala.h \
   pwc-uncompress.h pwc.h pwc_kiara.h pwc_timon.h
	$(CC) -c $(CFLAGS) pwc-if.c

pwc-misc.o: pwc-misc.c pwc-ioctl.h pwc_nala.h \
   pwc-uncompress.h pwc.h pwc_kiara.h pwc_timon.h
	$(CC) -c $(CFLAGS) pwc-misc.c

pwc.o: pwc-ctrl.o pwc-if.o pwc-misc.o pwc-uncompress.o
	$(LD) -r $^ -o $@
--------------------------------------------------------------------------------------

мммм... чё то не срослось

$ make
gcc-2.96 -c -D__KERNEL__ -DMODULE -I/usr/src/linux-2.4.20/include -O2 
-Wall pwc-ctrl.c
gcc-2.96 -c -D__KERNEL__ -DMODULE 
-I/usr/src/RPM/BUILD/linux-2.4.20/include -O2 -Wall pwc-if.c
pwc-if.c: In function `pwc_isoc_init':
pwc-if.c:850: warning: assignment from incompatible pointer type
gcc-2.96 -c -D__KERNEL__ -DMODULE 
-I/usr/src/RPM/BUILD/linux-2.4.20/include -O2 -Wall pwc-misc.c
gcc-2.96 -c -D__KERNEL__ -DMODULE 
-I/usr/src/RPM/BUILD/linux-2.4.20/include -O2 -Wall pwc-uncompress.c
pwc-uncompress.c:178: parse error before 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:178: warning: type defaults to `int' in declaration of 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:178: warning: data definition has no type or storage class
pwc-uncompress.c:179: parse error before 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:179: warning: type defaults to `int' in declaration of 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:179: warning: data definition has no type or storage class
pwc-uncompress.c:180: parse error before 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:180: warning: type defaults to `int' in declaration of 
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
pwc-uncompress.c:180: warning: data definition has no type or storage class
make: *** [pwc-uncompress.o] Ошибка 1


  reply	other threads:[~2003-06-27 19:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26 13:08 Shrek
2003-06-26  9:22 ` Maxim.Savrilov
2003-06-26 14:57   ` Shrek
2003-06-26 17:47     ` Re[2]: " ASA
2003-06-27  9:56       ` Shrek
2003-06-27 14:21         ` Re[2]: " ASA
2003-06-27 18:39             ` ASA
2003-06-27 19:28               ` Shrek [this message]
2003-06-28  3:42                 ` ASA
2003-06-28  7:25                   ` Shrek
2003-06-28 17:11                       ` [Comm] ðÅÒÅËÏÍÐÉÌÑÃÉÑ ÑÄÒÁ Ed V. Bartosh
2003-06-28 18:39                       ` [Comm] Перекомпиляция ядра Shrek
2003-06-28 17:36             ` Gleb Kulikov
2003-06-28  7:26               ` Shrek

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=3EFC9AD8.9070407@progroup.ru \
    --to=shrek@progroup.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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