Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Alexey Voytsehovich
Hello ABorka, Thursday, October 8, 2009, 8:41:14 PM, you wrote: > This usually comes when you compiled your Apache module with the wrong > version of httpdXX directory from fpc/packages/. > There are 3 included in fpc: > httpd13 > httpd20 > and > httpd22 > Delete the two that are not your Apach

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread ABorka
This usually comes when you compiled your Apache module with the wrong version of httpdXX directory from fpc/packages/. There are 3 included in fpc: httpd13 httpd20 and httpd22 Delete the two that are not your Apache version and recompile your module (or in Lazarus -> Project -> Compiler Optio

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Alexey Voytsehovich
Hello Jonas, Thursday, October 8, 2009, 1:54:20 PM, you wrote: >> help again please? > Try ld 2.18.50 > And also use FPC 2.2.4, not 2.2.2. ok on fpc 2.2.4 and binutil 2.9.91 sources cimpiled and linked but if i load module in apache (on ubuntu) i get this error -- can`t locate API module struc

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Jonas Maebe
On 08 Oct 2009, at 12:36, Alexey Voychehovich wrote: but got this error a...@ubuntu:~$ fpc mod_hello.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_hello.pp Linking libmod_hello.so mod_hello.pp(22

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Alexey Voychehovich
i backported to a...@ubuntu:~$ aptitude show binutils Package: binutils State: installed Automatically installed: no Version: 2.18.93.20081009-0ubuntu1 Priority: optional Section: devel Maintainer: Ubuntu Core developers Uncompressed Size: 8729k Depends: libc6 (>= 2.8~20080505), zlib1g (>= 1:1.1.

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Jonas Maebe
On 08 Oct 2009, at 10:19, Alexey Voytsehovich wrote: Hello Jonas, Thursday, October 8, 2009, 10:49:43 AM, you wrote: Downgrade to binutils 2.18.x, or try upgrading binutils and hope that Ubuntu has backported the required fix already (no new release of binutils has been made since that bug w

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Alexey Voytsehovich
Hello Jonas, Thursday, October 8, 2009, 10:49:43 AM, you wrote: >> help please. > http://www.freepascal.org/faq.var#unix-ld219 > Downgrade to binutils 2.18.x, or try upgrading binutils and hope that > Ubuntu has backported the required fix already (no new release of > binutils has been made s

Re: [fpc-pascal] linker apache linux

2009-10-08 Thread Jonas Maebe
On 08 Oct 2009, at 08:10, Alexey Voychehovich wrote: 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:

[fpc-pascal] linker apache linux

2009-10-07 Thread Alexey Voychehovich
Hello all if i try compile free pascal http22 examples in ubuntu - i get this error. -- a...@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