[LU-4307] GSS/Kerberos compile errors missing pointers and unused variable Created: 25/Nov/13  Updated: 03/Jun/14  Resolved: 13/Dec/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.0
Fix Version/s: Lustre 2.6.0

Type: Bug Priority: Minor
Reporter: Thomas Stibor Assignee: Nathaniel Clark
Resolution: Fixed Votes: 0
Labels: gssapi, kerberos, patch
Environment:

Debian Wheezy, Kernel 3.6.11


Severity: 3
Rank (Obsolete): 11798

 Description   

Missing void* pointers causes

context_lucid.c: In function ‘derive_key_lucid’:
context_lucid.c:280:9: error: taking address of expression of type ‘void’ [-Werror]
context_lucid.c:286:9: error: taking address of expression of type ‘void’ [-Werror]
context_lucid.c:292:9: error: taking address of expression of type ‘void’ [-Werror]

and unused variable causes

lgss_keyring.c: In function ‘do_nego_rpc’:
lgss_keyring.c:125:44: error: variable ‘res’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[5]: *** [lgss_keyring-lgss_keyring.o] Error 1

I will provide a patch to fix this.



 Comments   
Comment by Peter Jones [ 26/Nov/13 ]

http://review.whamcloud.com/#/c/8393/

Comment by Peter Jones [ 27/Nov/13 ]

Nathaniel

Could you please take care of this patch?

Thanks

Peter

Comment by James A Simmons [ 04/Dec/13 ]

My work for LU-3319 exposed some bugs in the GSS layer the breaks building lustre. I created a patch to address this at

http://review.whamcloud.com/#/c/8481

Unknown symbols still exist for cache_[un]register_net since in older kernels it is not exported.

Comment by Nathaniel Clark [ 13/Dec/13 ]

Both patches landed to master

Generated at Sat Feb 10 01:41:32 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.