samba-3.0.20pre1 on AIX with ibmcxx

Gerald (Jerry) Carter jerry at samba.org
Fri Jun 24 15:23:35 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

yaberger at ca.ibm.com wrote:
> Heya,
> 
> I've the following compile errors on AIX 4.3.3 with ibmcxx
> 
> "rpc_parse/parse_svcctl.c", line 112.9: 1506-046 (S) Syntax error.
> make: 1254-004 The error code from the last command is 1.
> 
> I've change the comment // for a /* bla bla bla */ and it was ok
> 
> 
> "client/smbspool.c", line 298.18: 1506-195 (S) Integral constant expression
> with a value greater than zero is required.
> make: 1254-004 The error code from the last command is 1.
> 
> since we have those lines in the top of the files
> 
> #define CC_MAX_FILE_LEN          24
> #define CC_MAX_FILE_PATH_LEN    strlen(TICKET_CC_DIR)+ CC_MAX_FILE_LEN+2
> 
> we should have a positive value added to 26... I don't 
> really understand this one. This has been introduce
> in revision 6684 of source/cliennt/smbspool.c

It's the use of strlen.  Swap that for sizeof(TICKET_CC_DIR)-1
Fixed in trunk and SAMBA_3_0.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCvCV3IR7qMdg1EfYRAoKcAKCXOsUhkgiThfAUTVLI7tNgbBpxmgCfefsY
iiH5B2B1jb31SMX09JJGqMY=
=gJSj
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list