avidemux doesn`t compile with error: ADM_deviceALSA.cpp: In member function `virtual unsigned char alsaAudioDevice::init(long unsigned int, long unsigned int)': ADM_deviceALSA.cpp:109: error: invalid conversion from `long unsigned int' to ` unsigned int*' ADM_deviceALSA.cpp:131: error: invalid conversion from `int' to `unsigned int*' ADM_deviceALSA.cpp:137: error: invalid conversion from `int' to `unsigned int*' make[3]: *** [ADM_deviceALSA.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18/avidemux/ADM_audiodevice' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.18/work/avidemux-2.0.18' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.0.18 failed. !!! Function src_compile, Line 69, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please remember to post the output of emerge --info when reporting bugs.
This error is discussed in the avidemux-forums also. It's because of alsa-1.0. Your options: 1.: Downgrade to alsa 0.9x 2.: Wait till I include a patch to compile avidemux without alsa if alsa-version >=1.0. ;) (In which case oss-emulation will be used) ETA for option 2 is prob. Tomorrow afternoon ;)) Cheers, Marc.
Sorry, this takes longer than I thought... Problem: Usually you'd compile the source by hand and run into that error. The advised measure is to edit config.h and delete the line "#define ALSA_SUPPORT 1" Then make again, this time it'll work. If you do this just after "./configure", make will override this and but the line back in. Actually I'm still trying to manage this in an ebuild without too much strange hacking but it's likely that this will be corrected upstream before. At least mean (the author) told me so. I' will report here as soon as I know more. In the meantime everyone who knows a bit more than me on this subject is welcome.
OK, problem fixed upstream, version 2.0.20 announced for tomorrow... Expect an ebuild then ;)
Done, see: http://bugs.gentoo.org/show_bug.cgi?id=36224 It now compiles with alsa, meaning it uses oss-emulation atm but that#s ok I think.