socket_wrapper does not build on systems without SO_PROTOCOL, which was introduced with Linux 2.6.32. [2152/3962] Compiling lib/socket_wrapper/socket_wrapper.c ../lib/socket_wrapper/socket_wrapper.c: In function 'swrap_getsockopt': ../lib/socket_wrapper/socket_wrapper.c:3172: error: 'SO_PROTOCOL' undeclared (first use in this function) ../lib/socket_wrapper/socket_wrapper.c:3172: error: (Each undeclared identifier is reported only once ../lib/socket_wrapper/socket_wrapper.c:3172: error: for each function it appears in.) Waf: Leaving directory `/usr/src/packages/BUILD/samba-4.2.0rc1/bin' Build failed: -> task failed (err #1): {task: cc socket_wrapper.c -> socket_wrapper_1.o} make: *** [all] Error 1
Created attachment 10332 [details] proposed patch for 4.2, cherry-picked from master
Karolin, please add the patch to 4.2. Thanks!
Pushed to autobuild-v4-2-test.