Page 1 of 1

Linker errors?

Posted: Mon Jan 13, 2014 1:50 pm
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.

Re: Linker errors?

Posted: Mon Jan 13, 2014 8:18 pm
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

Re: Linker errors?

Posted: Tue Jan 14, 2014 12:11 am
by Tech-Man
Awesome, that works, thanks :)