[fpc-pascal] linker apache linux

Alexey Voychehovich ironwit at gmail.com
Thu Oct 8 08:10:14 CEST 2009


Hello all

if i try compile free pascal http22 examples in ubuntu - i get this error.
--
alex at ubuntu:/usr/share/fpcsrc/2.2.2/packages/httpd22/examples$ sudo make
/bin/mkdir -p units/i386-linux
/usr/bin/ppc386 -Fu../../../rtl
-Fu../../../packages/httpd22/units/i386-linux -FE. -FUunits/i386-linux
-Fl/usr/lib/gcc/i486-linux-gnu/4.3.3 -Flinclude -Fl/etc/ld.so.conf.d/*.conf
-di386 minimain.pas
Free Pascal Compiler version 2.2.2-8 [2009/01/08] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling minimain.pas
66 lines compiled, 0.1 sec
/usr/bin/ppc386 -Fu../../../rtl
-Fu../../../packages/httpd22/units/i386-linux -FE. -FUunits/i386-linux
-Fl/usr/lib/gcc/i486-linux-gnu/4.3.3 -Flinclude -Fl/etc/ld.so.conf.d/*.conf
-di386 mod_example.pp
Free Pascal Compiler version 2.2.2-8 [2009/01/08] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for i386
Compiling mod_example.pp
mod_example.pp(494,3) Note: Local variable "dcfg" is assigned but never used
mod_example.pp(1009,3) Note: Local variable "cfg" is assigned but never used
Linking ./libmod_example.so
mod_example.pp(1342,1) Error: Can't call the linker, switching to external
linking
mod_example.pp(1342,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make: *** [mod_example] Error 1
--
help please.

-- 
Don`t drink and drive, smoke and fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091008/dde0df3d/attachment.html>


More information about the fpc-pascal mailing list