[squid-users] Re: make problem in compiling squidguard

From: mmoriarty <mm7@dont-contact.us>
Date: Wed, 18 Sep 2002 14:59:24 +0100

> Hi there
> Im in the process of compiling squidguard 1.2.0 on tru64 5.0a. Ive
> squid stable installed. 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 I
> manually edited in.h and solved 1st prob. The main.c is still a prob
> though
> Many thanks
> Martin Moriarty
> Systems administrator
> UCC
>
Received on Wed Sep 18 2002 - 07:59:30 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:21 MST