Erro no Blinker7 - BLINKER 1113: segment ???

Fórum sobre a linguagem CA-Clipper.

Moderador: Moderadores

Cezar
Usuário Nível 3
Usuário Nível 3
Mensagens: 189
Registrado em: 27 Mai 2006 14:03

Erro no Blinker7 - BLINKER 1113: segment ???

Mensagem por Cezar »

Bom dia,

O Blinker7e está apresentando o seguinte erro:

BLINKER : 1113 : Segment _DATA or its group exceeds 64KB


Exemplo do meu .LNK:

BLINKER INCREMENTAL OFF
BLINKER EXECUTABLE NODELETE
BLINKER EXECUTABLE EXTENDED
SEARCH C:\BLINK70\LIB\BLXCLP53
SEARCH C:\CLIPPER\LIB\DBFCDX
SEARCH C:\CLIPPER\LIB\_DBFCDX
SEARCH C:\CLIPPER\LIB\LLIBG
#SEARCH C:\PAPEL\CLASSY.LIB
#SEARCH C:\PAPEL\CSYINSP.LIB
SEARCH C:\PAPEL\LIB\VL2_52EX
NOBELL
OUTPUT \PAPEL\PAP70.EXE
#BEGINAREA

FILE \papel\obj\pap01
FILE \papel\obj\pap01e
FILE \papel\obj\pap01s
...........................
FILE \papel\obj\pap40
FILE \papel\obj\pap50
# FILE \papel\obj\pap60
FILE \papel\obj\pap65
# FILE \papel\obj\pap68
FILE \papel\obj\pap68a
# FILE \papel\obj\pap69
FILE \papel\obj\pap69a
FILE \papel\obj\pap80
FILE \papel\obj\pap930
FILE \papel\obj\browse
FILE \papel\obj\mpar
# FILE \papel\obj\wfullscr

#ENDAREA

Agradeço a ajuda.
v_cez@yahoo.com.br
Avatar do usuário
ANDRIL
Usuário Nível 5
Usuário Nível 5
Mensagens: 1297
Registrado em: 06 Jul 2004 00:44
Contato:

Re: Erro no Blinker7 - BLINKER 1113: segment ???

Mensagem por ANDRIL »

Esse erro pode ser ocasionado por N motivos, veja a posição que declarou as LIBS (altere a ordem), veja se em algum OBJ ta referenciando uma mesma que esta em outro OBJ.

Mais detalhes veja o Help do Blinker sobre este erro:
1113: segment <name> or its group exceeds 64kb

Explanation: This message indicates one of a number of situations:

1. Two related libraries may have been separated by other libraries in
the link script file, so that the code in one library cannot reach
the code in the other library. This may also occur when related .OBJ
files, possibly extracted from the same library, have been separated
by too many other .OBJ files in the script file.

2. Non-overlayable code may have been overlaid. When third-party
products are linked into the program, refer to the third-party
documentation for their suggested method for dynamic overlaying.

3. Two libraries may have declared the same segment names in different
classes. This should not occur in most programs.

4. Two or more libraries may have been specified in an incorrect order
within the link script.

5. The program's default data segment (usually named DGROUP in the
program's MAP file) may have exceeded 64K in size.

Action for Situation 5: If the default data segment exceeded 64K
when using CA-Clipper, determine which third-party product is using
the most of DGROUP by systematically removing each library and
running the program with the //INFO parameter of the CLIPPER
environment variable enabled. When the offending library is found,
contact Computer Associates technical support.

Note: For CA-Clipper applications, the usual cause of this problem
is that the first .OBJ file specified on the command line or in the
script file is not a CA-Clipper .OBJ file. When linking a CA-Clipper
application the first .OBJ file specified must be the CA-Clipper
starting program.

If these approaches do not work, and recreating or reinstalling the
specified file does not help, then contact Computer Associates technical
support.
Boa Sorte, Ate+
Clipper 5.2e / Blinker 5.1 / Harbour 3.2 / GTwvg
Cezar
Usuário Nível 3
Usuário Nível 3
Mensagens: 189
Registrado em: 27 Mai 2006 14:03

Re: Erro no Blinker7 - BLINKER 1113: segment ???

Mensagem por Cezar »

Boa noite,

Tinha 2 problemas:
1. Declarei variáveis PUBLICs no primeiro Prg e como uso a opção /a não as declarei como MEMVAR.

2. No Rmake esta usando a opção:

.prg.obj:
CLIPPER $*

Quando o correto:
CLIPPER $<


Grato pela ajuda.
Responder