Author Topic: Lazarus on raspberry  (Read 119 times)

johnvantelli

  • Posts: 97
Lazarus on raspberry
« on: 23 Nov '24 - 11:15 »
Hi everybody
I'm trying to create a lazarus project to play music with bass.
I've downloaded all bass zip files for linux but in them I've not found .pas wrappers, so I tryed to use the windows version.

It seems to run correctly for bass.pas but when i use bassmix.pas during compile I get an error:

Code: [Select]
Error. /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 3 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 4 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 5 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 6 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 7 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 8 (>= sh_info of 3)
Error: /usr/bin/ld.bfd: /lib/libbassmix.so: .dynsym local symbol at index 9 (>= sh_info of 3)
Error: Error while linking

Ian @ un4seen

  • Administrator
  • Posts: 26172
Re: Lazarus on raspberry
« Reply #1 on: 25 Nov '24 - 12:11 »
Another user had this issue recently:

   www.un4seen.com/forum/?topic=20524

The messages are actually just warnings from the linker, so building should normally still succeed, but it looks like Lazarus is treating them as errors. Are you able to change the linker options that it uses? If so, adding "-fuse-ld=gold" there should prevent the messages.

The messages are related to the binutils version that's used in building the Linux BASS libraries. That has since been updated to a more recent version, so new releases won't be affected.

johnvantelli

  • Posts: 97
Re: Lazarus on raspberry
« Reply #2 on: 26 Nov '24 - 10:11 »
I've added "-fuse-ld=gold" with no results...
other ideas?

Ian @ un4seen

  • Administrator
  • Posts: 26172
Re: Lazarus on raspberry
« Reply #3 on: 26 Nov '24 - 12:54 »
Do you still see "ld.bfd" in the messages? If so, that means the "gold" linker still isn't being used. You could try "-Wl,-fuse-ld=gold" instead.