From: Niki Waibel <niki.waibel@newlogic.com>
To: axp-list@redhat.com
Subject: linux-2.5.66-bk2 + patch from Marc Zyngier
Date: Thu, 27 Mar 2003 11:38:46 +0100 (MET) [thread overview]
Message-ID: <200303271038.h2RAckh01436@enterprise2.newlogic.at> (raw)
issues about linux-2.5.66-bk2 + patch from Marc Zyngier (on pc164):
compile errors:
* alsa sb16 (oss sb16 is ok and works fine)
* bttv (win tv)
* matrox framebuffer (seems not to work on all archs)
at the end of the mail you see the exact compile error messages
other issues:
* if i press caps lock, num lock or scroll lock in
text mode then the machine freezes. this is no problem
in XFree86-4.3.0 (also in 2.5.65 and earier versions).
* compilation needs 2 makefile changes for me (gcc-3.2.2, glibc-2.3.1):
a) remove of ``-nostdinc''. otherwise ``stdarg.h'' which is part of
gcc is not found (maybe a gcc issue)
===
--- linux-2.5.66-bk2.orig/Makefile 2003-03-27 00:17:09.000000000 +0100
+++ linux-2.5.66-bk2/Makefile 2003-03-26 23:45:09.000000000 +0100
@@ -178,6 +178,7 @@
AFLAGS_KERNEL =
NOSTDINC_FLAGS = -nostdinc -iwithprefix include
+NOSTDINC_FLAGS = -iwithprefix include
CPPFLAGS := -D__KERNEL__ -Iinclude
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
===
b) i get a warning in the alpha kernel part, which is treaded as
error (compilation of *cabriolet*.c afair)
===
diff -r -u linux-2.5.66-bk2.orig/arch/alpha/kernel/Makefile linux-2.5.66-bk2/arch/alpha/kernel/Makefile
--- linux-2.5.66-bk2.orig/arch/alpha/kernel/Makefile 2003-03-27 00:15:26.000000000 +0100
+++ linux-2.5.66-bk2/arch/alpha/kernel/Makefile 2003-03-26 23:22:22.000000000 +0100
@@ -5,6 +5,7 @@
extra-y := head.o
EXTRA_AFLAGS := $(CFLAGS)
EXTRA_CFLAGS := -Werror -Wno-sign-compare
+EXTRA_CFLAGS := -Wno-sign-compare
obj-y := entry.o traps.o process.o init_task.o osf_sys.o irq.o \
irq_alpha.o signal.o setup.o ptrace.o time.o semaphore.o \
===
now working (not working in 2.5.65):
* r128 framebuffer ... at least compilation works.
i cannot check yet because some slow guy @ ebay has
not yet sent me the card ...
compile error messages (alsa, bttv, matroxfb):
Sound --->Advanced Linux Sound Architecture --->
===
gcc -Wp,-MD,sound/core/.memalloc.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno
-common -pipe -mno-fp-regs -ffixed-8 -msmall-data -mcpu=ev56 -Wa,-mev6 -fomit-frame-pointer -iwithprefix include -DKBUILD_BA
SENAM
E=memalloc -DKBUILD_MODNAME=snd_page_alloc -c -o sound/core/memalloc.o sound/core/memalloc.c
sound/core/memalloc.c: In function `mark_pages':
sound/core/memalloc.c:336: `mem_map' undeclared (first use in this function)
sound/core/memalloc.c:336: (Each undeclared identifier is reported only once
sound/core/memalloc.c:336: for each function it appears in.)
sound/core/memalloc.c:337: invalid use of undefined type `struct page'
sound/core/memalloc.c:339: warning: implicit declaration of function `SetPageReserved'
sound/core/memalloc.c:339: increment of pointer to unknown structure
sound/core/memalloc.c:339: arithmetic on pointer to an incomplete type
sound/core/memalloc.c: In function `unmark_pages':
sound/core/memalloc.c:345: `mem_map' undeclared (first use in this function)
sound/core/memalloc.c:346: invalid use of undefined type `struct page'
sound/core/memalloc.c:348: warning: implicit declaration of function `ClearPageReserved'
sound/core/memalloc.c:348: increment of pointer to unknown structure
sound/core/memalloc.c:348: arithmetic on pointer to an incomplete type
make[2]: *** [sound/core/memalloc.o] Error 1
make[1]: *** [sound/core] Error 2
make: *** [sound] Error 2
niki@alpha-1 ~/linux-2.5.66-bk2 $
===
CONFIG_SOUND_TVMIXER
Sound --->Open Sound System --->TV card (bt848) mixer support
===
gcc -Wp,-MD,drivers/media/video/.tvmixer.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-
alias
ing -fno-common -pipe -mno-fp-regs -ffixed-8 -msmall-data -mcpu=ev56 -Wa,-mev6 -fomit-frame-pointer -iwithprefix include -DK
BUILD
_BASENAME=tvmixer -DKBUILD_MODNAME=tvmixer -c -o drivers/media/video/tvmixer.o drivers/media/video/tvmixer.c
drivers/media/video/tvmixer.c: In function `tvmixer_ioctl':
drivers/media/video/tvmixer.c:90: structure has no member named `name'
drivers/media/video/tvmixer.c:99: structure has no member named `name'
drivers/media/video/tvmixer.c:146: warning: comparison of distinct pointer types lacks a cast
drivers/media/video/tvmixer.c: In function `tvmixer_adapters':
drivers/media/video/tvmixer.c:240: structure has no member named `name'
drivers/media/video/tvmixer.c: In function `tvmixer_clients':
drivers/media/video/tvmixer.c:264: structure has no member named `name'
drivers/media/video/tvmixer.c:267: structure has no member named `name'
drivers/media/video/tvmixer.c:276: structure has no member named `name'
drivers/media/video/tvmixer.c:301: structure has no member named `name'
drivers/media/video/tvmixer.c:307: structure has no member named `name'
drivers/media/video/tvmixer.c:321: structure has no member named `name'
drivers/media/video/tvmixer.c:321: structure has no member named `name'
drivers/media/video/tvmixer.c: In function `tvmixer_cleanup_module':
drivers/media/video/tvmixer.c:347: structure has no member named `name'
make[3]: *** [drivers/media/video/tvmixer.o] Error 1
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
niki@alpha-1 ~/linux-2.5.66-bk2 $
===
CONFIG_FB_MATROX_MYSTIQUE
Graphics support --->Matrox acceleration/Mystique support (NEW)
===
make -f scripts/Makefile.build obj=drivers/video/matrox
gcc -Wp,-MD,drivers/video/matrox/.matroxfb_base.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
stric
t-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -msmall-data -mcpu=ev56 -Wa,-mev6 -fomit-frame-pointer -iwithprefix include
-
DKBUILD_BASENAME=matroxfb_base -DKBUILD_MODNAME=matroxfb_base -c -o drivers/video/matrox/matroxfb_base.o drivers/video/matrox/m
atrox
fb_base.c
In file included from drivers/video/matrox/matroxfb_base.c:105:
drivers/video/matrox/matroxfb_base.h:52:25: video/fbcon.h: No such file or directory
drivers/video/matrox/matroxfb_base.h:53:30: video/fbcon-cfb4.h: No such file or directory
drivers/video/matrox/matroxfb_base.h:54:30: video/fbcon-cfb8.h: No such file or directory
drivers/video/matrox/matroxfb_base.h:55:31: video/fbcon-cfb16.h: No such file or directory
drivers/video/matrox/matroxfb_base.h:56:31: video/fbcon-cfb24.h: No such file or directory
drivers/video/matrox/matroxfb_base.h:57:31: video/fbcon-cfb32.h: No such file or directory
In file included from drivers/video/matrox/matroxfb_base.c:105:
drivers/video/matrox/matroxfb_base.h:341: warning: `struct display' declared inside parameter list
drivers/video/matrox/matroxfb_base.h:341: warning: its scope is only this definition or declaration, which is probably not what
you
want
drivers/video/matrox/matroxfb_base.h:342: warning: `struct display' declared inside parameter list
drivers/video/matrox/matroxfb_base.h:558: field `dispsw' has incomplete type
drivers/video/matrox/matroxfb_misc.h:11: confused by earlier errors, bailing out
make[3]: *** [drivers/video/matrox/matroxfb_base.o] Error 1
make[2]: *** [drivers/video/matrox] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2
niki@alpha-1 ~/linux-2.5.66-bk2 $
===
--
niki w. waibel - system administrator @ newlogic technologies ag
next reply other threads:[~2003-03-27 10:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-27 10:38 Niki Waibel [this message]
2003-03-27 11:20 ` linux-2.5.66-bk2 + patch from Marc Zyngier Marc Zyngier
2003-03-27 11:37 ` Falk Hueffner
2003-03-27 11:51 ` Marc Zyngier
2003-04-03 9:25 ` Niki Waibel
2003-04-03 9:39 ` Marc Zyngier
2003-04-03 10:36 ` Ivan Kokshaysky
2003-04-03 11:19 ` Marc Zyngier
2003-04-03 12:12 ` Ivan Kokshaysky
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox