PDA

View Full Version : Error linking file .o in Kylix 3



fabiulafloripa
16-03-2006, 05:13 PM
Hi.
I have files .o that they had been written in C. I am linking this files in my program in Kylix using {$L ''nameobjectfile'} directive. However Kylix gives the following error : ""Can't handle section <nameXXX> in object file <nameobjectfile>".
It will be that somebody already passed therefore? Somebody can i help me, PLEASE

technomage
21-03-2006, 06:26 AM
I think this depends on which C compiler has been used to generate the .o file (or .obj file).

It has to be a compatable C compiler. Have you tried compiling the c code using the Kylix C compiler? That might do the trick.