Centos 5.10 kernel 2.6.18-371.11.1.el5 I used sh install_with_python.sh /usr/local/samba --enable-debug --enable-selftest I got ../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/samba/bin' Build failed: -> task failed (err #1): {task: cc socket_wrapper.c -> socket_wrapper_1.o} I'm stuck to the 5.X centos due to my CPU "Via C3 1Ghz" not supported by Centos 6.X and up "PAE support issues"
You opened this bug against 4.1.11 but it looks like you're trying to compile master. However this has been fixed in the socket_wrapper repo upstream and will be backported to Samba master with the next release. https://git.samba.org/?p=socket_wrapper.git;a=commitdiff;h=d9bae3a469d4803003711ae282a52d72905068e9
I see thanks. Didn't realize that. I have rebuild using 4.1.11 and am successful. I needed to educate myself on pulling the right source. Thank You.