[fpc-devel] Errors linking Symbian OS applications

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Jul 6 13:05:45 CEST 2007


Hi,

I am compiling a symbian os application for the first time since 1
month or so, and now the linking stage fails with:

mwldsym2.exe: Undefined symbol: '__data_start__'
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: Undefined symbol: '__data_end__'
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o
mwldsym2.exe: referenced from '.text' in system.o

It worked fine before.

I link my applications the following object files:

  STR_FPC_RTL_OBJECTS :=
    ' ' + vProject.RTLUnitsDir + 'system.o' +
    ' ' + vProject.RTLUnitsDir + 'symbian.o' +
    ' ' + vProject.RTLUnitsDir + 'ctypes.o' +
    ' ' + vProject.RTLUnitsDir + 'objpas.o' +
    ' ' + vProject.RTLUnitsDir + 'pbeexe.o';

Any ideas? I am a little lost about what could cause this.

thanks,



More information about the fpc-devel mailing list