<div dir="ltr"><br><div class="gmail_quote">On Sat, Jul 7, 2012 at 2:48 AM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sat, 7 Jul 2012 02:34:16 +0300<br>
Zaher Dirkey <<a href="mailto:parmaja@gmail.com">parmaja@gmail.com</a>> wrote:<br>
<br>
> On Sat, Jul 7, 2012 at 1:03 AM, Mattias Gaertner<br>
> <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>wrote:<br>
><br>
> > Have you installed the libapr on your system?<br>
> > Have you installed the development package of libapr?<br>
> ><br>
> > Mattias<br>
> ><br>
><br>
> It is already installed<br>
> The problem not happned if i used httpd.pas in the project directly, but in<br>
> package it give me that error when linking Lazarus.<br>
<br>
</div></div>Are you aware that fpc has a httpd.ppu?<br>
<div class="HOEnZb"><div class="h5"><br>
Mattias<br>
<br>
</div></div></blockquote><div><br>I attached simple example about my problem, it is small package with empty units have httpd in uses.<br>If it is a bug i will report it?<br><br>Thanks<br><br>And this the error messages with hidden.<br>
<br>--------------------------------------------------<br>/usr/bin/env: bash<br>: No such file or directory<br>make: Entering directory `/mnt/dev/programs/lazarus'<br>/usr/bin/make -C ide ide<br>make[1]: Entering directory `/mnt/dev/programs/lazarus/ide'<br>
../tools/svn2revisioninc .. revision.inc<br>Created /mnt/dev/programs/lazarus/ide/revision.inc for revision: 37853M<br>/usr/bin/make --assume-new=lazarus.pp lazarus<br>make[2]: Entering directory `/mnt/dev/programs/lazarus/ide'<br>
/usr/bin/fpc -gl -Sci -dlclgtk2 -Fu../lcl/units/i386-linux -Fu../lcl/units/i386-linux/gtk2 -Fu../components/codetools/units/i386-linux -Fu../components/lazutils/lib/i386-linux -Fu../components/synedit/units/i386-linux/gtk2 -Fu../components/lazcontrols/lib/i386-linux/gtk2 -Fu../components/custom -Fu../ideintf/units/i386-linux/gtk2 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../packager/units/i386-linux -Fu../units/i386-linux/gtk2 -Fuframes -Fu. -Fu/usr/lib/fpc/2.6.0/units/i386-linux/rtl -Fu/usr/lib/fpc/2.6.0/units/i386-linux/paszlib -Fu/usr/lib/fpc/2.6.0/units/i386-linux/fcl-process -Fu/usr/lib/fpc/2.6.0/units/i386-linux/hash -Fu/usr/lib/fpc/2.6.0/units/i386-linux/fpmkunit -Fu/usr/lib/fpc/2.6.0/units/i386-linux/regexpr -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/i386-linux/gtk2 -Fl/usr/lib/gcc/i586-suse-linux/4.6 -Fl/usr/local/lib -Flinclude -Fl/etc/ld.so.conf.d/*.conf -O2 -g- -Xs @/mnt/dev/workspace/lazarus/linux/idemake.cfg -di386 lazarus.pp<br>
Free Pascal Compiler version 2.6.0 [2011/12/23] for i386<br>Copyright (c) 1993-2011 by Florian Klaempfl and others<br>Target OS: Linux for i386<br>Compiling lazarus.pp<br>Compiling resource ../units/i386-linux/gtk2/lazarus.or<br>
Linking ../lazarus<br>/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?<br>/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/httpd.o: In function `HTTPD_AP_ESCAPE_URI$PAPR_POOL_T$PCHAR$$PCHAR':<br>
httpd.pas:(.text+0x48): undefined reference to `ap_os_escape_path'<br>/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.o: In function `APR_APR_POOL_CREATE$PPAPR_POOL_T$PAPR_POOL_T$$LONGINT':<br>apr.pas:(.text+0xa): undefined reference to `apr_pool_create_ex'<br>
/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.o: In function `APR_APR_POOL_SUB_MAKE$PPAPR_POOL_T$PAPR_POOL_T$APR_ABORTFUNC_T$$LONGINT':<br>apr.pas:(.text+0x29): undefined reference to `apr_pool_create_ex'<br>lazarus.pp(133,1) Error: Error while linking<br>
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?<br>/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/httpd.o: In function `HTTPD_AP_ESCAPE_URI$PAPR_POOL_T$PCHAR$$PCHAR':<br>httpd.pas:(.text+0x48): undefined reference to `ap_os_escape_path'<br>
/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.o: In function `APR_APR_POOL_CREATE$PPAPR_POOL_T$PAPR_POOL_T$$LONGINT':<br>apr.pas:(.text+0xa): undefined reference to `apr_pool_create_ex'<br>/usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.o: In function `APR_APR_POOL_SUB_MAKE$PPAPR_POOL_T$PAPR_POOL_T$APR_ABORTFUNC_T$$LONGINT':<br>
apr.pas:(.text+0x29): undefined reference to `apr_pool_create_ex'<br>/mnt/dev/programs/lazarus/ide/lazarus.pp(133,1) Error: Error while linking<br>/mnt/dev/programs/lazarus/ide/lazarus.pp(133,1) Fatal: There were 1 errors compiling module, stopping<br>
--------------------------------------------------<br><br> </div></div><div dir="ltr">Zaher Dirkey</div><br>
</div>