Can't compile mpack after upgrading to Tru64 5.1

From: Allen Belk <allen.belk_at_usm.edu>
Date: Thu, 29 Nov 2001 16:05:29 -0600

Admins,
        I have recently upgraded some of our servers from 4.0X to 5.1. Since
doing this, I have been unable to compile mpack, the mime encode/decode
mail utility. I get the following error during make.


cc: Error: getopt.c, line 65: In the definition of the function
"getopt", the promoted type of av is incompatible with the type of the
corresponding parameter in a prior declaration. (promotmatch)
    char *av[];
----------------^
cc: Error: getopt.c, line 66: In the definition of the function
"getopt", the promoted type of opts is incompatible with the type of the
corresponding parameter in a prior declaration. (promotmatch)
    char *opts;
----------------^
*** Exit 1
Stop.


I got the source from ftp.andrew.cmu.edu/pub/mpack. I know very little
about C but would really like to get this to compile. Anyone know of a
work around or another mime encode/decode utility that works on Tru64?

Many thanks,

Allen Belk
Received on Thu Nov 29 2001 - 22:06:10 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT