This would imply to me that sys/socket.h is not detected correctly during configure, is that the case? Can you provide the output of running configure?
Last edit: Stephen Sinclair 2014-02-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems your buildlog indicates that sys/socket.h is correctly detected, so I don't understand why HAVE_SYS_SOCKET_H would not be defined. Can you include your config.log file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I got a FreeBSD VM running in Qemu and reproduced the problem. I was able to fix it with only the first additional #include you propose, netinet/in.h. Adding sys/socket.h was not necessary. I'll be happy to add this line after some testing.
Unfortunately, testlo failed for me, however.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, your patch adds the line,
However, earlier in the same file there is the block,
This would imply to me that sys/socket.h is not detected correctly during configure, is that the case? Can you provide the output of running configure?
Last edit: Stephen Sinclair 2014-02-04
I have now removed patch-src-lo_types_internal.h and tried again to build and get failures for lo_types_internal.h
It seems your buildlog indicates that sys/socket.h is correctly detected, so I don't understand why HAVE_SYS_SOCKET_H would not be defined. Can you include your config.log file?
Here is config.log without my patch.
Hello, I got a FreeBSD VM running in Qemu and reproduced the problem. I was able to fix it with only the first additional #include you propose, netinet/in.h. Adding sys/socket.h was not necessary. I'll be happy to add this line after some testing.
Unfortunately, testlo failed for me, however.
Here build good LibLO with only added
+#include <netinet in.h="">
Thanks for testing :D
Last edit: nemysis 2014-02-04