Advertisement
Guest User

Untitled

a guest
Aug 17th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. hm2_eth.h begins with
  2. #include <sys/socket.h>
  3. #include <netinet/in.h>
  4. #include <arpa/inet.h>
  5.  
  6. Starting with in.h, I seem to not have the right one:
  7. andypugh@dn2800:~/linuxcnc-dev/src$ sudo find / -name in.h
  8. /usr/src/linux-headers-3.2.0-51-generic/include/linux/in.h
  9. /usr/src/linux-headers-3.2.0-23-generic/include/linux/in.h
  10. /usr/src/linux-headers-3.2.0-51/include/linux/in.h
  11. /usr/src/linux-headers-3.2.0-23/include/linux/in.h
  12. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/linux/in.h
  13. /usr/include/netinet/in.h
  14. /usr/include/linux/in.h
  15. /usr/include/i386-linux-gnu/bits/in.h
  16.  
  17. And for inet.h
  18. andypugh@dn2800:~/linuxcnc-dev/src$ sudo find / -name inet.h
  19. /usr/src/linux-headers-3.2.0-51-generic/include/linux/inet.h
  20. /usr/src/linux-headers-3.2.0-51-generic/include/config/inet.h
  21. /usr/src/linux-headers-3.2.0-23-generic/include/linux/inet.h
  22. /usr/src/linux-headers-3.2.0-23-generic/include/config/inet.h
  23. /usr/src/linux-headers-3.2.0-51/include/linux/inet.h
  24. /usr/src/linux-headers-3.2.0-23/include/linux/inet.h
  25. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/linux/inet.h
  26. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/config/inet.h
  27. /usr/include/arpa/inet.h
  28.  
  29. And:
  30. sudo find / -name socket.h
  31. /usr/src/linux-headers-3.2.0-51-generic/include/linux/socket.h
  32. /usr/src/linux-headers-3.2.0-51-generic/include/config/netfilter/xt/match/socket.h
  33. /usr/src/linux-headers-3.2.0-23-generic/include/linux/socket.h
  34. /usr/src/linux-headers-3.2.0-23-generic/include/config/netfilter/xt/match/socket.h
  35. /usr/src/linux-headers-3.2.0-51/include/linux/socket.h
  36. /usr/src/linux-headers-3.2.0-51/include/asm-generic/socket.h
  37. /usr/src/linux-headers-3.2.0-51/arch/s390/include/asm/socket.h
  38. /usr/src/linux-headers-3.2.0-51/arch/powerpc/include/asm/socket.h
  39. /usr/src/linux-headers-3.2.0-51/arch/mips/include/asm/socket.h
  40. /usr/src/linux-headers-3.2.0-51/arch/ia64/include/asm/socket.h
  41. /usr/src/linux-headers-3.2.0-51/arch/frv/include/asm/socket.h
  42. /usr/src/linux-headers-3.2.0-51/arch/score/include/asm/socket.h
  43. /usr/src/linux-headers-3.2.0-51/arch/mn10300/include/asm/socket.h
  44. /usr/src/linux-headers-3.2.0-51/arch/m68k/include/asm/socket.h
  45. /usr/src/linux-headers-3.2.0-51/arch/microblaze/include/asm/socket.h
  46. /usr/src/linux-headers-3.2.0-51/arch/sh/include/asm/socket.h
  47. /usr/src/linux-headers-3.2.0-51/arch/cris/include/asm/socket.h
  48. /usr/src/linux-headers-3.2.0-51/arch/x86/include/asm/socket.h
  49. /usr/src/linux-headers-3.2.0-51/arch/h8300/include/asm/socket.h
  50. /usr/src/linux-headers-3.2.0-51/arch/parisc/include/asm/socket.h
  51. /usr/src/linux-headers-3.2.0-51/arch/alpha/include/asm/socket.h
  52. /usr/src/linux-headers-3.2.0-51/arch/sparc/include/asm/socket.h
  53. /usr/src/linux-headers-3.2.0-51/arch/m32r/include/asm/socket.h
  54. /usr/src/linux-headers-3.2.0-51/arch/arm/include/asm/socket.h
  55. /usr/src/linux-headers-3.2.0-51/arch/avr32/include/asm/socket.h
  56. /usr/src/linux-headers-3.2.0-51/arch/xtensa/include/asm/socket.h
  57. /usr/src/linux-headers-3.2.0-23/include/linux/socket.h
  58. /usr/src/linux-headers-3.2.0-23/include/asm-generic/socket.h
  59. /usr/src/linux-headers-3.2.0-23/arch/s390/include/asm/socket.h
  60. /usr/src/linux-headers-3.2.0-23/arch/powerpc/include/asm/socket.h
  61. /usr/src/linux-headers-3.2.0-23/arch/mips/include/asm/socket.h
  62. /usr/src/linux-headers-3.2.0-23/arch/ia64/include/asm/socket.h
  63. /usr/src/linux-headers-3.2.0-23/arch/frv/include/asm/socket.h
  64. /usr/src/linux-headers-3.2.0-23/arch/score/include/asm/socket.h
  65. /usr/src/linux-headers-3.2.0-23/arch/mn10300/include/asm/socket.h
  66. /usr/src/linux-headers-3.2.0-23/arch/m68k/include/asm/socket.h
  67. /usr/src/linux-headers-3.2.0-23/arch/microblaze/include/asm/socket.h
  68. /usr/src/linux-headers-3.2.0-23/arch/sh/include/asm/socket.h
  69. /usr/src/linux-headers-3.2.0-23/arch/cris/include/asm/socket.h
  70. /usr/src/linux-headers-3.2.0-23/arch/x86/include/asm/socket.h
  71. /usr/src/linux-headers-3.2.0-23/arch/h8300/include/asm/socket.h
  72. /usr/src/linux-headers-3.2.0-23/arch/parisc/include/asm/socket.h
  73. /usr/src/linux-headers-3.2.0-23/arch/alpha/include/asm/socket.h
  74. /usr/src/linux-headers-3.2.0-23/arch/sparc/include/asm/socket.h
  75. /usr/src/linux-headers-3.2.0-23/arch/m32r/include/asm/socket.h
  76. /usr/src/linux-headers-3.2.0-23/arch/arm/include/asm/socket.h
  77. /usr/src/linux-headers-3.2.0-23/arch/avr32/include/asm/socket.h
  78. /usr/src/linux-headers-3.2.0-23/arch/xtensa/include/asm/socket.h
  79. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/linux/socket.h
  80. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/config/netfilter/xt/match/socket.h
  81. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/asm-generic/socket.h
  82. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/include/xenomai/posix/sys/socket.h
  83. /usr/src/linux-headers-3.5.7-xenomai-2.6.2.1/arch/x86/include/asm/socket.h
  84. /usr/include/linux/socket.h
  85. /usr/include/i386-linux-gnu/bits/socket.h
  86. /usr/include/i386-linux-gnu/asm/socket.h
  87. /usr/include/i386-linux-gnu/sys/socket.h
  88. /usr/include/asm-generic/socket.h
  89. /usr/include/xenomai/posix/sys/socket.h
  90.  
  91. As the compiler is not finding any of them with <tags> then how do I decide which one I want?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement