Thanks for you answer,

Now I get the following error:

root@raspberrypi:/home/pi/rpi# export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pi/rpi
root@raspberrypi:/home/pi/rpi# fpc hallo
Free Pascal Compiler version 2.4.0-2 [2010/02/20] for arm
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Linux for ARMEL
Compiling hallo.pas
rpi_const.inc(12,3) Note: Local variable "c_LogFileSizeLimit" not used
Assembling hallo
Linking hallo
/usr/bin/ld: warning: link.res contains output sections; did you forget 
-T?
./libc.so: undefined reference to `__libc_stack_end@GLIBC_2.1'
./libdl.so: undefined reference to `_dl_catch_error@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_map_object@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_start_profile@GLIBC_PRIVATE'
./libc.so: undefined reference to 
`_dl_lookup_versioned_symbol_skip@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_debug_printf@GLIBC_PRIVATE'
./libc.so: undefined reference to `_r_debug@GLIBC_2.0'
./libc.so: undefined reference to `_dl_argv@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_init@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_dst_count@GLIBC_PRIVATE'
./libdl.so: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_map_object_deps@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_check_map_versions@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_unload_cache@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_lookup_symbol_skip@GLIBC_PRIVATE'
./libdl.so: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_dst_substitute@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_get_origin@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_lookup_symbol@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_mcount@GLIBC_2.1'
./libc.so: undefined reference to `_rtld_global@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_relocate_object@GLIBC_PRIVATE'
./libc.so: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
./libc.so: undefined reference to `_dl_debug_state@GLIBC_PRIVATE'
./libc.so: undefined reference to 
`_dl_lookup_versioned_symbol@GLIBC_PRIVATE'
rpi_const.inc(13,3) Error: Error while linking
rpi_const.inc(13,3) Fatal: There were 1 errors compiling module, 
stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode (normal if you did not 
specify a source file to be compiled)
root@raspberrypi:/home/pi/rpi# 


Mit freundlichen Grüßen / with best regards

Stefan Fischer

-----Ursprüngliche Nachricht-----
Von: Ludo Brands [mailto:ludo.bra...@free.fr] 
Gesendet: Montag, 4. Juni 2012 14:26
An: 'Ararat Synapse'
Betreff: [Synalist] RE : WG: Synapse Rel 40

> As you can see,  ld-linux.so.2 is in the local directory. Why do I get 

> a
linking error ? 

You need to add your local directory to the library path:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pi/rpi

Ludo

 


------------------------------------------------------------------------
------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will 
include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to