[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cobol

Title:VAX/DEC COBOL
Notice:Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK
Moderator:PACKED::BRAFFITT
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3250
Total number of notes:13077

3190.0. "link error with ivp-DEC Cobol 2.3" by ICS::KUHN () Tue Jan 28 1997 16:20

    Having added dec cobol 2.3 to a unix system running 3.2c, I tried
    running ivp and got the following error:
     	"Object file format error in /usr/lib/cmplrs/cc/crt0.o 
    		unknown type of section
         failed while trying to link"
    
    Any help would be appreciated.
    	
    So, far I've compared this to another system and can't see any
    differences, any obvious differences.
    Have copied crt0.o from that other system.
    
    thanks,
    Len
T.RTitleUserPersonal
Name
DateLines
3190.1DIGITAL UNIX 3.2c versus 3.2dPACKED::BRAFFITTTue Jan 28 1997 16:3520
>    Having added dec cobol 2.3 to a unix system running 3.2c, I tried
>    running ivp and got the following error:
>     	"Object file format error in /usr/lib/cmplrs/cc/crt0.o 
>    		unknown type of section
>         failed while trying to link"
    
    DEC COBOL V2.4 is shipping now from the SSB.  We did test DEC COBOL
    V2.4 against a range of DIGITAL UNIX systems from 3.0 through 4.0
    including several variants of 3.2.  The DEC COBOL V2.3 testing was
    concentrated on DIGITAL UNIX 2.0 and 3.0 with more limited testing of
    3.x variants available at the time V2.3 shipped.
    
    The closest environment I could find to 3.2c where we are doing regular
    testing today (with our latest DEC COBOL 2.4 build) is with 3.2d where
    we have
    
/usr/lib/cmplrs/cc/crt0.o:
  $RCSfile: crt0.s,v $ $Revision: 1.1.24.3 $ (DEC) $Date: 1995/03/14 16:57:40 $
    
-r--r--r--   1 bin      bin         3264 Jul 24  1995 /usr/lib/cmplrs/cc/crt0.o
3190.2I'll take a look if you like...GEMGRP::MONTELEONETue Jan 28 1997 16:446

   If you provide me with a pointer to the .o file, I will investigate further.


   Bob (ex COBOL now UNIX object file guy...)
3190.3saw this onceBSS::E_VAETHTue Jan 28 1997 16:5412
    I saw this once.  The problem was the the customer had an old ld image
    in /usr/lib/cmplrs/cc
    
    > ls -l /usr/lib/cmplrs/cc/ld  -r-xr-xr-x   1 bin     
          bin       696320 Feb  3  1995  /usr/lib/cmplrs/cc/ld
    
    You might verify that the version of ld that you have is the right one
    for the version of Digital UNIX you are running.
    
    -elin
    
    
3190.4QUARRY::nethCraig NethTue Jan 28 1997 17:181
I agree with .3 - this sounds like an old linker on the system.  
3190.5thanks,it was the linker!ICS::KUHNWed Jan 29 1997 07:055
    Thanks,
    	It was a bad linker. I copied the linker from the other system,
    and it worked fine.
    
    Thanks again!