User forums > Help

Solved problem building plugins on linux added to the wiki

(1/1)

Ganbito:
I started with plugin development for Code::Blocks under Ubuntu 8.04.1 64bits.

When I try to compile it I've found this ploblem:

--- Code: ---Compiling: HelloWorldPlugin.cpp
Linking dynamic library: HelloWorldPlugin.so
/usr/bin/ld: .objs/HelloWorldPlugin.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
.objs/HelloWorldPlugin.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings

--- End code ---

I've searched the forum and I've found some topics about this problem, with its solution and I decided to include it on the wiki because it can be helpful for new C::B plugin developers.

Creating a simple "Hello World" plugin

Navigation

[0] Message Index

Go to full version