[Lazarus] Package: Adding httpd.pas link error in linux

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 17 15:02:38 CEST 2012


Zaher Dirkey <parmaja at gmail.com> hat am 17. Juli 2012 um 11:07 geschrieben:


>  [...]
>  This the results when compiling both Lazarus IDE and simple project
> 
>  -----------------------------------------
>  PPU Loading /home/zaher/Desktop/httpd/lib/i386-linux/myhttpd.ppu
>  PPU Loading /home/zaher/Desktop/httpd/lib/i386-linux/test_httpd.ppu
> 


What is myhttpd and test_httpd?

Mattias


>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/httpd.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/aprutil.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/si_c21.ppu
>  Searching file /usr/lib/crti.o... found
>  Searching file /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o... found
>  Searching file /usr/lib/gcc/i586-suse-linux/4.6/crtend.o... found
>  Searching file /usr/lib/crtn.o... found
>  Searching file /usr/bin/ld... found
>  Using util /usr/bin/ld
>  /usr/bin/ld: warning: ../link.res contains output sections; did you forget
> -T?
>  /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/httpd.o: In function
> `HTTPD_AP_ESCAPE_URI$PAPR_POOL_T$PCHAR$$PCHAR':
>  httpd.pas:(.text+0x48): undefined reference to `ap_os_escape_path'
>  /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':
>  apr.pas:(.text+0xa): undefined reference to `apr_pool_create_ex'
>  /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':
>  apr.pas:(.text+0x29): undefined reference to `apr_pool_create_ex'
>  /mnt/dev/programs/lazarus/ide/lazarus.pp(133,1) Error: Error while linking
>  /mnt/dev/programs/lazarus/ide/lazarus.pp(133,1) Fatal: There were 1 errors
> compiling module, stopping
>  -----------------------------------------
> 
>  the simple project uses httpd
> 
>  ----------------------------------------
>  Options changed, recompiling clean with -B
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/system.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/lineinfo.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/exeinfo.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/strings.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/fpintres.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/objpas.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/sysutils.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/unix.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/baseunix.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/unixtype.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/unixutil.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/syscall.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/errors.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/sysconst.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/httpd.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/apr.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/ctypes.ppu
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/httpd22/aprutil.ppu
>  mod_hello.lpr(45,3) Note: Local variable "Line" not used
>  mod_hello.lpr(46,3) Note: Local variable "Head" not used
>  mod_hello.lpr(47,3) Note: Local variable "Access" not used
>  mod_hello.lpr(141,25) Hint: Parameter "p" not used
>  PPU Loading /usr/lib/fpc/2.6.0/units/i386-linux/rtl/si_dll.ppu
>  Project "project1" successfully built
>  ----------------------------------------
> 
>  Zaher Dirkey
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120717/31f73b74/attachment-0003.html>


More information about the Lazarus mailing list