Skip to contentSkip to conversation

2.6.19rc1: pcm_native.c doesn't build

DISCUSSION Elimar Riesebieter 3 participants 4 messages Oct 5, 2006 – Oct 6, 2006

lore
Share & tools
lore
#0 lore raw

Hi all,

I tried to build alsa-driver (sources) 1.0.13 against kernel 2.6.19rc1 on i386. The build stops with:

/usr/bin/make -C /usr/src/linux-2.6.19-rc1 \
SUBDIRS=/usr/src/modules/alsa-driver O=/usr/src/linux-2.6.19-rc1 \
CPP="gcc-4.1 -E" CC="gcc-4.1" modules
make[4]: Entering directory `/usr/src/linux-2.6.19-rc1'
CC [M] /usr/src/modules/alsa-driver/acore/pcm_native.o
/usr/src/modules/alsa-driver/acore/pcm_native.c:3569: error: unknown field \
'writev' specified in initializer /usr/src/modules/alsa-driver/acore/pcm_native.c:3569: warning: \
initialization from incompatible pointer type /usr/src/modules/alsa-driver/acore/pcm_native.c:3589: error: unknown field \
'readv' specified in initializer /usr/src/modules/alsa-driver/acore/pcm_native.c:3589: warning: \
initialization from incompatible pointer type

Any hints?

Elimar

Signature · 7 lines
  Do you smell something burning or ist it me?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#1 lore raw
Quoted 5 lines · Elimar Riesebieter

Hi all,

I tried to build alsa-driver (sources) 1.0.13 against kernel 2.6.19rc1 on i386. The build stops with:

Is 2.6.19rc1 newer than ALSA 1.0.13? Building old ALSA against a new kernel is not supported.

Quoted 14 lines

/usr/bin/make -C /usr/src/linux-2.6.19-rc1 \
SUBDIRS=/usr/src/modules/alsa-driver O=/usr/src/linux-2.6.19-rc1 \
CPP="gcc-4.1 -E" CC="gcc-4.1" modules
make[4]: Entering directory `/usr/src/linux-2.6.19-rc1'
CC [M] /usr/src/modules/alsa-driver/acore/pcm_native.o
/usr/src/modules/alsa-driver/acore/pcm_native.c:3569: error: unknown field \
'writev' specified in initializer /usr/src/modules/alsa-driver/acore/pcm_native.c:3569: warning: \
initialization from incompatible pointer type /usr/src/modules/alsa-driver/acore/pcm_native.c:3589: error: unknown field \
'readv' specified in initializer /usr/src/modules/alsa-driver/acore/pcm_native.c:3589: warning: \
initialization from incompatible pointer type

Quoted 4 lines

Any hints?

Elimar

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw

On Thu, 05 Oct 2006 the mental interface of
Lee Revell told:

Quoted 9 lines · Elimar Riesebieter
Quoted 5 lines

Hi all,

I tried to build alsa-driver (sources) 1.0.13 against kernel 2.6.19rc1 on i386. The build stops with:

Is 2.6.19rc1 newer than ALSA 1.0.13? Building old ALSA against a new kernel is not supported.

Well, the default imclude/sound/version.h tells:

/* include/version.h. Generated by configure. */ #define CONFIG_SND_VERSION "1.0.12rc1"
#define CONFIG_SND_DATE " (Thu Jun 22 13:55:50 2006 UTC)"

IMHO ALSA 1.0.13 should build with kernel 2.6.19rc1.

Elimar

Signature · 8 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#3 lore raw

At Thu, 5 Oct 2006 22:44:34 +0200,

Quoted 11 lines · Elimar Riesebieter

On Thu, 05 Oct 2006 the mental interface of
Lee Revell told:

Quoted 7 lines · Elimar Riesebieter
Quoted 5 lines

Hi all,

I tried to build alsa-driver (sources) 1.0.13 against kernel 2.6.19rc1 on i386. The build stops with:

Quoted 8 lines
Quoted 2 lines

Is 2.6.19rc1 newer than ALSA 1.0.13? Building old ALSA against a new kernel is not supported.

Well, the default imclude/sound/version.h tells:

/* include/version.h. Generated by configure. */ #define CONFIG_SND_VERSION "1.0.12rc1"
#define CONFIG_SND_DATE " (Thu Jun 22 13:55:50 2006 UTC)"

That's somehow bogus. We didn't create a patch to increase the ALSA version number.

Quoted 1 line

IMHO ALSA 1.0.13 should build with kernel 2.6.19rc1.

No. It doesn't (can't). 2.6.19rc1 was out after ALSA 1.0.13. There is no way to support the newer kernel without a magic crystall ball to fix everything automatically for the future API breakage :)

It's already fixed in HG version, BTW.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV