[fpc-devel] Linking to TObject

Boian Mitov mitov at mitov.com
Thu Aug 7 00:50:19 CEST 2008


  I got that part. system.o , but now I have some more unresolved:

/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_FINDRESOURCE$LONGWORD$PCHAR$PCHAR$$LONGWORD':
system.pp:(.text+0x136): undefined reference to `FPC_RESLOCATION'
system.pp:(.text+0x1ac): undefined reference to `FPC_RESLOCATION'
system.pp:(.text+0x1ee): undefined reference to `FPC_RESLOCATION'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_LOADRESOURCE$LONGWORD$LONGWORD$$LONGWORD':
system.pp:(.text+0x231): undefined reference to `FPC_RESLOCATION'
system.pp:(.text+0x242): undefined reference to `FPC_RESLOCATION'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o:system.pp:(.text+0x24e): 
more undefined references to `FPC_RESLOCATION' follow
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_INITSYSCALLINTF':
system.pp:(.text+0x33b): undefined reference to 
`operatingsystem_parameter_envp'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_SETUP_FASTMOVE':
system.pp:(.text+0x15f5): undefined reference to `__fpc_valgrind'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_FPC_CPUCODEINIT':
system.pp:(.text+0x1db2): undefined reference to `__fpc_valgrind'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`FPC_INITIALIZEUNITS':
system.pp:(.text+0x103a1): undefined reference to `INITFINAL'
system.pp:(.text+0x103b4): undefined reference to `INITFINAL'
system.pp:(.text+0x103be): undefined reference to `INITFINAL'
system.pp:(.text+0x103c6): undefined reference to `INITFINAL'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`FPC_FINALIZEUNITS':
system.pp:(.text+0x103f6): undefined reference to `INITFINAL'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o:system.pp:(.text+0x103fb): 
more undefined references to `INITFINAL' follow
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_INIT_ALL_UNIT_THREADVARS':
system.pp:(.text+0x12f1d): undefined reference to `FPC_THREADVARTABLES'
system.pp:(.text+0x12f34): undefined reference to `FPC_THREADVARTABLES'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_COPY_ALL_UNIT_THREADVARS':
system.pp:(.text+0x12fad): undefined reference to `FPC_THREADVARTABLES'
system.pp:(.text+0x12fc4): undefined reference to `FPC_THREADVARTABLES'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_SYSTEM_EXIT':
system.pp:(.text+0x16ed0): undefined reference to `_haltproc'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_PARAMCOUNT$$LONGINT':
system.pp:(.text+0x16ee1): undefined reference to 
`operatingsystem_parameter_argc'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_PARAMSTR$LONGINT$$SHORTSTRING':
system.pp:(.text+0x16f21): undefined reference to 
`operatingsystem_parameter_argc'
system.pp:(.text+0x16f2a): undefined reference to 
`operatingsystem_parameter_argv'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function 
`SYSTEM_SETUPCMDLINE':
system.pp:(.text+0x16f90): undefined reference to 
`operatingsystem_parameter_argc'
system.pp:(.text+0x16fc6): undefined reference to 
`operatingsystem_parameter_argv'
system.pp:(.text+0x16ff6): undefined reference to 
`operatingsystem_parameter_argv'
system.pp:(.text+0x17039): undefined reference to 
`operatingsystem_parameter_argv'
system.pp:(.text+0x1706c): undefined reference to 
`operatingsystem_parameter_argc'
system.pp:(.text+0x17092): undefined reference to 
`operatingsystem_parameter_argc'
/usr/lib/fpc/2.2.2/units/i386-linux/rtl/system.o: In function `SYSTEM_init':
system.pp:(.text+0x17516): undefined reference to `__stklen'
system.pp:(.text+0x17556): undefined reference to `__stkptr'


Any idea?

  With best regards,
    Boian Mitov

--------------------------------------------------------------------
Mitov Software
http://www.mitov.com
--------------------------------------------------------------------





More information about the fpc-devel mailing list