Relocation error...
Hi all,
I want to know the reason for relocation error... Due to what reasons the relocation error may occur... When i try to run my program in my pxa255 platform where the program uses glade library...I am getting an error like this... relocation error: /usr/lib/libglade-2.0.so.0: undefined symbol: gtk_about_dialog_get_type I faced this error several times...But i don't know why this error occurs...Some times when i change the location of the library..It is not giving such an error...Sometimes, even when i change its location to different path then also the problem persist... Can anyone help me in explaining about the cause of this error?? |
I can't give an explanation about the exact reasons of a relocation error, but at compiling time the options -fpic and -fPIC can avoid some of its occurence. See man gcc for details.
|
All times are GMT -5. The time now is 12:55 AM. |