Skip to contentSkip to conversation

alsa cvs not building on top of 2.6.10-rc2-mm3-V0.7.32_14

DISCUSSION Fernando Lopez-Lezcano 3 participants 8 messages Dec 10, 2004 – Dec 11, 2004

lore
Share & tools
lore
#0 lore raw

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

CC [M] /usr/src/redhat/BUILD/alsa-driver-1.0.7/acore/hwdep.o CC [M] /usr/src/redhat/BUILD/alsa-driver-1.0.7/acore/memalloc.o
/usr/src/redhat/BUILD/alsa-driver-1.0.7/acore/memalloc.c:53: error:
initializer element is not constant /usr/src/redhat/BUILD/alsa-driver-1.0.7/acore/memalloc.c:53: error:
(near initialization for `__param_arr_enable.num')
make[4]: *** [/usr/src/redhat/BUILD/alsa-driver-1.0.7/acore/memalloc.o] Error 1
make[3]: *** [/usr/src/redhat/BUILD/alsa-driver-1.0.7/acore] Error 2 make[2]: *** [_module_/usr/src/redhat/BUILD/alsa-driver-1.0.7] Error 2 make[1]: *** [modules] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.1.rdtV0.7.32_14.rhfc2.ccrma/build'
make: *** [compile] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.69519 (%build)

I read a couple of old messages regarding this but found no solution (or did not search long enough :-)

-- Fernando

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now. Try a clean cvs checkout.

Lee

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#2 lore raw
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now. Try a clean cvs checkout.

This was bug 605.

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=605

But the bug was closed.

I had a problem recently where "cvs update" did not seem to update my tree to the latest version, I had to delete it and checkout again. I chalked this up to user error but maybe there's something weird going on.

Lee

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#3 lore raw
In reply to Lee Revell
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now.

Lucky you :-)

Quoted 1 line

Try a clean cvs checkout.

The checkout was clean (ie: on a newly created directory). I'm installing the kernel on another of my test machines to do another clean download and install.

-- Fernando

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#4 lore raw

At 10 Dec 2004 10:48:05 -0800,

Quoted 9 lines · Fernando Lopez-Lezcano
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now.

Quoted 7 lines

Lucky you :-)

Quoted 1 line

Try a clean cvs checkout.

The checkout was clean (ie: on a newly created directory). I'm installing the kernel on another of my test machines to do another clean download and install.

Make sure that you have no alsa-driver/acore/memalloc.c after make clean.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#5 lore raw
Quoted 13 lines · Takashi Iwai

At 10 Dec 2004 10:48:05 -0800,

Quoted 11 lines · Fernando Lopez-Lezcano
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now.

Lucky you :-)

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Try a clean cvs checkout.

The checkout was clean (ie: on a newly created directory). I'm installing the kernel on another of my test machines to do another clean download and install.

Make sure that you have no alsa-driver/acore/memalloc.c after make clean.

I'm very confused......

The build process works under an older kernel, but not the newer (using cvscompile). I'm suspecting that somehow the version of the kernel is not being detected correctly somewhere in the alsa code and then something breaks while building.

Booting in the old kernel (a 2.6.8.1-U9.2 based kernel):
cvscompile works
cvscompile --with-kernel newer_kernel fails
Booting into the new kernel
cvscompile always fails no matter where I point it too
Does not make sense...

-- Fernando

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#6 lore raw
Quoted 16 lines · Fernando Lopez-Lezcano
Quoted 15 lines · Takashi Iwai

At 10 Dec 2004 10:48:05 -0800,

Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now.

Lucky you :-)

Quoted 1 line

Try a clean cvs checkout.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

The checkout was clean (ie: on a newly created directory). I'm installing the kernel on another of my test machines to do another clean download and install.

Make sure that you have no alsa-driver/acore/memalloc.c after make clean.

I'm very confused......

Not anymore. I believe this is a side effect of how I package and name the kernels. Although I'm building 2.6.10-rc2-mm3-r0.7.32-14 the package and kernel are still named 2.6.9 (because it is not yet 2.6.10), so the version checking code in alsa assumes it is still 2.6.9 and configures things incorrectly. I have yet to decide on a workaround.

-- Fernando

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#7 lore raw
In reply to Fernando Lopez-Lezcano

At 10 Dec 2004 12:08:13 -0800,

Quoted 26 lines · Fernando Lopez-Lezcano
Quoted 13 lines · Takashi Iwai

At 10 Dec 2004 10:48:05 -0800,

Quoted 11 lines · Fernando Lopez-Lezcano
Quoted 6 lines · Lee Revell
Quoted 2 lines · Fernando Lopez-Lezcano

I can't seem to build current alsa cvs on top of
2.6.10-rc2-mm3-V0.7.32-14...

I think I had this problem, and it went away mysteriously. I can't reproduce it now.

Lucky you :-)

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Try a clean cvs checkout.

The checkout was clean (ie: on a newly created directory). I'm installing the kernel on another of my test machines to do another clean download and install.

Make sure that you have no alsa-driver/acore/memalloc.c after make clean.

I'm very confused......

Quoted 8 lines

The build process works under an older kernel, but not the newer (using cvscompile). I'm suspecting that somehow the version of the kernel is not being detected correctly somewhere in the alsa code and then something breaks while building.

Booting in the old kernel (a 2.6.8.1-U9.2 based kernel):
cvscompile works
cvscompile --with-kernel newer_kernel fails

Try to pass also --with-build=newer_kernel for 2.6.x kernel tree.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/