Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2007-07

Errors linking Symbian OS applications

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

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,

Reply by email

Yury Sidorov
to Felipe Monteiro de Carvalho

From: "Felipe Monteiro de Carvalho"

Show quoted text 17 lines
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.

Remove tf_winlikewidestring flag for symbian.

Yury.

Reply by email