If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > C4gl Linking For Informix 5 On Sco Unix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-25-04, 09:49
neil_b neil_b is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
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 !!
Reply With Quote
  #2 (permalink)  
Old 02-25-04, 10:18
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: C4gl Linking For Informix 5 On Sco Unix

Quote:
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.
Reply With Quote
  #3 (permalink)  
Old 02-25-04, 10:30
neil_b neil_b is offline
Registered User
 
Join Date: Feb 2004
Posts: 2
Re: C4gl Linking For Informix 5 On Sco Unix

Quote:
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
Reply With Quote
  #4 (permalink)  
Old 02-27-04, 06:56
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: C4gl Linking For Informix 5 On Sco Unix

Quote:
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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