- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: C program to compile on HP-UX
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
06-02-2003 01:05 PM
06-02-2003 01:05 PM
C program to compile on HP-UX
Please kindly help me to compile the attached programs for a HP-UX mbnair B.10.20
The programs are simple socket related programs
Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 03:58 AM
06-03-2003 03:58 AM
Re: C program to compile on HP-UX
You can use the c compiler to compile the program. But, I think, you have to uncomment the "include"s in u r file.
For compiling any C Program, use
%cc
%cc sms.c
The executable is a.out in that directory where you have compiled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 04:25 AM
06-03-2003 04:25 AM
Re: C program to compile on HP-UX
kind regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 04:30 AM
06-03-2003 04:30 AM
Re: C program to compile on HP-UX
If it is very urgent I can not do it now. But, I will try to do that at the earliest and send it.
Regards
VJ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 04:31 AM
06-03-2003 04:31 AM
Re: C program to compile on HP-UX
I don't know if it works, but you can compile attached files with 'make sms smsreplyd'
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 04:32 AM
06-03-2003 04:32 AM
Re: C program to compile on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2003 04:51 AM
06-03-2003 04:51 AM
Re: C program to compile on HP-UX
I just tested Jean-Louis's files they compile fine on a K360 under 10.20 with mentions about maybe not being able to run on PA1.1...
You will have to remove the initial blanks in Jean-Louis's code in order to have no errors
Do exactly what he said:
# make sms smsreplyd
`sms' is up to date.
cc -O smsreplyd.c -o smsreplyd
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (smsreplyd.o) was detected. The linked output may not
run on a PA 1.x system.
deimos #
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:23 PM
06-04-2003 09:23 PM
Re: C program to compile on HP-UX
In your code "//" are used for comments. But, you have to use "/* comment*/" for comments. And some more usage problems... Please find the corrected code. I could compile the files with cc
Regards
VJ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2003 09:26 PM
06-04-2003 09:26 PM