Heya All!
Long time no see. Anyway, I have situation and I need some help or more informations if any of you have some... here are steps:
1) create blank raudus application for apache 2.2 under Windows Lazarus
2) compile, it works ok
3) create blank raudus application for apache 2.2. under Linux Lazarus
4) can't compile, this is output from lazarus IDE:
Options changed, recompiling clean with -B
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.0 [2012/05/17] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling /tmp/project1.lpr
Compiling unit1.pas
unit1.pas(8,57) Hint: Unit "RaApplication" not used in Unit1
unit1.pas(8,65) Hint: Unit "RaBase" not used in Unit1
Error: Variables cannot be exported with a different name on this target, add the name to the declaration using the "export" directive (variable name: apache_module, declared export name: U_RAAPPLICATIONAPACHE22_APACHE_MODULE)
So i copy "U_RAAPPLICATIONAPACHE22_APACHE_MODULE" to exports apache_module name. And compile again. Now I have this:
unit1.pas(8,57) Hint: Unit "RaApplication" not used in Unit1
unit1.pas(8,65) Hint: Unit "RaBase" not used in Unit1
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lapr-1.dll
/usr/bin/ld: cannot find -lhttpd.dll
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Fatal: There were 1 errors compiling module, stopping
Here I am lost. Any clues?
Thanks in advance!