- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help with chpasswd-cgi compilation
Operating System - HP-UX
1758672
Members
1856
Online
108874
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
Discussions
Discussions
Forums
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
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-21-2001 08:53 AM
тАО02-21-2001 08:53 AM
Help with chpasswd-cgi compilation
Microsoft. When do you want a virus today?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2001 11:23 AM
тАО02-21-2001 11:23 AM
Re: Help with chpasswd-cgi compilation
Looks like the code has been removed from the site you mentioned, but taking a guess I'd say there are probably some syntax errors in the code.
As for the gcc errors; did you grab and install the binutils package when you installed gcc? Is /opt/binutils/bin in your PATH when you try compiling using gcc?
As for the gcc errors; did you grab and install the binutils package when you installed gcc? Is /opt/binutils/bin in your PATH when you try compiling using gcc?
Remember, wherever you go, there you are...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2001 06:18 AM
тАО02-22-2001 06:18 AM
Re: Help with chpasswd-cgi compilation
I can definately say the problem is NOT syntax errors for ANSI/C. There were a lot of new style comments "//" which the ANSI/C bundle will not accept, so I removed, checked the source for syntax errors.
The exact header and .c files I copied to my Sun box running gcc, and it compiled fine. I guess it's a way that subfunctions are declared that ANSI/C does not like.
As for gcc, I downloaded the package from the Utah porting center. with ansi/c, I do not need binutils, as that includes a lesser version of cpp, yacc, lex, etc... than is shipped with HP-UX. I'll install it, and try again with gcc and see. To me it looks more like it is having difficulty with the assembler?
Thanks for suggestions though.
I put the source bundle on one of my public FTP servers.
ftp.invenioeng.com/pub/chpasswd-cgi.tar.gz
I really got it from "www.squid-cache.org" downloads section, and I'm not sure where their link is. the internal source gave the url mentioned b4. sorry bout that.
Regards,
Shannon
The exact header and .c files I copied to my Sun box running gcc, and it compiled fine. I guess it's a way that subfunctions are declared that ANSI/C does not like.
As for gcc, I downloaded the package from the Utah porting center. with ansi/c, I do not need binutils, as that includes a lesser version of cpp, yacc, lex, etc... than is shipped with HP-UX. I'll install it, and try again with gcc and see. To me it looks more like it is having difficulty with the assembler?
Thanks for suggestions though.
I put the source bundle on one of my public FTP servers.
ftp.invenioeng.com/pub/chpasswd-cgi.tar.gz
I really got it from "www.squid-cache.org" downloads section, and I'm not sure where their link is. the internal source gave the url mentioned b4. sorry bout that.
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2001 07:02 AM
тАО02-22-2001 07:02 AM
Re: Help with chpasswd-cgi compilation
Never mind for now, as I think my last comment fixes somewhat my problem. It is the assembler that is having problems, because gcc is looking for /opt/binutils/bin/as for the assembler. This may fix the assembeler problem with gcc as it is defaulting to /usr/ccs/bin/as as the assembler.
I still wonder why ansi/c has problems with the sub-functions though......
Shannon
PS. Is there a way to make the HP ANSI/C support new style c comments? "// comment"
I still wonder why ansi/c has problems with the sub-functions though......
Shannon
PS. Is there a way to make the HP ANSI/C support new style c comments? "// comment"
Microsoft. When do you want a virus today?
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP