- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error 1705: Function prototypes are an ANSI featur...
Operating System - HP-UX
1748165
Members
3738
Online
108758
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
Go to solution
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
тАО09-15-2003 10:43 AM
тАО09-15-2003 10:43 AM
Following is the Sco Unix version of the command used to create the MicroFocus runtime that is required for the gui version of a software package we are currently running text-based:
cob -xve "" *.c -o my_rts
We need to find out how to do the equivalent operation on your HP system.
When attempting to run it on HP-UX 11.0 we get the following output:
magnal:L1000>:cob -xve "" sockets.c -o my_rts
cob -C nolist -xve sockets.c -o my_rts
(Bundled) cc: "sockets.c", line 55: error 1705: Function prototypes are an
ANSI
feature.
Anyone have any ideas? Thanks.
Richard
cob -xve "" *.c -o my_rts
We need to find out how to do the equivalent operation on your HP system.
When attempting to run it on HP-UX 11.0 we get the following output:
magnal:L1000>:cob -xve "" sockets.c -o my_rts
cob -C nolist -xve sockets.c -o my_rts
(Bundled) cc: "sockets.c", line 55: error 1705: Function prototypes are an
ANSI
feature.
Anyone have any ideas? Thanks.
Richard
rdarling@southwickclothing.com
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 10:54 AM
тАО09-15-2003 10:54 AM
Solution
The correct answer to your question isd to purchase ANSI/C or aCC because the bundled c compiler only speaks K&R C and does not understand ANSI C function prototypes. The bundled compiler is really only intended to build kernels.
You could use the free Gnu C compiler available from any of the HP-UX Porting Centre's.
Plan C. Change all the ANSI declarations to K&R:
e.g ANSI
int myfunct(int a, char *b; double c; char d[], float *e)
{
....
....
}
becomes in K&R
int myfunct(a,b,c,d,e)
int a;
char *b,d[];
double c;
float *e;
{
....
....
}
You could use the free Gnu C compiler available from any of the HP-UX Porting Centre's.
Plan C. Change all the ANSI declarations to K&R:
e.g ANSI
int myfunct(int a, char *b; double c; char d[], float *e)
{
....
....
}
becomes in K&R
int myfunct(a,b,c,d,e)
int a;
char *b,d[];
double c;
float *e;
{
....
....
}
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:34 AM
тАО09-15-2003 11:34 AM
Re: error 1705: Function prototypes are an ANSI feature
Hi Clay,
Our software developer said that it makes sense, and he is going with Plan C:
Change all the ANSI declarations to K&R.
Thanks for the quick response.
Richard
Our software developer said that it makes sense, and he is going with Plan C:
Change all the ANSI declarations to K&R.
Thanks for the quick response.
Richard
rdarling@southwickclothing.com
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