If we try to use nptl on some systems(RHEL4x), some case can not
be compiled. Please refer to the following log.

  [root@RHEL4U8GA-Intel64 timers]# export LIBRARY_PATH=/usr/lib64/nptl
  [root@RHEL4U8GA-Intel64 timers]# make
  conformance/behavior/timers/2-1 compile FAILED; SKIPPING
  conformance/behavior/timers/1-1 compile FAILED; SKIPPING

Signed-off-by: Bian Naimeng <[email protected]>

---
 .../conformance/behavior/timers/LDLIBS             |    2 +-
 .../conformance/definitions/mqueue_h/LDLIBS        |    2 +-
 .../conformance/interfaces/lio_listio/LDLIBS       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS 
b/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS
index 08f7cd6..5df3bd2 100644
--- a/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS
+++ b/testcases/open_posix_testsuite/conformance/behavior/timers/LDLIBS
@@ -1 +1 @@
--lrt
+-lrt -lpthread
diff --git 
a/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS 
b/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
index 08f7cd6..5df3bd2 100644
--- a/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
+++ b/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/LDLIBS
@@ -1 +1 @@
--lrt
+-lrt -lpthread
diff --git 
a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS 
b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
index 08f7cd6..5df3bd2 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
+++ b/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/LDLIBS
@@ -1 +1 @@
--lrt
+-lrt -lpthread
-- 
1.6.4.1



------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to