Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45505 - media-video/piave compile error with alsa plugin
Summary: media-video/piave compile error with alsa plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-23 08:53 UTC by hatsch
Modified: 2005-01-23 13:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hatsch 2004-03-23 08:53:45 UTC
Making all in alsa
make[4]: Entering directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream/alsa'
if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -MT alsastream.lo -MD -MP -MF ".deps/alsastream.Tpo" \
  -c -o alsastream.lo `test -f 'alsastream.cc' || echo './'`alsastream.cc; \
then mv -f ".deps/alsastream.Tpo" ".deps/alsastream.Plo"; \
else rm -f ".deps/alsastream.Tpo"; exit 1; \
fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.2/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -MT alsastream.lo -MD -MP -MF .deps/alsastream.Tpo -c alsastream.cc  -fPIC -DPIC -o .libs/alsastream.o
alsastream.cc: In member function `virtual void
   PIAVE::OutALSAStream::init(PIAVE::Frame&)':
alsastream.cc:219: error: invalid conversion from `unsigned int*' to `unsigned
   int'
/usr/include/alsa/pcm.h:678: error: too many arguments to function `int
   snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t*)'
alsastream.cc:240: error: at this point in file
make[4]: *** [alsastream.lo] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream/alsa'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins/iostream'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4/plugins'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/piave-0.2.4/work/piave-0.2.4'
make: *** [all] Fehler 2

!!! ERROR: media-video/piave-0.2.4 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 hatsch 2004-03-23 08:54:50 UTC
i am running kernel 2.6.3 here, with i810 soundcard
alsa and arts are in useflags
Comment 2 Marc Hildebrand (RETIRED) gentoo-dev 2004-03-25 08:41:33 UTC
Did you try to drop your CFLAGS?
I have successfully compiled piave on 3 different machines with kernels 2.4, 2.6.3 and 2.6.4
Which headers do you use?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-03-27 08:57:35 UTC
Have a look at http://forums.gentoo.org/viewtopic.php?t=153131
Comment 4 hatsch 2004-03-31 02:24:13 UTC
refering to the kdenlive mailinglist,
upgrading alsa-libs to version > 1.0 fixes the problem.

thanks for your help
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-20 11:22:31 UTC
Marc, you're the maintainer, the herd is "no-herd" and I can't find you listed in cvs under gentoo/misc/herds.xml!? This bug is assigned to kde@g.o and I want to propose circumventing a complex ( kernel 2.4 && alsa-driver  ) || kernel 2.6 dependency and adding >=media-sound/alsa-utils-1.0.3 instead. What do you think?
Comment 6 Dominik Stadler (RETIRED) gentoo-dev 2005-01-23 13:29:59 UTC
No update since over half a year. 

I think this can be closed for now as only alpha has a stable alsa-libs<1.0 and piave is not keyworded on alpha right now.

Please reopen if this is still an issue.