Hi!
I have cobalt who works properly, and now I am trying to run the nplb tests, but the executable crashes when I run it.
Cobalt version: 25.lts.20
Evergreen version: 5.20.2
I build it in "debug" version with "evergreen-arm64"
then I compile it with ninja:
ninja -C out/evergreenDir nplb
When I run it:
./elf_loader_sandbox --evergreen_library=app/nplb/lib/libnplb.so --evergreen_content=app/nplb/content
it crashes in the relocations.cc file, because could not find the symbol: 'SbMediaIsSupported'
In the file starboard/nplb/BUILD.gn I had to add the following sources:
target(gtest_target_type, "nplb") {
testonly = true
sources = [
"//starboard/shared/starboard/application.cc",
"//starboard/shared/starboard/command_line.cc",
...
"//starboard/common/test_main.cc",
With that I removed some missing symbols, but I still had a list of them, like:
nm -gD out/evergreenDir/libnplb.so | grep U
...
SbMediaIsSupported
SbPlayerCreate
...
Any idea where should I add the libs or source files in order to find all the missing symbols? Does anyone know which BUILD.gn should I modify?
Thanks in advance