ERROR MESSAGE WHILE TRYING TO USE RANLIB COMMAND...NEED HELP INTERPRETING IT...

ITEM: RTA000038149



                                                                                
                                                                                
                                                                                
QUESTION:                                                                       
My customer is trying to compile some software he's had running on              
both Sun and DEC Unix boxes on an RS/6000 running AIX 3.2.5.  He's              
trying to use the "ranlib" command on one of his archived files that            
he brought over.  He receives the following error after issuing the             
command                                                                         
# ranlib libtext.a                                                              
# ar: 0707-108 File libtext.a is not an archive file                            
                                                                                
Does he need to use ranlib?  What does this error message mean?                 
                                                                               
---------- ---------- ---------- --------- ---------- ----------                
A: On AIX, the ranlib command is simply maintained for compatibility            
  purposes.  It is never used when developing an application for                
  AIX.  It is simply a shell script that calls the 'ar' command.                
  If your customer is using ranlib because it was required on another           
  platform, he does not need to on the RISC System/6000.                        
                                                                                
  The error message he received is produced when the 'ar' command, which        
  is called by our version of ranlib, is given an archive format that           
  is not in AIX format.  Since archive files contain libraries of object        
  code, one created on a Sun or DEC cannot be used directly on a RISC           
  System/6000.  Your customer will need to port over his source code,           
  compile to recreate the libraries, then put them in an archive if             
  needed.                                                                      
                                                                                
  You will find more details on the 'ar' command, you may wish to               
  reference the InfoExplorer Commands list.                                     
                                                                                
---------- ---------- ---------- --------- ---------- ----------                
                                                                                
                                                                                
This item was created from library item Q651513      CPGFP                      
                                                                                
Additional search words:                                                        
COMMAND...NE CPGFP ERR ERROR FEB94 GUIDE HELP INTERPRET INTERPRETING            
IX LPPS MESSAGE MSG OZNEW OZNOTPID RANLIB RISCO RISCSYSTEM SOFTWARE             
SUPT TRYING                                                                     
                                                                               


WWQA: ITEM: RTA000038149 ITEM: RTA000038149
Dated: 01/1995 Category: RISCO
This HTML file was generated 99/06/24~12:43:15
Comments or suggestions? Contact us