- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Gcc HP-UX compiler error. EXPERTS help!!!!
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-03-2000 01:51 AM
тАО08-03-2000 01:51 AM
Gcc HP-UX compiler error. EXPERTS help!!!!
I created a simple C program that outputs a line 'hello'. When compiling, gcc returned an error which is as follows:
"/var/tmp/ccXX62Cc.s", line 23:error 1052: Directive name not recognised - NSUBSPA
Need help urgently. Pls.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2000 02:19 AM
тАО08-03-2000 02:19 AM
Re: Gcc HP-UX compiler error. EXPERTS help!!!!
%gcc test.c
----------
#include
int main (void)
{
printf ("HELLO ITRCn");
}
Does it give the same error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2000 03:32 PM
тАО08-03-2000 03:32 PM
Re: Gcc HP-UX compiler error. EXPERTS help!!!!
#include
#include
int main(void)
{
printf("hello");
}
1) %gcc hello.c
/gcc/opt/gcc/bin (root) >#%gcc hello.c
sh: %gcc: not found.
2) gcc hello.c
/gcc/opt/gcc/bin (root) >#gcc hello.c
as: "/var/tmp/ccriEaQc.s", line 23: error 1052: Directive name not recognized -
NSUBSPA
(copied DIRECTLY from screen)
it's the same error. By the way, here's the PATH:
/ (root) >#echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:usr/bin/X11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/perf/bin:/opt/cobol/bin:/opt/ignite/bin:/op:/opt/CC/bin:/gcc/opt/gcc/bin:/sbin:/home/root
Pls help....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2000 12:04 AM
тАО08-04-2000 12:04 AM
Re: Gcc HP-UX compiler error. EXPERTS help!!!!
That error looks like the compiler is producing incorrect assembler code - which is probably either a bug or a mismatch between the compiler and assembler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2000 01:38 AM
тАО08-04-2000 01:38 AM