The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problems with scp in AIX-5.2 arnab AIX 1 04-26-2006 12:45 PM
DNS problems. Westy564 UNIX for Dummies Questions & Answers 5 02-17-2004 12:07 AM
CD-ROM Problems saucierm UNIX for Dummies Questions & Answers 5 10-23-2003 02:20 PM
Problems with ld.so.1 ciccio UNIX for Dummies Questions & Answers 3 08-02-2002 01:59 AM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 10:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-29-2008
jhall jhall is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 14
problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it.

Thanks in advance for your help!

# gcc -v
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.3/specs
Configured with: ../gcc-3.3/configure
Thread model: aix
gcc version 3.3

# cat test.c
#include <stdio.h>

main()
{

printf ("Hello World!\n");

}

# gcc test.c -o test
In file included from test.c:1:
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.3/include/stdio.h:57:23: standards.h: A file or directory in the path name does not exist.
  #2 (permalink)  
Old 10-29-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,262
Did you check if you have the mentioned header file? I checked it at our old 4.3.3 box:
Code:
/usr/include/standards.h
It belongs to following package:
Code:
root@sremhv02:/usr/include> lslpp -w /usr/include/standards.h
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/include/standards.h                    bos.adt.include       File
Maybe you are missing this.
  #3 (permalink)  
Old 10-29-2008
jhall jhall is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 14
problems with gcc on AIX 4.33

Thanks, zaxxon. I had already checked and I know that I am missing this header file. Your reply gives the fileset that this file is located in and that is the information that I needed.

Thanks!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0