Please, if i compile ClamAV [Clamav-devel-latest - 17.04.2009] on Solaris 10 with following options it's appair the error dazukoio_compat12.c:122: error: syntax error before "void"
for any Help iam Happy, Thanks mc # gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) # as -v GNU assembler version 2.19 (i386-pc-solaris2.10) using BFD version (GNU Binutils) 2.19 # ld -v GNU ld (GNU Binutils) 2.19 # ./configure --prefix=/usr/mc --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --disable-clamav --disable-bzip2 --without-libncurses-prefix --with-gnu-ld && gmake [snip] gmake[2]: Entering directory `/usr/source/clamav-devel-latest/clamd' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../shared -I../libclamav -g -O2 -MT dazukoio_compat12.o -MD -MP -MF .deps/dazukoio_compat12.Tpo -c -o dazukoio_compat12.o dazukoio_compat12.c dazukoio_compat12.c: In function `dazukoRegister_TS_compat12': dazukoio_compat12.c:122: error: syntax error before "void" dazukoio_compat12.c: At top level: dazukoio_compat12.c:134: warning: parameter names (without types) in function declaration dazukoio_compat12.c:134: error: conflicting types for 'free' /usr/include/iso/stdlib_iso.h:125: error: previous declaration of 'free' was here dazukoio_compat12.c:134: error: conflicting types for 'free' /usr/include/iso/stdlib_iso.h:125: error: previous declaration of 'free' was here dazukoio_compat12.c:134: warning: data definition has no type or storage class dazukoio_compat12.c:136: error: syntax error before "return" dazukoio_compat12.c: In function `dazukoSetAccessMask_TS_compat12': dazukoio_compat12.c:160: error: syntax error before "void" dazukoio_compat12.c: In function `dazuko_set_path_compat12': dazukoio_compat12.c:193: error: syntax error before "void" dazukoio_compat12.c: In function `dazukoRemoveAllPaths_TS_compat12': dazukoio_compat12.c:231: error: syntax error before "void" dazukoio_compat12.c: In function `dazukoGetAccess_TS_compat12': dazukoio_compat12.c:298: error: syntax error before "struct" dazukoio_compat12.c: In function `dazukoReturnAccess_TS_compat12': dazukoio_compat12.c:356: error: syntax error before "struct" -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
