Mailing List Archive

Error building 0.95.3 on FreeBSD 7.2
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
Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
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 (jfinn@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: Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
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: Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
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 (jfinn@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: Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
2009/11/16 Török Edwin <edwintorok@gmail.com>:
> 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).

I've asked exactly this for the user, waiting his answer...

I'll let you know
--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
Re: Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
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 (jfinn@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: Error building 0.95.3 on FreeBSD 7.2 [ In reply to ]
2009/11/16 Török Edwin <edwintorok@gmail.com>:
> 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).

It was a local problem on user's machine, already fixed.

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