I encounter the following errors when compiling on Irix 6.5.23f with MIPSpro 7.4.2m compilers. The configure syntax I used was:
env CC=cc CFLAGS="-O" ./configure --with-quotas --with-acl-support --with-libiconv=/opt


Compiling passdb/pdb_ldap.c
cc-1059 cc: ERROR File = passdb/pdb_ldap.c, Line = 1046
  A function call is not allowed in a constant expression.

                        LOGIN_CACHE cache_entry ={time(NULL),
                                                  ^

cc-1059 cc: ERROR File = passdb/pdb_ldap.c, Line = 1047
  A function call is not allowed in a constant expression.

pdb_get_acct_ctrl(sampass),
^


cc-1028 cc: ERROR File = passdb/pdb_ldap.c, Line = 1047
  The expression used must have a constant value.

pdb_get_acct_ctrl(sampass),
^


cc-1028 cc: ERROR File = passdb/pdb_ldap.c, Line = 1048
  The expression used must have a constant value.

                                                  badcount, badtime};
                                                  ^

cc-1028 cc: ERROR File = passdb/pdb_ldap.c, Line = 1048
  The expression used must have a constant value.

                                                  badcount, badtime};
                                                            ^

5 errors detected in the compilation of "passdb/pdb_ldap.c".
*** Error code 2 (bu21)

---Jason Mader, FHWA/NHTSA National Crash Analysis Center,
The George Washington University, VA Campus

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to