[Samba] Error compiling Samba 3.0.4 pdb_ldap.c on Irix
Jason Mader
jason at ncac.gwu.edu
Sun May 16 18:01:53 GMT 2004
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
More information about the samba
mailing list