[Sound-open-firmware] [Re]: Make error when building topology and tools
Hi all,
I am trying to building SOF from scratch by following through the official documentation guide [0]. I am getting errors when trying to build Topology and tools [1].
I am providing pastebin links to topology_log [2] and topology_error_log [3]. topology_log contains output to stdout and topology_error_log contains the output to stderr.
I was able to build in docker successfully before. But, when i am trying to build from scratch, i encountered this error. Can someone guide me in solving this error.
The system i am building runs on Ubuntu 19.19 eoan. My kernel version is 5.3.0-40-generic. Please feel free to ask for any other information, if i am missing any.
Thank you for your time.
Regards, ymdatta.
References: ---------- [0]: https://thesofproject.github.io/latest/getting_started/build-guide/build-fro... [1]: https://thesofproject.github.io/latest/getting_started/build-guide/build-fro... [2]: https://paste.gnome.org/pffxkrwjm/cvhcko [3]: https://paste.gnome.org/pg9mefnet/crqsix
The regular log seems to be truncated (and however much it was captured it shows no errors), while the error log seems to be an invalid link? Can you repost them, perhaps on the actual pastebin.com website?
You may still need to do the export LD_LIBRARY_PATH=... line even if you're on the latest Ubuntu distro, the alsa-lib may still be outdated in the distro and the topology compiler will use whatever alsa-lib is automatically loaded, which could mean the distro-specific version rather than the one you compiled. Did you try that as well?
-----Original Message----- From: Sound-open-firmware sound-open-firmware-bounces@alsa-project.org On Behalf Of Mohana Datta Yelugoti Sent: Friday, February 28, 2020 3:50 PM To: sound-open-firmware@alsa-project.org Subject: [Sound-open-firmware] [Re]: Make error when building topology and tools
Hi all,
I am trying to building SOF from scratch by following through the official documentation guide [0]. I am getting errors when trying to build Topology and tools [1].
I am providing pastebin links to topology_log [2] and topology_error_log [3]. topology_log contains output to stdout and topology_error_log contains the output to stderr.
I was able to build in docker successfully before. But, when i am trying to build from scratch, i encountered this error. Can someone guide me in solving this error.
The system i am building runs on Ubuntu 19.19 eoan. My kernel version is 5.3.0-40-generic. Please feel free to ask for any other information, if i am missing any.
Thank you for your time.
Regards, ymdatta.
References: ---------- [0]: https://thesofproject.github.io/latest/getting_started/build-guide/build-fro... [1]: https://thesofproject.github.io/latest/getting_started/build-guide/build-fro... [2]: https://paste.gnome.org/pffxkrwjm/cvhcko [3]: https://paste.gnome.org/pg9mefnet/crqsix _______________________________________________ Sound-open-firmware mailing list Sound-open-firmware@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
On Fri, 2020-02-28 at 14:24 +0000, Paul Olaru (OSS) wrote:
The regular log seems to be truncated (and however much it was captured it shows no errors), while the error log seems to be an invalid link? Can you repost them, perhaps on the actual pastebin.com website?
I think Ubuntu 19.10 may have all the ALSA updates merged now. If so, we can update the docs.
ymdatta, can you skip all the ALSA steps and use the default ALSA versions. Let us know, as this may mean all the updates are now shipping with latest Ubuntu.
If ubuntu ALSA is tool old, you will see errors compiling topologies.
Thanks
Liam
On 29/02/20 12:24 am, Liam Girdwood wrote:
I think Ubuntu 19.10 may have all the ALSA updates merged now. If so, we can update the docs.
ymdatta, can you skip all the ALSA steps and use the default ALSA versions. Let us know, as this may mean all the updates are now shipping with latest Ubuntu.
Ubuntu 19.10 eoan's alsa-lib version is 1.1.9 [0]. I downgraded my version from 1.2.2 to 1.1.9 by recompiling the alsa-lib repository by pointing to that release. (Hope i am doing this correct).
If ubuntu ALSA is tool old, you will see errors compiling topologies.
I was able to successfully build firmware binaries. But when building topology i faced errors. I feel they are similar to what i reported before. But, i am including them for completeness. They are topology_log [1] and topology_error_log [2]. (topology_log is the stdout output and stderr output obtained using the command: `./scripts/build-tools.sh > topology_log 2> topology_error_log)
Hope this helps.
Regards, ymdatta.
References: ---------- [0]: https://launchpad.net/ubuntu/+source/alsa-lib [1]: https://pastebin.com/c35JSDDB [2]: https://pastebin.com/PWx9Avgd
On Mon, 2020-03-02 at 12:04 +0530, Mohana Datta Yelugoti wrote:
ymdatta, can you skip all the ALSA steps and use the default ALSA versions. Let us know, as this may mean all the updates are now shipping with latest Ubuntu.
Ubuntu 19.10 eoan's alsa-lib version is 1.1.9 [0]. I downgraded my version from 1.2.2 to 1.1.9 by recompiling the alsa-lib repository by pointing to that release. (Hope i am doing this correct).
Can you apt-get reinstall the original version. I'm using the same ubuntu version and can compile topologies.
Thanks
Liam
On 28/02/20 7:54 pm, Paul Olaru (OSS) wrote:
The regular log seems to be truncated (and however much it was captured it shows no errors), while the error log seems to be an invalid link? Can you repost them, perhaps on the actual pastebin.com website?
My apologies, the updated pastebin links to topology_log and topology_error_log are at [0] and [1] respectively. (topology_log contains output to stdout and topology_error_log contains the output to stderr.)
You may still need to do the export LD_LIBRARY_PATH=... line even if you're on the latest Ubuntu distro, the alsa-lib may still be outdated in the distro and the topology compiler will use whatever alsa-lib is automatically loaded, which could mean the distro-specific version rather than the one you compiled. Did you try that as well?
Yes, i tried that. In the building SOF from scratch guide [2], building topology is the Step 4. alsa-lib and alsa-utils with newest ALSA is built in Step 1 and LD_LIBRARY_PATH=... is exported in the Step 2. I was able to successfully build firmware binaries if that helps.
Thank you for your time.
Regards, ymdatta.
References: ---------- [0]: https://pastebin.com/aQTtb9uq [1]: https://pastebin.com/bixrSkr6 [2]: https://thesofproject.github.io/latest/getting_started/build-guide/build-fro...
participants (3)
-
Liam Girdwood
-
Mohana Datta Yelugoti
-
Paul Olaru (OSS)