Posted to tcl by bschwarz at Fri Nov 04 18:03:54 GMT 2011view raw

  1. nsthreadtest.c: At top level:
  2. nsthreadtest.c:51:20: warning: âRCSIDâ defined but not used [-Wunused-variable]
  3. /usr/local/aolserver/bin/tclsh8.6 /home/bschwarz/aolserver/util/nsremove.tcl nsthreadtest
  4. gcc -o nsthreadtest nsthreadtest.o \
  5. -L. -lnsthread -L/usr/local/aolserver/lib -ltcl8.6 -ldl -lpthread -lieee -lm -lgcc_s -Wl,--export-dynamic -Wl,-rpath,/usr/local/aolserver/lib
  6. nsthreadtest.o: In function `Pthread':
  7. nsthreadtest.c:(.text+0xc): undefined reference to `Ns_ThreadSetName'
  8. nsthreadtest.c:(.text+0x2f): undefined reference to `Ns_TlsSet'
  9. nsthreadtest.c:(.text+0x3b): undefined reference to `Ns_MutexLock'
  10. nsthreadtest.c:(.text+0x5f): undefined reference to `Ns_CondWait'
  11. nsthreadtest.c:(.text+0x75): undefined reference to `Ns_MutexUnlock'
  12. nsthreadtest.c:(.text+0x7f): undefined reference to `Ns_MasterLock'
  13. nsthreadtest.c:(.text+0x8e): undefined reference to `Ns_MasterUnlock'
  14. nsthreadtest.c:(.text+0xa3): undefined reference to `Ns_TlsAlloc'
  15. nsthreadtest.o: In function `MemThread':
  16. nsthreadtest.c:(.text+0xf1): undefined reference to `Ns_ThreadSetName'
  17. nsthreadtest.c:(.text+0xfd): undefined reference to `Ns_MutexLock'
  18. nsthreadtest.c:(.text+0x110): undefined reference to `Ns_CondBroadcast'
  19. nsthreadtest.c:(.text+0x12f): undefined reference to `Ns_CondWait'
  20. nsthreadtest.c:(.text+0x14a): undefined reference to `Ns_MutexUnlock'
  21. nsthreadtest.c:(.text+0x161): undefined reference to `ns_free'
  22. nsthreadtest.c:(.text+0x16b): undefined reference to `ns_malloc'
  23. nsthreadtest.o: In function `Msg':
  24. nsthreadtest.c:(.text+0x210): undefined reference to `ns_ctime'
  25. nsthreadtest.c:(.text+0x25a): undefined reference to `Ns_MutexLock'
  26. nsthreadtest.c:(.text+0x25f): undefined reference to `Ns_ThreadGetName'
  27. nsthreadtest.c:(.text+0x2a8): undefined reference to `Ns_MutexUnlock'
  28. nsthreadtest.o: In function `WorkThread':
  29. nsthreadtest.c:(.text+0x33e): undefined reference to `Ns_ThreadSetName'
  30. nsthreadtest.c:(.text+0x353): undefined reference to `Ns_RWLockRdLock'
  31. nsthreadtest.c:(.text+0x377): undefined reference to `Ns_CsEnter'
  32. nsthreadtest.c:(.text+0x391): undefined reference to `Ns_CsEnter'
  33. nsthreadtest.c:(.text+0x3ab): undefined reference to `Ns_CsLeave'
  34. nsthreadtest.c:(.text+0x3b7): undefined reference to `Ns_CsLeave'
  35. nsthreadtest.c:(.text+0x3c1): undefined reference to `Ns_ThreadSelf'
  36. nsthreadtest.c:(.text+0x3cd): undefined reference to `Ns_TlsGet'
  37. nsthreadtest.c:(.text+0x3dc): undefined reference to `Ns_SemaWait'
  38. nsthreadtest.c:(.text+0x421): undefined reference to `Ns_RWLockUnlock'
  39. nsthreadtest.c:(.text+0x445): undefined reference to `Ns_ThreadExit'
  40. nsthreadtest.c:(.text+0x471): undefined reference to `Ns_RWLockWrLock'
  41. nsthreadtest.c:(.text+0x4d1): undefined reference to `Ns_GetTime'
  42. nsthreadtest.c:(.text+0x4f7): undefined reference to `Ns_IncrTime'
  43. nsthreadtest.c:(.text+0x51a): undefined reference to `Ns_MutexLock'
  44. nsthreadtest.c:(.text+0x52a): undefined reference to `ns_ctime'
  45. nsthreadtest.c:(.text+0x551): undefined reference to `Ns_CondTimedWait'
  46. nsthreadtest.c:(.text+0x560): undefined reference to `Ns_MutexUnlock'
  47. nsthreadtest.c:(.text+0x570): undefined reference to `ns_ctime'
  48. nsthreadtest.c:(.text+0x596): undefined reference to `ns_malloc'
  49. nsthreadtest.c:(.text+0x5a8): undefined reference to `Ns_TlsSet'
  50. nsthreadtest.o: In function `RecursiveStackCheck':
  51. nsthreadtest.c:(.text+0x5f6): undefined reference to `Ns_CheckStack'
  52. nsthreadtest.o: In function `CheckStackThread':
  53. nsthreadtest.c:(.text+0x61c): undefined reference to `Ns_ThreadSetName'
  54. nsthreadtest.o: In function `MemTime':
  55. nsthreadtest.c:(.text+0x65a): undefined reference to `ns_malloc'
  56. nsthreadtest.c:(.text+0x669): undefined reference to `Ns_MutexLock'
  57. nsthreadtest.c:(.text+0x689): undefined reference to `Ns_MutexUnlock'
  58. nsthreadtest.c:(.text+0x6cd): undefined reference to `Ns_GetTime'
  59. nsthreadtest.c:(.text+0x708): undefined reference to `Ns_ThreadCreate'
  60. nsthreadtest.c:(.text+0x71d): undefined reference to `Ns_MutexLock'
  61. nsthreadtest.c:(.text+0x73f): undefined reference to `Ns_CondWait'
  62. nsthreadtest.c:(.text+0x77e): undefined reference to `Ns_CondBroadcast'
  63. nsthreadtest.c:(.text+0x78a): undefined reference to `Ns_MutexUnlock'
  64. nsthreadtest.c:(.text+0x7a9): undefined reference to `Ns_ThreadJoin'
  65. nsthreadtest.c:(.text+0x7bf): undefined reference to `Ns_GetTime'
  66. nsthreadtest.c:(.text+0x7d1): undefined reference to `Ns_DiffTime'
  67. nsthreadtest.o: In function `DumperThread':
  68. nsthreadtest.c:(.text+0x8ac): undefined reference to `Ns_ThreadSetName'
  69. nsthreadtest.c:(.text+0x8b8): undefined reference to `Ns_MutexLock'
  70. nsthreadtest.c:(.text+0x8c4): undefined reference to `Ns_MutexLock'
  71. nsthreadtest.c:(.text+0x8e4): undefined reference to `Ns_GetTime'
  72. nsthreadtest.c:(.text+0x8f3): undefined reference to `Ns_IncrTime'
  73. nsthreadtest.c:(.text+0x909): undefined reference to `Ns_CondTimedWait'
  74. nsthreadtest.c:(.text+0x915): undefined reference to `Ns_MutexLock'
  75. nsthreadtest.c:(.text+0x921): undefined reference to `Ns_ThreadList'
  76. nsthreadtest.c:(.text+0x935): undefined reference to `Ns_MutexList'
  77. nsthreadtest.c:(.text+0x95f): undefined reference to `Ns_MutexUnlock'
  78. nsthreadtest.c:(.text+0x97b): undefined reference to `Ns_MutexUnlock'
  79. nsthreadtest.c:(.text+0x987): undefined reference to `Ns_MutexUnlock'
  80. nsthreadtest.o: In function `TlsLogArg':
  81. nsthreadtest.c:(.text+0x5d9): undefined reference to `ns_free'
  82. nsthreadtest.o: In function `CheckStackThread':
  83. nsthreadtest.c:(.text+0x62f): undefined reference to `Ns_ThreadExit'
  84. nsthreadtest.o: In function `main':
  85. nsthreadtest.c:(.text.startup+0xf): undefined reference to `NsThreads_LibInit'
  86. nsthreadtest.c:(.text.startup+0x1b): undefined reference to `Ns_ThreadSetName'
  87. nsthreadtest.c:(.text.startup+0x8e): undefined reference to `Ns_ThreadCreate'
  88. nsthreadtest.c:(.text.startup+0xa6): undefined reference to `Ns_ThreadCreate'
  89. nsthreadtest.c:(.text.startup+0xb9): undefined reference to `Ns_MutexSetName'
  90. nsthreadtest.c:(.text.startup+0xcc): undefined reference to `Ns_MutexSetName'
  91. nsthreadtest.c:(.text.startup+0xdf): undefined reference to `Ns_MutexSetName'
  92. nsthreadtest.c:(.text.startup+0xf2): undefined reference to `Ns_MutexSetName'
  93. nsthreadtest.c:(.text.startup+0xfc): undefined reference to `Ns_ThreadStackSize'
  94. nsthreadtest.c:(.text.startup+0x10d): undefined reference to `Ns_SemaInit'
  95. nsthreadtest.c:(.text.startup+0x14f): undefined reference to `Ns_TlsAlloc'
  96. nsthreadtest.c:(.text.startup+0x17d): undefined reference to `Ns_ThreadCreate'
  97. nsthreadtest.c:(.text.startup+0x1a0): undefined reference to `Ns_SemaPost'
  98. nsthreadtest.c:(.text.startup+0x1ba): undefined reference to `Ns_RWLockWrLock'
  99. nsthreadtest.c:(.text.startup+0x1de): undefined reference to `Ns_RWLockUnlock'
  100. nsthreadtest.c:(.text.startup+0x20d): undefined reference to `Ns_ThreadJoin'
  101. nsthreadtest.c:(.text.startup+0x26d): undefined reference to `Ns_ThreadYield'
  102. nsthreadtest.c:(.text.startup+0x281): undefined reference to `Ns_MutexLock'
  103. nsthreadtest.c:(.text.startup+0x297): undefined reference to `Ns_MutexUnlock'
  104. nsthreadtest.c:(.text.startup+0x2a3): undefined reference to `Ns_CondBroadcast'
  105. nsthreadtest.c:(.text.startup+0x2f8): undefined reference to `Ns_ThreadSelf'
  106. nsthreadtest.c:(.text.startup+0x304): undefined reference to `Ns_MutexLock'
  107. nsthreadtest.c:(.text.startup+0x31a): undefined reference to `Ns_CondSignal'
  108. nsthreadtest.c:(.text.startup+0x326): undefined reference to `Ns_MutexUnlock'
  109. nsthreadtest.c:(.text.startup+0x335): undefined reference to `Ns_ThreadJoin'
  110. nsthreadtest.c:(.text.startup+0x36c): undefined reference to `Ns_ThreadCreate'
  111. nsthreadtest.c:(.text.startup+0x38d): undefined reference to `Ns_ThreadJoin'
  112. collect2: ld returned 1 exit status
  113. make[1]: *** [nsthreadtest] Error 1
  114. make[1]: Leaving directory `/home/bschwarz/aolserver/nsthread'
  115. make: *** [build] Error 1
  116. bschwarz@mythbox:~/aolserver$
  117.