From clamav-devel-bounces@lists.clamav.net  Fri Apr 17 15:38:39 2009
Return-Path: <clamav-devel-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id aN1ZUgLcPJLD; Fri, 17 Apr 2009 15:38:39 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id CC6FA16C128;
	Fri, 17 Apr 2009 15:38:37 +0200 (CEST)
X-Original-To: clamav-devel@tad.clamav.net
Delivered-To: clamav-devel@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Er1ZQbdNnCkn for <clamav-devel@tad.clamav.net>;
	Fri, 17 Apr 2009 15:38:35 +0200 (CEST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20])
	by tad.clamav.net (Postfix) with SMTP id 9235516C125
	for <clamav-devel@lists.clamav.net>;
	Fri, 17 Apr 2009 15:38:35 +0200 (CEST)
Received: (qmail 7976 invoked by uid 0); 17 Apr 2009 13:38:35 -0000
Received: from 212.59.156.135 by www002.gmx.net with HTTP;
	Fri, 17 Apr 2009 15:38:33 +0200 (CEST)
Date: Fri, 17 Apr 2009 15:38:33 +0200
From: "Caloro Maurizio" <mauric@gmx.ch>
In-Reply-To: <mailman.0.1239975381.3814.clamav-devel@lists.clamav.net>
Message-ID: <20090417133833.136210@gmx.net>
MIME-Version: 1.0
References: <mailman.0.1239975381.3814.clamav-devel@lists.clamav.net>
To: clamav-devel@lists.clamav.net
X-Authenticated: #19648660
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1+JeG0szICJxIZdNT8xoIl3v3tMjL1WtAZ+mNpbvz
	WRkROhq+60KDuQdbdqt1q4eVDsOk3zK1ct0g== 
X-GMX-UID: a/zdIV5fZDIrEPrjUWc2zRt5emhmY0Gj
X-FuHaFi: 0.52
Subject: [Clamav-devel] Compiling error with "dazukoio_compat12.c"
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV Development <clamav-devel@lists.clamav.net>
List-Id: ClamAV Development <clamav-devel.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-devel@lists.clamav.net>
List-Help: <mailto:clamav-devel-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: clamav-devel-bounces@lists.clamav.net
Errors-To: clamav-devel-bounces@lists.clamav.net

Please, if i compile ClamAV [Clamav-devel-latest - 17.04.2009]
on Solaris 10 with following options it's appair the error dazukoio_compat1=
2.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 --p=
refix=3D/usr/sfw --with-as=3D/usr/sfw/bin/gas --with-gnu-as --with-ld=3D/us=
r/ccs/bin/ld --without-gnu-ld --enable-languages=3Dc,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 Bin=
utils) 2.19
# ld -v
GNU ld (GNU Binutils) 2.19

# ./configure --prefix=3D/usr/mc --build=3Di686-pc-linux-gnu --target=3Di68=
6-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 functi=
on declaration
dazukoio_compat12.c:134: error: conflicting types for 'free'
/usr/include/iso/stdlib_iso.h:125: error: previous declaration of 'free' wa=
s here
dazukoio_compat12.c:134: error: conflicting types for 'free'
/usr/include/iso/stdlib_iso.h:125: error: previous declaration of 'free' wa=
s here
dazukoio_compat12.c:134: warning: data definition has no type or storage cl=
ass
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=F6rt? 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

