Linker errors?

Linux specific forum
Tech-Man
New User
New User
Posts: 9
Joined: Fri Aug 08, 2003 7:52 pm

Linker errors?

Post by Tech-Man »

Hi there,

Im returning to pure basic after a few years break, from Windows to Linux..
Im trying to compile the ufmod examples for purebasic but it's throwing up multiple definition errors??

Image

any idea's whats wrong? i have the user libraries in the right place, using x86 mint linux with all dev tools installed and libs..
its the same with the ALSA/OpenAL examples as well...

Thx
Al.
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Linker errors?

Post by idle »

You can try this at the top of your code

Code: Select all

ImportC "-Wl,--allow-multiple-definition" : EndImport   
Don't know if it'll help though

see the sticky thread at the top of the linux topic
http://www.purebasic.fr/english/viewtop ... 15&t=51656
Windows 11, Manjaro, Raspberry Pi OS
Image
Tech-Man
New User
New User
Posts: 9
Joined: Fri Aug 08, 2003 7:52 pm

Re: Linker errors?

Post by Tech-Man »

Awesome, that works, thanks :)
Post Reply