At 6:21 PM -0600 12/3/07, Vic Summerour wrote:

Currently with Tru64 V5.1A with PK6, I have successfully compiled and run 4.1a4 with the following compiler:

  alpha> cc -V
  Compaq C V6.4-014 on Compaq Tru64 UNIX V5.1A (Rev. 1885)
  Compiler Driver V6.4-215 (sys) cc Driver


Unfortunately, 4.1a5 will not successfully compile based on the same configure. It stop with the error:

  cc -c -I.. -I.. -I. \
                  -I../mmangle -I../common  \
                  -g -DHAVE_CONFIG_H  -DOSF1 -DUNIX main.c -o main.o
cc: Error: main.c, line 150: Missing type specifier or type qualifier. (missingtype)
          socklen_t ai_addrlen;
  --------^
  make[1]: *** [main.o] Error 1
  make[1]: Leaving directory `/dsk1/vic/qpopper/qpopper4.1a5/popper'
  make: *** [popper_server] Error 2

This appears to be associated with 4.1a4 to 4.1a5 enhancements associated with ipv6 support. Since Tru 5.1A supports ipv6 even though it is not being used, I tried to configure with:

  ./configure --enable-specialauth --without-pam --enable-ipv6

but that made no difference. By defining INET6 in config.h, 4.1a5 will successfully compile and run.

Do you know in which header file this is normally defined? If it is a missing .h on Tru64, fixing ./configure to add it or add it in the right place might be the proper solution.

For Tru64 5.1A PK6, I could not find INET6 defined in any header file in any of the obvious include directories. I also looked briefly through the Network Programmer's Guide for mention of it without success.

My apologies, my question was incorrect.

So, a default ./configure does not add "define INET6 1" to config.h? But if you manually add this, it compiles?

The ./configure script should set this based on checking for v6 version of getaddrinfo(). Do you see any messages related to this in the output of ./configure?
--
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
wabi (wah-BI; Japanese; noun): a flawed detail that creates an
elegant whole.

Reply via email to