[fpc-pascal] Crosscompile linking problems

Lukas Gebauer gebylist at mlp.cz
Tue Jul 12 14:58:58 CEST 2005


Hi!

I am trying crosscompile my commandline application from Win32 to 
linux. I have cross binutils, compiled linux RTL and other 
packages... so, I have not any problem with crosscompile. I have a 
problem with final linking of crosscompiled application only.

I have a few '.so' from Mandrake9 in my LIB directory, but linking 
producing next errors:

C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_lookup_versioned_symbol_skip at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libpthread.so: undefined reference to 
`_rtld_global at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_lookup_versioned_symbol at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_start_profile at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_check_map_versions at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_mcount at GLIBC_2.1'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`__libc_enable_secure at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_get_origin at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_dst_substitute at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_debug_state at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_init at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`__libc_stack_end at GLIBC_2.1'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_dst_count at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_out_of_memory at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_signal_error at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_debug_printf at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_r_debug at GLIBC_2.0'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_map_object_deps at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_unload_cache at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_relocate_object at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_argv at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libdl.so: undefined reference to 
`_dl_catch_error at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_lookup_symbol_skip at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_lookup_symbol at GLIBC_PRIVATE'
C:\FPC\2.0.0\lib\/libc.so: undefined reference to 
`_dl_map_object at GLIBC_PRIVATE'

Have you some ideas? Have I missed somethink? 

I call it by commandline: 
fpc -Tlinux webtouch -XPi386-linux-

Thanks!


-- 
Lukas Gebauer.

E-mail: gebauerl at mlp.cz
http://www.ararat.cz/synapse/ - Ararat Synapse - TCP/IP Lib.





More information about the fpc-pascal mailing list