hi,

just starting to play with this ...

config as:

       ./configure \
       --prefix=/usr/local/clamav080rc \
       --mandir=/usr/local/man \
       --enable-shared \
       --enable-static \
       --with-user=clamav \
       --with-group=clamav \
       --with-tcpwrappers

fails @ make with:

       mbox.c: In function `checkURLs':
       mbox.c:2536: warning: assignment discards qualifiers from pointer target type
       mbox.c:2537: warning: assignment discards qualifiers from pointer target type
       mbox.c: At top level:
       mbox.c:2588: error: parse error before "static"
       mbox.c:2601: error: `arg' undeclared here (not in a function)
       mbox.c:2602: error: `arg' undeclared here (not in a function)
       mbox.c:2603: error: `arg' undeclared here (not in a function)
       mbox.c:2608: error: parse error before "if"
       mbox.c:2615: error: redefinition of `initialised'
       mbox.c:2596: error: `initialised' previously defined here
       mbox.c:2615: warning: data definition has no type or storage class
       mbox.c:2616: error: parse error before '}' token
       mbox.c:2622: error: conflicting types for `curl'
       mbox.c:2593: error: previous declaration of `curl'
       mbox.c:2622: warning: data definition has no type or storage class
       mbox.c:2623: error: parse error before "if"
       mbox.c:2631: warning: initialization makes integer from pointer without a cast
       mbox.c:2631: error: initializer element is not constant
       mbox.c:2631: warning: data definition has no type or storage class
       mbox.c:2633: error: parse error before "if"
       mbox.c:2638: error: parse error before string constant
       mbox.c:2638: warning: conflicting types for built-in function `sprintf'
       mbox.c:2638: warning: data definition has no type or storage class
       mbox.c:2640: error: conflicting types for `fp'
       mbox.c:2594: error: previous declaration of `fp'
       mbox.c:2640: warning: passing arg 1 of `fopen' makes pointer from integer 
without a cast
       mbox.c:2640: warning: data definition has no type or storage class
       mbox.c:2642: error: parse error before "if"
       mbox.c:2644: warning: parameter names (without types) in function declaration
       mbox.c:2644: error: conflicting types for `free'
       /usr/include/stdlib.h:136: error: previous declaration of `free'
       mbox.c:2644: warning: data definition has no type or storage class
       mbox.c:2645: warning: parameter names (without types) in function declaration
       mbox.c:2645: error: conflicting types for `curl_easy_cleanup'
       /usr/include/curl/easy.h:32: error: previous declaration of `curl_easy_cleanup'
       mbox.c:2645: warning: data definition has no type or storage class
       mbox.c:2646: error: parse error before "return"
       mbox.c:2650: warning: parameter names (without types) in function declaration
       mbox.c:2650: warning: data definition has no type or storage class
       mbox.c:2651: warning: parameter names (without types) in function declaration
       mbox.c:2651: warning: data definition has no type or storage class
       mbox.c:2652: error: parse error before "return"
       mbox.c:2659: error: conflicting types for `headers'
       mbox.c:2595: error: previous declaration of `headers'
       mbox.c:2659: warning: data definition has no type or storage class
       mbox.c:2660: warning: parameter names (without types) in function declaration
       mbox.c:2660: error: conflicting types for `curl_easy_setopt'
       /usr/include/curl/easy.h:30: error: previous declaration of `curl_easy_setopt'
       mbox.c:2660: warning: data definition has no type or storage class
       mbox.c:2663: error: parse error before numeric constant
       mbox.c:2663: warning: data definition has no type or storage class
       mbox.c:2664: error: parse error before numeric constant
       mbox.c:2664: warning: data definition has no type or storage class
       mbox.c:2683: warning: parameter names (without types) in function declaration
       mbox.c:2683: warning: data definition has no type or storage class
       mbox.c:2684: error: parse error before '}' token
       mbox.c:2686: warning: parameter names (without types) in function declaration
       mbox.c:2686: warning: data definition has no type or storage class
       mbox.c:2687: warning: parameter names (without types) in function declaration
       mbox.c:2687: error: conflicting types for `curl_slist_free_all'
       /usr/include/curl/curl.h:1058: error: previous declaration of 
`curl_slist_free_all'
       mbox.c:2687: warning: data definition has no type or storage class
       mbox.c:2688: warning: parameter names (without types) in function declaration
       mbox.c:2688: warning: data definition has no type or storage class
       mbox.c:2689: warning: parameter names (without types) in function declaration
       mbox.c:2689: warning: data definition has no type or storage class
       mbox.c:2691: error: parse error before "return"
       mbox.c:523: warning: `getURL' used but never defined
       make[2]: *** [mbox.lo] Error 1
       make[1]: *** [all-recursive] Error 1
       make: *** [all] Error 2

as it looks like its conflicting with my system curl, fwiw, i've a 'custom' curl @:

       % which curl
               /usr/bin/curl
       % curl -V
               curl 7.11.2 (powerpc-apple-darwin7.4.0) libcurl/7.11.2 OpenSSL/0.9.7d 
zlib/1.2.1
               Protocols: ftp dict ldap http file https ftps
               Features: SSL libz NTLM Largefile

since the build's prob'ly picking up --with-libcurl (auto), trying the same config 
above with the ADDITION of

       "--without-libcurl"

results in a DIFFERENT failed make @:

       then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; 
fi
       dns.c: In function `txtquery':
       dns.c:53: error: `C_IN' undeclared (first use in this function)
       dns.c:53: error: (Each undeclared identifier is reported only once
       dns.c:53: error: for each function it appears in.)
       dns.c:53: error: `T_TXT' undeclared (first use in this function)
       dns.c:58: error: `HEADER' undeclared (first use in this function)
       dns.c:73: error: `INT16SZ' undeclared (first use in this function)
       make[2]: *** [dns.o] Error 1
       make[1]: *** [all-recursive] Error 1
       make: *** [all] Error 2

i'm *guessing* this is prob'ly bind/libresolv related, but dunno yet ...

richard


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to