Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    2

    Unanswered: C4gl Linking For Informix 5 On Sco Unix

    When trying to do the final link to build the 4ge:-
    [c4gl -n globals.o prog*.o -o prog.4ge]
    I receive an error "reloc entries out of order in section for prog.o"

    It seems that this is because the total size of the variables returned by functions has exceeded buffer limits.

    The way we solve the problem is to split the programme into two but this is time comsuming and not always possible.

    This only happens on SCO 5.0.x but not on other systems (eg IBM, NCR)

    Does anyone know a way to increase the buffer size ??

    Please do not suggest upgrading the Informix as this is not possible !!

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780

    Re: C4gl Linking For Informix 5 On Sco Unix

    Originally posted by neil_b
    When trying to do the final link to build the 4ge:-
    [c4gl -n globals.o prog*.o -o prog.4ge]
    I receive an error "reloc entries out of order in section for prog.o"

    It seems that this is because the total size of the variables returned by functions has exceeded buffer limits.

    The way we solve the problem is to split the programme into two but this is time comsuming and not always possible.

    This only happens on SCO 5.0.x but not on other systems (eg IBM, NCR)

    Does anyone know a way to increase the buffer size ??

    Please do not suggest upgrading the Informix as this is not possible !!
    Hi,

    Please test the following way:
    c4gl modul1.4gl
    c4gl modul2.4gl
    c4gl modul3.4gl
    Next cat modul1.4go modul2.4go modul3.4go > executmodule.4gi

    Warning: Variables occasionally defined in one module with data type, in other module be with other data type.

    For example
    In module 1
    DATABASE ....
    define var1 char(20)
    In module 2
    DATABASE ....
    define var1 date

    Gustavo.

  3. #3
    Join Date
    Feb 2004
    Posts
    2

    Re: C4gl Linking For Informix 5 On Sco Unix

    Originally posted by gurey
    Hi,

    Please test the following way:
    c4gl modul1.4gl
    c4gl modul2.4gl
    c4gl modul3.4gl
    Next cat modul1.4go modul2.4go modul3.4go > executmodule.4gi

    Warning: Variables occasionally defined in one module with data type, in other module be with other data type.

    For example
    In module 1
    DATABASE ....
    define var1 char(20)
    In module 2
    DATABASE ....
    define var1 date

    Gustavo.
    Hi

    Thanks for your reply.
    I need to work with 4ge and not 4go.

    By the way the full error message is:
    i386ld: Reloc entries out of order in section .data of file prog.o
    error: Process /usr/ccs/bin/ld core dumped with signal 11

  4. #4
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780

    Re: C4gl Linking For Informix 5 On Sco Unix

    Originally posted by neil_b
    Hi

    Thanks for your reply.
    I need to work with 4ge and not 4go.

    By the way the full error message is:
    i386ld: Reloc entries out of order in section .data of file prog.o
    error: Process /usr/ccs/bin/ld core dumped with signal 11
    Hi,

    Signal 11 this is error: /* No more processes */
    You need to elevate the NPROCS parameter of operating system.

    Gustavo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •