- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Makefiles
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
12-10-2001 04:26 AM
12-10-2001 04:26 AM
Makefiles
Sample of my makefile.
aCC -v +Z -c +DAportable -DTRUE -DFALSE -DRW_NO_BOOL -DRW_MULTI_THREAD -D_REENTRANT -DRW_THR_OS_VERSION_HPUX=0x1020 -DRWSTD_MULTI_TH
READ -D_THREAD_SAFE -o TH1.o TH1.C -I. -I/kernel/kif -I/general/sms -I/opt/rw_990128/workspaces/HPUX1020/ACC115/12d -I/general/commo
n -I/general/clientserver -I/general/smci -I/iod/common/utils -I/iod/common/pda -I/iod/common/ncast -I/iod/common/services
aCC -v -o TH1 TH1.o -Wl,-a,shared -L. -L/opt/rw_990128/workspaces/HPUX1020/ACC115/12d/lib -ltls12d -lstd12d -L/general/smci -lsmci -
L/general/common -lcommon -L/general/clientserver -lclientserver -L/general/smci -lsmci -L/iod/common/utils -lutils -L/iod/common/pd
a -lpda -L/iod/common/ncast -L/iod/common/services -lservices1 -lncast
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 04:56 AM
12-10-2001 04:56 AM
Re: Makefiles
Please have a good read of the HPUX Linker and Libraries guide, its an excellent reference for information about creating & using shared libraries.
You can find it at:
http://docs.hp.com/hpux/onlinedocs/B2355-90654/B2355-90654.html
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 05:11 AM
12-10-2001 05:11 AM
Re: Makefiles
Try to use a debugger to backtrace the core and figure out where the problem lies.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 05:15 AM
12-10-2001 05:15 AM
Re: Makefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2001 05:44 AM
12-10-2001 05:44 AM
Re: Makefiles
Deepak and Santosh, as for your query why I think the problem is with makefile options is because, the program runs if I use static libraries instead of shared libraries!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2001 01:17 AM
12-11-2001 01:17 AM
Re: Makefiles
You may want to verify that the shared libraries in the runtime environment are identical to those in your compilation environment.
Do a 'chatr +s disable
