Probleme beim kompilieren von mod_clamav
Halli Hallo,
ich bekomme mod_clamav (aus den sourcen 0.21) nicht übersetzt (debian
sarge), die Fehlermeldung nach dem make ist ellenlang(ein Auszug am
Ende der Mail), installiert ist Apache2, das devel Pack, sowie auch
apxs und lipapr0-dev, jeweils über apt-get, wenn ich Makefile.in
editiere und
mod_clamav_la_CPPFLAGS = -I`${APXS} -q INCLUDEDIR` durch
mod_clamav_la_CPPFLAGS = -I`${APXS} -q INCLUDEDIR` \
-I/usr/include/apr-0
ersetzte bekomme ich stattdessen den Fehler:
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [mod_clamav_la-mod_clamav.lo] Fehler 1
Aufruf configure script immer über:
./configure --with-apxs=/usr/bin/apxs
ich komme da einfach nicht weiter...danke für jeden Vorschlag dazu
Ausgabe nach Eingabe make:
if /bin/sh ./libtool --mode=compile `/usr/bin/apxs -q CC`
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"mod_clamav\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_MKSTEMP=1 -I. -I. -I`/usr/bin/apxs -q
INCLUDEDIR` `/usr/bin/apxs -q CFLAGS_SHLIB` -g -O2 -MT
mod_clamav_la-mod_clamav.lo -MD -MP -MF
".deps/mod_clamav_la-mod_clamav.Tpo" \
-c -o mod_clamav_la-mod_clamav.lo `test -f 'mod_clamav.c' || echo
'./'`mod_clamav.c; \
then mv -f ".deps/mod_clamav_la-mod_clamav.Tpo"
".deps/mod_clamav_la-mod_clamav.Plo"; \
else rm -f ".deps/mod_clamav_la-mod_clamav.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"mod_clamav\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_MKSTEMP=1 -I. -I. -I/usr/include/apache-1.3
-fPIC -DSHARED_MODULE -g -O2 -MT mod_clamav_la-mod_clamav.lo -MD -MP
-MF .deps/mod_clamav_la-mod_clamav.Tpo -c mod_clamav.c -fPIC -DPIC -o
.libs/mod_clamav_la-mod_clamav.o
mod_clamav.c:70: error: parse error before "clamav_module"
mod_clamav.c:70: warning: data definition has no type or storage class
mod_clamav.c:170: error: parse error before "apr_table_t"
mod_clamav.c:170: warning: no semicolon at end of struct or union
mod_clamav.c:171: warning: data definition has no type or storage
class
...
--
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!
Reply to: