Hi there
Im in the process of compiling squidguard 1.2.0 on tru64 5.0a. I 
installed db3.3.11 ( after previously installing 2.7.7 and not getting 
past the configure stage ). I was able to run ./configure on squidguard 
without errors, when I ran the make, I got the following:
cc: Error: /usr/include/netinet/in6.h, line 61: Missing type specifier 
or type q
ualifier. (missingtype)
        uint64_t sa6_qaddr[2];
--------^
cc: Error: /usr/include/netinet/in6.h, line 172: Missing type specifier 
or type
qualifier. (missingtype)
    uint32_t        sin6_flowinfo;      /* IPv6 flow information */
----^
cc: Error: /usr/include/netinet/in6.h, line 174: Missing type specifier 
or type
qualifier. (missingtype)
    uint32_t        sin6_scope_id;      /* set of interfaces for a scope */
----^
cc: Error: sg.h, line 54: Invalid declarator. (declarator)
int tolower();
----^
cc: Error: main.c, line 78: Invalid declarator. (declarator)
     char *envp[];
-----^
cc: Error: main.c, line 94: In this statement, "argv" has a signed int 
type, but
 occurs in a context that requires a pointer. (needpointer)
  progname = argv[0];
-------------^
cc: Warning: main.c, line 96: In this statement, "argv" of type "int", 
is being
converted to "pointer to const pointer to char". (cvtdiftypes)
  while ((ch = getopt(argc, argv, "hduC:t:c:v")) != EOF)
----------------------------^
cc: Warning: main.c, line 132: In this statement, "argv" of type "int", 
is being
 converted to "pointer to pointer to char". (cvtdiftypes)
  globalArgv = argv;
--^
cc: Error: main.c, line 133: In this statement, "envp" is not declared. 
(undecla
red)
  globalEnvp = envp;
 and the script exited from there. Looked like a syntactical prob with 
main.c. Does anyone know how to solve, as Im keen to implement asap
Many thanks
Martin Moriarty
Systems administrator
UCC

Reply via email to