Hi there
Here is some update:
I had got one step closer to compile mod_layout for XAMPP by
1.Download development pkg, then
tar xvfz xampp-linux-devel-1.5.1.tar.gz -C /opt
2. Edit Makefile like this
- Code: Select all
top_srcdir=/opt/lampp
top_builddir=/opt/lampp
include /opt/lampp/build/special.mk
# the used tools
APXS=/opt/lampp/bin/apxs
APACHECTL=/opt/lampp/bin/apachectl
2. Then i try to make
But, the result come up with negative result
- Code: Select all
/opt/lampp/bin/apxs -c mod_layout.c
/opt/lampp/build/libtool --silent --mode=compile gcc -prefer-pic -O6 -I/opt/lampp/include -L/opt/lampp/lib -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/lampp/include -I/opt/lampp/include -I/opt/lampp/include -I/opt/lampp/include -c -o mod_layout.lo mod_layout.c && touch mod_layout.slo
mod_layout.c: In function 'layout_filter':
mod_layout.c:293: error: syntax error before '{' token
mod_layout.c: At top level:
mod_layout.c:322: error: syntax error before 'if'
mod_layout.c:325: error: syntax error before '->' token
mod_layout.c:334: warning: parameter names (without types) in function declaration
mod_layout.c:334: warning: data definition has no type or storage class
mod_layout.c:335: error: syntax error before 'return'
mod_layout.c:548: error: syntax error before 'layout_conf'
mod_layout.c:549: error: syntax error before 'layout_conf'
mod_layout.c:554: error: syntax error before 'layout_conf'
mod_layout.c:555: error: syntax error before 'layout_conf'
mod_layout.c:556: error: syntax error before 'layout_conf'
mod_layout.c:561: error: syntax error before 'layout_conf'
mod_layout.c:562: error: syntax error before 'layout_conf'
mod_layout.c:563: error: syntax error before 'layout_conf'
mod_layout.c:564: error: syntax error before 'layout_conf'
mod_layout.c:565: error: syntax error before 'layout_conf'
apxs:Error: Command failed with rc=65536
.
make: *** [mod_layout.o] Error 1
Anybody got any idea?