Antonio
Quiero sustituir una función "LogFile" por una funcion propia pero al compilar genera el siguiente error:
fatal error LNK1169: one or more multiply defined symbols found
Indicando que ya está definida en el fichero FIVECEC.LIB.
¿Existe alguna forma de que no muestre el error sin necesidad de extraer de fivecec.lib la obj?
Saludos
Sustituir funciones de fivecec.lib
Sustituir funciones de fivecec.lib
Toni Sales
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio
Al Añadir el Flag genera los siguientes errores al enlazar:
c:\vce\bin\link @msvc.tmp /FORCE:MULTIPLE /nologo /SUBSYSTEM:WINDOWSCE,3.00 /MACHINE:ARM
c:\prg\myapp.obj : warning LNK4042: object specified more than once; extras ignored
FiveCE.lib(FILENAME.obj) : warning LNK4006: HB_FUN_LOGFILE already defined in utils.obj; second definition ignored
c:\prg\myapp.obj : warning LNK4042: object specified more than once; extras ignored
FiveCE.lib(FILENAME.obj) : warning LNK4006: HB_FUN_LOGFILE already defined in utils.obj; second definition ignored
Creating library myapp.lib and object myapp.exp
myapp.exe : warning LNK4088: image being generated due to /FORCE option; image may not run
FiveCE.lib(FILENAME.obj) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions
Saludos
Al Añadir el Flag genera los siguientes errores al enlazar:
c:\vce\bin\link @msvc.tmp /FORCE:MULTIPLE /nologo /SUBSYSTEM:WINDOWSCE,3.00 /MACHINE:ARM
c:\prg\myapp.obj : warning LNK4042: object specified more than once; extras ignored
FiveCE.lib(FILENAME.obj) : warning LNK4006: HB_FUN_LOGFILE already defined in utils.obj; second definition ignored
c:\prg\myapp.obj : warning LNK4042: object specified more than once; extras ignored
FiveCE.lib(FILENAME.obj) : warning LNK4006: HB_FUN_LOGFILE already defined in utils.obj; second definition ignored
Creating library myapp.lib and object myapp.exp
myapp.exe : warning LNK4088: image being generated due to /FORCE option; image may not run
FiveCE.lib(FILENAME.obj) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions
Saludos
Toni Sales
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: