Re: Script Result incomplete

From: Adalto S. Correia Filho <adalto@dont-contact.us>
Date: Mon, 24 Jan 2000 08:27:11 -0300 (GRNLNDST)

Hi Mr. Nordstrom,
+
+ Try disabling all optimizations in the compiler
+ env CFLAGS="-g" ./configure ...

        When I do that the compilation fails at this point:
In file included from dnsserver.c:129:
/usr/include/sys/select.h:47: warning: empty declaration
In file included from dnsserver.c:136:
/usr/include/resolv.h:105: `MAXDNAME' undeclared here (not in a function)
make[1]: *** [dnsserver.o] Error 1
make[1]: Leaving directory `/usr/local/squid-2.3.STABLE1/src'
make: *** [install] Error 1

        What could I do to solve that?

+
+ > The compilation in AIX shows some warnings but goes to the end.
+
+ What kind of warnings?
+
        At each compilation point where select.h is used:
 
/usr/include/sys/select.h:47: warning: empty declaration

        At each compilation point where init.h is used:

/usr/include/arpa/inet.h:152: warning: `struct ether_addr' declared inside
parameter list
/usr/include/arpa/inet.h:152: warning: its scope is only this definition
or declaration, which is probably not what you want.
/usr/include/arpa/inet.h:153: warning: `struct ether_addr' declared inside
parameter list
/usr/include/arpa/inet.h:154: warning: `struct ether_addr' declared inside
parameter list
/usr/include/arpa/inet.h:159: warning: `struct sockaddr_dl' declared
inside parameter list
/usr/include/arpa/inet.h:160: warning: `struct sockaddr_dl' declared
inside parameter list
/usr/include/arpa/inet.h:161: warning: `struct sockaddr_dl' declared
inside parameter list

+ You could try. Especially so if you have upgraded or in some cases
+ patched AIX since the GCC compiler was built. But it could also be a
+ problem with AIX and not the compiler.
+
        I've already tried compiling the newest version of GCC. Same
warnings. I've already looked IBM for newest version of bos.adt (select.h
and init.h package)... it's the one I'm using.

        Any thoughts will be welcome.

Regards,

Adalto S. Correia Filho
Administrador de Redes do POP-CE

Administrador de Sistemas e Redes
adalto@pop-ce.rnp.br
Ponto de Presença da Rede Nacional de Pesquisa no Ceará
http://www.pop-ce.rnp.br info@pop-ce.rnp.br
Received on Mon Jan 24 2000 - 03:43:12 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:39 MST