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

Conference csc32::cobol2

Title:Micro Focus Cobol/2
Notice:See note 10 for instructions on BUG reports
Moderator:CSC32::E_VAETH
Created:Sat Jan 19 1991
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:577
Total number of notes:1843

574.0. "Can't link .... in non-shared link" by CAMINO::MCDERMOTT () Mon May 19 1997 13:20

    Hi,
    
    I'm on UNIX 4.0b with MFcobol 4.0a.  I'm getting the following
    error when building my image:
    
    cob -x -C IBMCOMP -o /oracle/std/twrk/std_proc_svr_mf_cobol 
    /oracle/std/twrk/std_proc_mf_cob_svr.o  /oracle/std/STDMFCOBOL.cob  -L/usr/lib/cmplrs/cob/coblib 
    /gnochi/twrk01/cd15/prod/lib/tps_set_einfo_mf.o 
    /gnochi/twrk01/cd15/prod/lib/tps_get_einfo_mf.o  /gnochi/twrk01/cd15/prod/shlib/libtps.so 
    /gnochi/twrk01/cd15/prod/shlib/libsrtl.so  /usr/shlib/libdce.so
    /usr/shlib/libpthreads.so /usr/shlib/libpthread.so  /usr/shlib/libmach.so /usr/shlib/libexc.so
    /usr/shlib/libc.so
    ld:
    Warning: Linking some objects which contain exception information
    sections and some which do not. This may cause fatal runtime exception
    handling problems (last obj encountered without exceptions was
    /usr/lib/cmplrs/cob/coblib/libcobstat.a).
    ld:
    Can't link shared object /gnochi/twrk01/cd15/prod/shlib/libtps.so in
    non-shared link
    
    
    
    How can I link sharables with cob?  
    
    thanks
    Greg
    
T.RTitleUserPersonal
Name
DateLines
574.1don't think you can do thatCSC32::E_VAETHSuffering from temporary brain cramp, stay tunedSat May 24 1997 17:134
    From what I can see you are mixing shared and non shared libraries.  As
    far as I know, you cannot do that.  With Micro Focus COBOL 4.0 running
    on Digital UNIX 4.0, you can do one or the other, but I don't see where
    you can combine them.
574.2use to work.....CAMINO::MCDERMOTTTue May 27 1997 10:356
    This does work with Unix 3.2g and MF Cobol V3.1.
    
    What do I need to do when linking with shared libraries on Unix 4.0?
    
    thanks
    Greg