[alsa-devel] Cross compile issues with alsa-utils
Hi All,
I have been cross compiling alsa-utils with buildroot (www.buildroot.org) and have run into two issues.
The first is that alsactl is using index & rindex which are legacy functions not supported with all cross compile toolchains. Attached is a patch to replace the calls with strchr and strrchr.
The second issue is again with alsactl. It is trying to generate the alsactl_init.7 man page but I do not have xmlto to convert it to a man page. Could a configure option be added to not build any docs - similar to alsa-lib configure.
Thanks,
Will.
At Thu, 15 Jan 2009 11:11:38 +0000, Will Wagner wrote:
Hi All,
I have been cross compiling alsa-utils with buildroot (www.buildroot.org) and have run into two issues.
The first is that alsactl is using index & rindex which are legacy functions not supported with all cross compile toolchains. Attached is a patch to replace the calls with strchr and strrchr.
Thanks, applied now to GIT tree. Unfortunately, it slipped from 1.0.19 release, though.
The second issue is again with alsactl. It is trying to generate the alsactl_init.7 man page but I do not have xmlto to convert it to a man page. Could a configure option be added to not build any docs - similar to alsa-lib configure.
In the recent version, you already have --disable-xmlto configure option.
thanks,
Takashi
participants (2)
-
Takashi Iwai
-
Will Wagner