GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Error compiling 9.04 Pro*C programs in 10.20
Operating System - HP-UX
1850418
Members
2679
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
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
12-27-2001 05:34 PM
12-27-2001 05:34 PM
Error compiling 9.04 Pro*C programs in 10.20
I'm trying to re-compile some Pro*C programs written in HP-UX 9.04/Oracle 7.1.6 in HP-UX 10.20/Oracle 7.3.4 but is facing some errors as below:
(Bundled) cc: "TRFlib.c", line 435: error 1000: Unexpected symbol: "i".
(Bundled) cc: "TRFlib.c", line 2: error 1000: Unexpected symbol: "e".
(Bundled) cc: "TRFlib.c", line 2: error 1004: Unexpected end of line.
(Bundled) cc: "TRFlib.c", line 250: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 251: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 709: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 710: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1285: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1652: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1788: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 2214: error 1716: Automatic aggregate initialization is an ANSI feature.
*** Error exit code 1
Anyone can help??
(Bundled) cc: "TRFlib.c", line 435: error 1000: Unexpected symbol: "i".
(Bundled) cc: "TRFlib.c", line 2: error 1000: Unexpected symbol: "e".
(Bundled) cc: "TRFlib.c", line 2: error 1004: Unexpected end of line.
(Bundled) cc: "TRFlib.c", line 250: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 251: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 709: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 710: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1285: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1652: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 1788: error 1716: Automatic aggregate initialization is an ANSI feature.
(Bundled) cc: "TRFlib.c", line 2214: error 1716: Automatic aggregate initialization is an ANSI feature.
*** Error exit code 1
Anyone can help??
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 05:38 PM
12-27-2001 05:38 PM
Re: Error compiling 9.04 Pro*C programs in 10.20
Hi,
From the errors, it looks like your TRFlib.c requires the Ansi C compiler ie. HP C/ANSI C Developer's Bundle for HP-UX 10.20.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
From the errors, it looks like your TRFlib.c requires the Ansi C compiler ie. HP C/ANSI C Developer's Bundle for HP-UX 10.20.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2001 05:44 PM
12-27-2001 05:44 PM
Re: Error compiling 9.04 Pro*C programs in 10.20
Hi,
To check whether it has been installed in your system, you can either execute:
# swlist -l bundle |grep -i ansi
Or:
# ls -ld /opt/ansic
Note that if you wish to use the Ansi C compiler as your default compiler, you must soft-link your ansic compiler to cc ie. change the softlink from
/usr/bin/cc -> /usr/ccs/bin/cc
to
/usr/bin/cc -> /opt/ansic/bin/cc
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
To check whether it has been installed in your system, you can either execute:
# swlist -l bundle |grep -i ansi
Or:
# ls -ld /opt/ansic
Note that if you wish to use the Ansi C compiler as your default compiler, you must soft-link your ansic compiler to cc ie. change the softlink from
/usr/bin/cc -> /usr/ccs/bin/cc
to
/usr/bin/cc -> /opt/ansic/bin/cc
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP