Jeff Ball wrote:
The Cobalt RaQ2 has the following...
gcc-c++-2.7.2-c3r2
gcc-objc-2.7.2-c3r2
gcc-2.7.2-c3r2
glibc-2.0.7-29.4C2
and  0.80rc3 will not build.  again.

I'm wondering if I should work on making a new patch, wait >> just give up because I will never have a newer compiler, etc... and clamav will require them?
[....]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c scanners.c -Wp,-MD,.deps/scanners.TPlo -fPIC -DPIC -o .libs/scanners.lo
In file included from others.h:24,
from scanners.c:55:
cltypes.h:35: warning: redefinition of `int8_t'
/usr/include/sys/types.h:103: warning: `int8_t' previously declared here
cltypes.h:40: warning: redefinition of `int16_t'
/usr/include/sys/types.h:105: warning: `int16_t' previously declared here
cltypes.h:47: warning: redefinition of `int32_t'
/usr/include/sys/types.h:107: warning: `int32_t' previously declared here

Not a great problem (only warnings, and I guess they were properly defined. Something the configure script could be patched for.


I think it's an old glibc issue...



[....]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c chmunpack.c -Wp,-MD,.deps/chmunpack.TPlo -fPIC -DPIC -o .libs/chmunpack.lo
In file included from others.h:24,
from chmunpack.c:44:
cltypes.h:35: warning: redefinition of `int8_t'
/usr/include/sys/types.h:103: warning: `int8_t' previously declared here
cltypes.h:40: warning: redefinition of `int16_t'
/usr/include/sys/types.h:105: warning: `int16_t' previously declared here
cltypes.h:47: warning: redefinition of `int32_t'
/usr/include/sys/types.h:107: warning: `int32_t' previously declared here
chmunpack.c:72: parse error before `uint64_t'

Also something for the configure script. Could you please add the line

typedef unsigned long long unit64_t;

before the last #endif to libclamav/cltypes.h and report if that helps?

Yes it did help however it still didn't make it all the way...

mv -f .libs/htmlnorm.lo htmlnorm.lo
source='chmunpack.c' object='chmunpack.lo' libtool=yes \
depfile='.deps/chmunpack.Plo' tmpdepfile='.deps/chmunpack.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c -o chmunpack.lo chmunpack.c
rm -f .libs/chmunpack.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -g -O2 -c chmunpack.c -Wp,-MD,.deps/chmunpack.TPlo -fPIC -DPIC -o .libs/chmunpack.lo
In file included from others.h:24,
from chmunpack.c:44:
cltypes.h:35: warning: redefinition of `int8_t'
/usr/include/sys/types.h:103: warning: `int8_t' previously declared here
cltypes.h:40: warning: redefinition of `int16_t'
/usr/include/sys/types.h:105: warning: `int16_t' previously declared here
cltypes.h:47: warning: redefinition of `int32_t'
/usr/include/sys/types.h:107: warning: `int32_t' previously declared here
chmunpack.c:72: parse error before `uint64_t'
chmunpack.c:72: warning: no semicolon at end of struct or union
chmunpack.c:73: warning: `packed' attribute ignored
chmunpack.c:73: warning: data definition has no type or storage class
chmunpack.c:74: parse error before `dir_offset'
chmunpack.c:74: warning: `packed' attribute ignored
chmunpack.c:74: warning: data definition has no type or storage class
chmunpack.c:75: parse error before `dir_len'
chmunpack.c:75: warning: `packed' attribute ignored
chmunpack.c:75: warning: data definition has no type or storage class
chmunpack.c:76: parse error before `data_offset'
chmunpack.c:76: warning: `packed' attribute ignored
chmunpack.c:76: warning: data definition has no type or storage class
chmunpack.c:77: parse error before `}'
chmunpack.c:77: warning: data definition has no type or storage class
chmunpack.c:114: parse error before `uint64_t'
chmunpack.c:114: warning: no semicolon at end of struct or union
chmunpack.c:115: warning: data definition has no type or storage class
chmunpack.c:116: parse error before `length'
chmunpack.c:116: warning: data definition has no type or storage class
chmunpack.c:118: parse error before `}'
chmunpack.c:118: warning: data definition has no type or storage class
chmunpack.c:136: parse error before `uint64_t'
chmunpack.c:136: warning: no semicolon at end of struct or union
chmunpack.c:137: warning: `packed' attribute ignored
chmunpack.c:137: warning: data definition has no type or storage class
chmunpack.c:138: parse error before `frame_len'
chmunpack.c:138: warning: `packed' attribute ignored
chmunpack.c:138: warning: data definition has no type or storage class
chmunpack.c:139: warning: `packed' attribute ignored
chmunpack.c:140: parse error before `}'
chmunpack.c:140: warning: data definition has no type or storage class
chmunpack.c:143: parse error before `uint64_t'
chmunpack.c:143: warning: no semicolon at end of struct or union
chmunpack.c:144: warning: data definition has no type or storage class
chmunpack.c:145: warning: data definition has no type or storage class
chmunpack.c:205: parse error before `uint64_t'
chmunpack.c: In function `chm_copy_file_data':
chmunpack.c:208: `uint64_t' undeclared (first use this function)
chmunpack.c:208: (Each undeclared identifier is reported only once
chmunpack.c:208: for each function it appears in.)
chmunpack.c:208: parse error before `count'
chmunpack.c:211: `rem' undeclared (first use this function)
chmunpack.c:211: `len' undeclared (first use this function)
chmunpack.c:215: `count' undeclared (first use this function)
chmunpack.c:215: `ifd' undeclared (first use this function)
chmunpack.c:219: `ofd' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:227: parse error before `*'
chmunpack.c: In function `free_file_list':
chmunpack.c:229: invalid operands to binary *
chmunpack.c:231: `file_l' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:241: parse error before `*'
chmunpack.c: In function `itsf_print_header':
chmunpack.c:243: `itsf_hdr' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:262: parse error before `itsf_header_t'
chmunpack.c: In function `itsf_read_header':
chmunpack.c:265: `fd' undeclared (first use this function)
chmunpack.c:265: `itsf_hdr' undeclared (first use this function)
chmunpack.c:266: `m_area' undeclared (first use this function)
chmunpack.c:266: `m_length' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:431: parse error before `read_enc_int'
chmunpack.c: In function `read_enc_int':
chmunpack.c:433: `uint64_t' undeclared (first use this function)
chmunpack.c:433: parse error before `retval'
chmunpack.c:446: `retval' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:457: parse error before `file_list_t'
chmunpack.c: In function `read_chunk_entries':
chmunpack.c:460: `uint64_t' undeclared (first use this function)
chmunpack.c:460: parse error before `name_len'
chmunpack.c:461: `file_e' undeclared (first use this function)
chmunpack.c:463: `chunk' undeclared (first use this function)
chmunpack.c:463: `chunk_len' undeclared (first use this function)
chmunpack.c:466: `num_entries' undeclared (first use this function)
chmunpack.c:472: parse error before `)'
chmunpack.c:478: `name_len' undeclared (first use this function)
chmunpack.c:504: `sys_file_l' undeclared (first use this function)
chmunpack.c:507: `file_l' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:534: parse error before `file_list_t'
chmunpack.c: In function `read_chunk':
chmunpack.c:539: `chunk_len' undeclared (first use this function)
chmunpack.c:556: `fd' undeclared (first use this function)
chmunpack.c:557: `m_area' undeclared (first use this function)
chmunpack.c:557: `m_length' undeclared (first use this function)
chmunpack.c:606: `file_l' undeclared (first use this function)
chmunpack.c:606: `sys_file_l' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:635: parse error before `itsf_header_t'
chmunpack.c: In function `read_sys_control':
chmunpack.c:641: `file_e' undeclared (first use this function)
chmunpack.c:644: `itsf_hdr' undeclared (first use this function)
chmunpack.c:654: `fd' undeclared (first use this function)
chmunpack.c:655: `m_area' undeclared (first use this function)
chmunpack.c:655: `m_length' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:710: parse error before `*'
chmunpack.c: In function `print_sys_content':
chmunpack.c:712: `lzx_content' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:721: parse error before `*'
chmunpack.c:721: parse error before `itsf_header_t'
chmunpack.c: In function `read_sys_content':
chmunpack.c:723: `lzx_content' undeclared (first use this function)
chmunpack.c:725: parse error before `)'
chmunpack.c:729: `itsf_hdr' undeclared (first use this function)
chmunpack.c:729: `file_e' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:736: parse error before `*'
chmunpack.c: In function `print_sys_reset_table':
chmunpack.c:738: `lzx_reset_table' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:751: parse error before `*'
chmunpack.c:751: parse error before `itsf_header_t'
chmunpack.c: In function `read_sys_reset_table':
chmunpack.c:755: `lzx_reset_table' undeclared (first use this function)
chmunpack.c:757: `file_e' undeclared (first use this function)
chmunpack.c:761: `itsf_hdr' undeclared (first use this function)
chmunpack.c:767: parse error before `)'
chmunpack.c:776: `fd' undeclared (first use this function)
chmunpack.c:777: `m_area' undeclared (first use this function)
chmunpack.c:777: `m_length' undeclared (first use this function)
chmunpack.c: At top level:
chmunpack.c:841: parse error before `itsf_header_t'
chmunpack.c: In function `chm_decompress_stream':
chmunpack.c:845: `entry' undeclared (first use this function)
chmunpack.c:846: `lzx_content' undeclared (first use this function)
chmunpack.c:847: `lzx_reset_table' undeclared (first use this function)
chmunpack.c:848: parse error before `*'
chmunpack.c:850: `uint64_t' undeclared (first use this function)
chmunpack.c:855: `mf_in' undeclared (first use this function)
chmunpack.c:855: `fd' undeclared (first use this function)
chmunpack.c:866: `filename' undeclared (first use this function)
chmunpack.c:866: `dirname' undeclared (first use this function)
chmunpack.c:867: `mf_out' undeclared (first use this function)
chmunpack.c:884: `sys_file_l' undeclared (first use this function)
chmunpack.c:887: `lzx_control' undeclared (first use this function)
chmunpack.c:887: `itsf_hdr' undeclared (first use this function)
chmunpack.c:887: `m_area' undeclared (first use this function)
chmunpack.c:887: `m_length' undeclared (first use this function)
chmunpack.c:902: `window_bits' undeclared (first use this function)
chmunpack.c:936: `com_offset' undeclared (first use this function)
chmunpack.c:939: `stream' undeclared (first use this function)
chmunpack.c:951: `file_l' undeclared (first use this function)
chmunpack.c:965: `count' undeclared (first use this function)
chmunpack.c:978: `ofd' undeclared (first use this function)
chmunpack.c:992: `retval' undeclared (first use this function)
chmunpack.c: In function `chm_unpack':
chmunpack.c:1020: `file_l' undeclared (first use this function)
chmunpack.c:1020: `sys_file_l' undeclared (first use this function)
chmunpack.c:1021: parse error before `struct'
chmunpack.c:1022: `itsf_header_t' undeclared (first use this function)
chmunpack.c:1029: parse error before `)'
chmunpack.c:1035: parse error before `)'
chmunpack.c:1044: `statbuf' undeclared (first use this function)
chmunpack.c:1056: `itsf_hdr' undeclared (first use this function)
chmunpack.c:1061: `itsp_hdr' undeclared (first use this function)
chmunpack.c:1074: `num_chunks' undeclared (first use this function)
make[2]: *** [chmunpack.lo] Error 1
make[2]: Leaving directory `/home/redhat/BUILD/clamav-0.80rc3/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/redhat/BUILD/clamav-0.80rc3'
make: *** [all] Error 2


Zeffie...
734-454-9117
http://www.zeffie.com/
Home of the Worlds Largest Collection of RaQ rpms


_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to