HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DCE pthreads to POSIX pthreads port
Operating System - HP-UX
1833758
Members
2904
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 01:58 PM
02-27-2002 01:58 PM
DCE pthreads to POSIX pthreads port
I'm having difficulty with this port. The code changes were fairly straight forward but the programs are acting up. I always run into a problem with the first pthread_* call. In one case it is a pthread_once that never executes the initialization function. In another it is a bus error (core dump) as soon as I run the pthread_attr_init function. Does anyone have any suggestions on what to consider (includes, paths, libraries...)?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:08 PM
02-27-2002 02:08 PM
Re: DCE pthreads to POSIX pthreads port
Hello,
what HP-UX release do you use?
What are your linker- and compiler-flags (LDFLAGS and CFLAGS in your Makefile)?
Do you work in a DCE-cell or without DCE?
Without these piecs of information I am not really able to help much :-(
There is a readme about this in the release notes of DCE1.7, IIRC...
Regards,
Wodisch
what HP-UX release do you use?
What are your linker- and compiler-flags (LDFLAGS and CFLAGS in your Makefile)?
Do you work in a DCE-cell or without DCE?
Without these piecs of information I am not really able to help much :-(
There is a readme about this in the release notes of DCE1.7, IIRC...
Regards,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 02:19 PM
02-27-2002 02:19 PM
Re: DCE pthreads to POSIX pthreads port
HPUX 11, yes we are using a DCE cell
Here is a typical compile:
/usr/bin/cc -I../util -I/usr/include -I/usr/include/dce -I/usr/include/reentrant -Aa -D_POSIX_SOURCE -D_HPUX_SOURCE -D_REENTRANT -D_POSIX_D10_THREADS +z
-v -g -c signal.c
Here is a build for a shared library:
ld +h libwgutil.sl -b -E -L/usr/local/lib -L. -L/wgtest/ctp/lib -L/wgtest/phoenix/sys/shared/lib -L/orahome/app/oracle/product/8.1.7/lib -L/usr/local/li
b -ldcekt -lpthread -o libwgutil.sl attribute.o buffer.o condition.o config.o dispatcher.o environment.o llist.o reference.o signal.o
Here is a typical compile:
/usr/bin/cc -I../util -I/usr/include -I/usr/include/dce -I/usr/include/reentrant -Aa -D_POSIX_SOURCE -D_HPUX_SOURCE -D_REENTRANT -D_POSIX_D10_THREADS +z
-v -g -c signal.c
Here is a build for a shared library:
ld +h libwgutil.sl -b -E -L/usr/local/lib -L. -L/wgtest/ctp/lib -L/wgtest/phoenix/sys/shared/lib -L/orahome/app/oracle/product/8.1.7/lib -L/usr/local/li
b -ldcekt -lpthread -o libwgutil.sl attribute.o buffer.o condition.o config.o dispatcher.o environment.o llist.o reference.o signal.o
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP