-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with modifying topology files #408
Comments
Hello,
It should has just one apostrophe in the end of the 7th line. Now the code for pipe-volume-playback-4test.m4 compiles. |
Not sure what's going on, this works for me:
I don't know if it's related but you seem to have an ancient GCC version "The C compiler identification is GNU 7.5.0" so your platform may run into issues others with more recent packages don't see. |
@JCesarMolina best to have a recent distro as the SOF developers mostly use recent distro releases with latest ALSA, GCC, cmake etc.. |
@lgirdwood I think so, but i followed the tutorial based on that i have kubuntu 18.04 ,i have to do it using that version. in the website: If you are using Ubuntu 16.04, the gcc version must be updated to gcc 7.3+ in order for the Advanced Linux Sound Architecture (ALSA) to build.
to avoid any problem , i just followed what in the SOF website is indicated. |
@plbossart , it means that there's no syntax error in the 7th line? |
Are you referring to this @JCesarMolina
I am not sure why there are two quotes in the end, but that should be harmless. @ranj063 would you concur? |
Hello,
I have been following the Hello World Tutorial, and in the Part II - Modifying the Topology & Driver I got the following output:
I don catch where is the error, then i tried to modify sof-imx8mp-wm8904.m4 , it can be compiled, I where the pipe-volume-playback-4test.m4 file is modified with small changes in order to find out where is the error.
The code for pipe-volume-playback-4test.m4 is:
After compilation, i got :
[ 0%] Built target abi_v1
[ 1%] Generating production/sof-imx8mp-wm8904.conf
[ 1%] Generating production/sof-imx8mp-wm8904.tplg
ALSA lib data.c:1375:(tplg_parse_data) failed to parse data bytes
ALSA lib parser.c:231:(tplg_load_config) failed to parse topology
Unable to load configuration: Invalid argument
topology/topology1/CMakeFiles/topology1_sof-imx8mp-wm8904.dir/build.make:72: recipe for target 'topology/topology1/production/sof-imx8mp-wm8904.tplg' failed
make[2]: *** [topology/topology1/production/sof-imx8mp-wm8904.tplg] Error 1
CMakeFiles/Makefile2:5081: recipe for target 'topology/topology1/CMakeFiles/topology1_sof-imx8mp-wm8904.dir/all' failed
make[1]: *** [topology/topology1/CMakeFiles/topology1_sof-imx8mp-wm8904.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
I hope someone could help me.
Thanks in advanced
Julio C. Molina
The text was updated successfully, but these errors were encountered: