Page 1 of 1

Error al enlazar con blinker

Posted: Fri Feb 27, 2009 7:04 pm
by miarcod
Hola:

De repente, al agregar un nuevo prg al programa me aparece el siguiente error:

BLINKER 1141 new .EXE needs larger file alignment value

y no me enlaza el programa

Ya he revisado el foro pero las soluciones que hay no me funcionan
Este es el lnk

Code: Select all

MAP
BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL OFF

BLINKER EXECUTABLE ALIGNMENT 128

OUTPUT WINGEST.EXE
BEGINAREA
 ....
ENDAREA

SEARCH....
LIB...
@fivewin.lnk
 
Y ESTE ES EL FIVEWIN.LNK

Code: Select all

// BLINKER INCREMENTAL OFF

BLINKER LINK VERSION 3.3

BLINKER EXECUTABLE ALIGNMENT 128
PACKCODE
PACKDATA

// If you use Mr. Debug for Windows product
// search c:\mrdebug\lib\mrd4win.lib

DEFBEGIN
   name        FiveWin
   description 'Clipper for Windows library'
   exetype     Windows 3.1
   code        moveable discardable
   data        preload moveable
   stacksize   12500
   heapsize    4096
   segment     'PLANKTON_TEXT' nondiscardable
   segment     'EXTEND_TEXT'   nondiscardable
   segment     'OM_TEXT'       nondiscardable
   segment     'OSMEM_TEXT'    nondiscardable
   segment     'SORTOF_TEXT'   nondiscardable
   segment     'STACK_TEXT'    nondiscardable
DEFEND

NOBELL

SEARCH  Five, FiveC, Objects
LIB     WinApi, Clipper, Extend, DbfNtx, Terminal
// LIB   fixclp51.lib
// for Clipper 5.1 users

Re: Error al enlazar con blinker

Posted: Sat Feb 28, 2009 7:22 am
by Antonio Linares
Miguel Angel,

1141: new .EXE needs larger alignment value
------------------------------------------------------------------------------

This message indicates that the new .EXE file would be larger than 65535
times the .EXE aligment value specified by the BLINKER EXECUTABLE ALIGNMENT
nnn command. This value defaults to 16, and is always a power of two, but
should be increased until the .EXE is created successfully.

Ve aumentando 128, usando valores que sean potencias de 2, hasta que construya el EXE.