[Clamav-devel] Error building 0.95.3 on FreeBSD 7.2

2009-11-16 Thread Renato Botelho
A user reported me he is having problems building 0.95.3 under
FreeBSD 7.2, here is the error:

libtool: link: ranlib .libs/libclamunrar_iface.a
libtool: link: ( cd .libs  rm -f libclamunrar_iface.la  ln -s
../libclamunrar_iface.la libclamunrar_iface.la )
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
-I..  -I.. -I./nsis -I./lzma  -I../libltdl -DWARN_DLOPEN_FAIL
-I/usr/local/include -DSEARCH_LIBDIR=\/usr/local/lib\ -O2
-fno-strict-aliasing
+-pipe -c -o libclamav_la-version.lo `test -f 'version.c' || echo './'`version.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
-I../libltdl -DWARN_DLOPEN_FAIL -I/usr/local/include
-DSEARCH_LIBDIR=\/usr/local/lib\ -O2 -fno-strict-aliasing -pipe -c
version.c  -fPIC
+-DPIC -o .libs/libclamav_la-version.o
+In file included from version.c:5:
version.h:1:22: warning: missing terminating  character
+version.h:2:9: warning: missing terminating  character
In file included from version.c:5:
version.h:2: error: missing terminating  character
version.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'const'
version.c:14: error: missing terminating  character
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
1 error
*** Error code 2
*** Error code 1

Stop in /disk1/usr/ports/security/clamav.
*** Error code 1

Stop in /disk1/usr/ports/security/clamav.

Do you have idea?

-- 
Renato Botelho
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


Re: [Clamav-devel] Error building 0.95.3 on FreeBSD 7.2

2009-11-16 Thread Török Edwin
On 2009-11-16 13:54, Renato Botelho wrote:
 A user reported me he is having problems building 0.95.3 under
 FreeBSD 7.2, here is the error:

 libtool: link: ranlib .libs/libclamunrar_iface.a
 libtool: link: ( cd .libs  rm -f libclamunrar_iface.la  ln -s
 ../libclamunrar_iface.la libclamunrar_iface.la )
 /bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
 -I..  -I.. -I./nsis -I./lzma  -I../libltdl -DWARN_DLOPEN_FAIL
 -I/usr/local/include -DSEARCH_LIBDIR=\/usr/local/lib\ -O2
 -fno-strict-aliasing
 +-pipe -c -o libclamav_la-version.lo `test -f 'version.c' || echo 
 './'`version.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma
 -I../libltdl -DWARN_DLOPEN_FAIL -I/usr/local/include
 -DSEARCH_LIBDIR=\/usr/local/lib\ -O2 -fno-strict-aliasing -pipe -c
 version.c  -fPIC
 +-DPIC -o .libs/libclamav_la-version.o
 +In file included from version.c:5:
 version.h:1:22: warning: missing terminating  character
 +version.h:2:9: warning: missing terminating  character
 In file included from version.c:5:
 version.h:2: error: missing terminating  character
 version.c:12: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before 'const'
 version.c:14: error: missing terminating  character
 *** Error code 1
 1 error
 *** Error code 1
 1 error
 *** Error code 2
 1 error
 *** Error code 1
 1 error
 *** Error code 2
 *** Error code 1

 Stop in /disk1/usr/ports/security/clamav.
 *** Error code 1

 Stop in /disk1/usr/ports/security/clamav.

 Do you have idea?
   

What is the contents of version.h? Its supposed to be empty for a
release, or to contain a define of the version for a devel version
(autogenerated by make).

Best regards,
--Edwin
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


Re: [Clamav-devel] Error building 0.95.3 on FreeBSD 7.2

2009-11-16 Thread pwalsh

Hello,

I will be out of the office until Monday, November 30th.  If you need help 
sooner than that, please direct your query to Jeff Finn (jf...@esoft.com) and 
he will see that the proper person gets the email and answers your question.

Thanks,

-- 
Patrick Walsh
eSoft Incorporated
303.444.1600 x3350
http://www.esoft.com/

___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


Re: [Clamav-devel] Error building 0.95.3 on FreeBSD 7.2

2009-11-16 Thread pwalsh

Hello,

I will be out of the office until Monday, November 30th.  If you need help 
sooner than that, please direct your query to Jeff Finn (jf...@esoft.com) and 
he will see that the proper person gets the email and answers your question.

Thanks,

-- 
Patrick Walsh
eSoft Incorporated
303.444.1600 x3350
http://www.esoft.com/

___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net