bogus dmasound.o module (was: Re: 2.4.0-test4 success (Re: affs))
Quoted 2 lines · On Fri, 28 Jul 2000, Michel [iso-8859-1] Dänzer wrote:
'make
modules_install' tries to install dmasound.o (which doesn't exist anymore) instead of dmasound_paula.o and dmasound_core.o
Does this help? IIRC, I have it in my tree since a while, but I forgot about it.
drivers/sound/Makefile renamed from drivers/sound/Makefile.orig +2 -2
@@ -92,11 +92,11 @@ ifeq ($(CONFIG_DMASOUND),y) SUB_DIRS += dmasound - MOD_SUB_DIRS += dmasound + MOD_IN_SUB_DIRS += dmasound obj-y += dmasound/dmasound.o else ifeq ($(CONFIG_DMASOUND),m) - MOD_SUB_DIRS += dmasound + MOD_IN_SUB_DIRS += dmasound endif endif
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
On Sat, Jul 29, Geert Uytterhoeven wrote:
[ ... some patches ... ]
can someone check if the ./include/linux/soundcard.h is correct? This looks bogus to us:
+178
/*
* Some big endian/little endian handling macros
*/
#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(HPPA) || defined(PPC)
/* Big endian machines */
# define _PATCHKEY(id) (0xfd00|id)
# define AFMT_S16_NE AFMT_S16_BE
#else
# define _PATCHKEY(id) ((id<<8)|0xfd)
# define AFMT_S16_NE AFMT_S16_LE
#endif
Is PPC really defined? At least (sparc) is wrong and should be __sparc__. PPC should proably be __powerpc__.
It is from current benh tree.
Gruss Olaf
Gruss Olaf
--
$ man clone
BUGS
Main feature not yet implemented...
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 19 lines · Olaf Hering
can someone check if the
./include/linux/soundcard.his correct? This looks bogus to us:+178
/*
* Some big endian/little endian handling macros
*/#if
defined(_AIX)|| defined(AIX) || defined(sparc) || defined(HPPA) || defined(PPC)
/* Big endian machines */
# define_PATCHKEY(id)(0xfd00|id)
# defineAFMT_S16_NEAFMT_S16_BE
#else
# define_PATCHKEY(id)((id<<8)|0xfd)
# defineAFMT_S16_NEAFMT_S16_LE
#endif
Quoted 3 lines
Is PPC really defined? At least (sparc) is wrong and should be
__sparc__. PPC should proably be__powerpc__.
It is from current benh tree.
At least drivers/sound/dmasound/ doesn't refer to AFMT_S16_NE or _PATCHKEY.
It may be the cause of many endianness problems, though, if any userspace application assumes AFMT_S16_NE is always the native format.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Olaf Hering
Is PPC really defined? At least (sparc) is wrong and should be
__sparc__. PPC should proably be__powerpc__.
It is from current benh tree.
[dev@ofey tmp]$ cat t.c
#include <stdio.h>
int main()
{
#ifdef PPC
printf("PPC is defined\n");
#else
printf("PPC is not defined\n");
#endif
return 0;
}[dev@ofey tmp]$ gcc -o t t.c
[dev@ofey tmp]$ ./t
PPC is defined
[dev@ofey tmp]$ gcc -v
Reading specs from /usr/lib/gcc-lib/ppc-redhat-linux/2.95.2/specs gcc version 2.95.2 19991024 (release/franzo)
[dev@ofey tmp]$
Takashi Oe
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Geert Uytterhoeven
Quoted 2 lines
'make
modules_install' tries to install dmasound.o (which doesn't exist anymore) instead of dmasound_paula.o and dmasound_core.oDoes this help? IIRC, I have it in my tree since a while, but I forgot about it.
Yes it helps, but the dmasound_* modules get installed in misc, not sound - is that intended?
Michel
--
Intel: where Quality is job number 0.9998782345!
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/