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

Zaher Dirkey parmaja at gmail.com
Fri Jul 6 22:13:51 CEST 2012


Hi, Lazarus team

If added httpd unit to one of package units then install it, it make errors
when compiling Lazarus in linking.

I use linux OpenSuse 12.1, and same in ubuntu.
and last revision of Lazarus, FPC 2.6

In windows it works fine

Did i missed something?

Thanks in advance.

-----------------------------
/usr/bin/ld: warning: ../link.res contains output sections; did you forget
-T?
/mnt/dev/home/pascal/lib/freespider/lib/i386-linux/spidercgi.o: In function
`TSPIDERCGI__DESTROY':
/mnt/dev/home/pascal/lib/freespider/spidercgi.pas:176: undefined reference
to `ap_rputs'
/mnt/dev/home/pascal/lib/freespider/lib/i386-linux/spiderutils.o: In
function `TSPIDERRESPONSE__SENDREDIRECT':
/mnt/dev/home/pascal/lib/freespider/spiderutils.pas:270: undefined
reference to `ap_rputs'
/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
-----------------------------

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120706/b203557f/attachment-0002.html>


More information about the Lazarus mailing list