On Mon, Jul 16, 2012 at 10:47 PM, Mattias Gaertner < [email protected]> wrote:
> On Mon, 16 Jul 2012 20:16:53 +0300 > Zaher Dirkey <[email protected]> wrote: > > > On Mon, Jul 9, 2012 at 9:26 PM, Michael Van Canneyt > > <[email protected]>wrote: > > > > > > > > > > > On Mon, 9 Jul 2012, Zaher Dirkey wrote: > > > > > > On Mon, Jul 9, 2012 at 10:52 AM, Michael Van Canneyt < > > >> [email protected]> wrote: > > >> > > >> > > >> On Sun, 8 Jul 2012, Zaher Dirkey wrote: > > >> > > >> That looks like you have an incompatible version of libapr installed. > > >> > > >> Michael. > > >> > > >> > > >> I upgraded it with Apache from Apache repo > > >> http://download.opensuse.org/**repositories/Apache/< > http://download.opensuse.org/repositories/Apache/> > > >> > > >> But same error, my friend have the same problem also in ubuntu. > > >> > > >> Is that possible httpd.pas not dynamic link to the library? > > >> > > > > > > It links statically. That is why the versions must match. > > > > > > > > > > > Hi again, > > > > But i can compile it (httpd.pas) in a project, why it is not compiled > > with Lazarus IDE? > > Compile the IDE with compiler flags -vut to see what httpd unit file is > used. > Is it the same as the project? > > Mattias > > > 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 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 /lib/crti.o... not found Searching file /lib/CRTI.O... not found Searching file /usr/lib/crti.o... found Searching file /lib/crtbegin.o... not found Searching file /lib/CRTBEGIN.O... not found Searching file /usr/lib/crtbegin.o... not found Searching file /usr/lib/CRTBEGIN.O... not found Searching file /usr/X11R6/lib/crtbegin.o... not found Searching file /usr/X11R6/lib/CRTBEGIN.O... not found Searching file /usr/lib/gcc/i586-suse-linux/4.6/crtbegin.o... found Searching file /lib/crtend.o... not found Searching file /lib/CRTEND.O... not found Searching file /usr/lib/crtend.o... not found Searching file /usr/lib/CRTEND.O... not found Searching file /usr/X11R6/lib/crtend.o... not found Searching file /usr/X11R6/lib/CRTEND.O... not found Searching file /usr/lib/gcc/i586-suse-linux/4.6/crtend.o... found Searching file /lib/crtn.o... not found Searching file /lib/CRTN.O... not found Searching file /usr/lib/crtn.o... found Searching file /usr/lib/fpc/2.6.0/bin/i386-linux/ld... not found Searching file /usr/lib/fpc/2.6.0/bin/i386-linux/LD... not found Searching file /usr/lib/fpc/2.6.0/ld... not found Searching file /usr/lib/fpc/2.6.0/LD... not found Searching file /home/zaher/bin/ld... not found Searching file /home/zaher/bin/LD... not found Searching file /usr/local/bin/ld... not found Searching file /usr/local/bin/LD... not 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
