AnsweredAssumed Answered

missing qualifiers in JPEG Encoder 3.1.1 library

Question asked by AntonioPasini on Mar 9, 2010
Latest reply on Apr 13, 2010 by CraigG

I need to link the JPEG encoder software module (JPEG_Encoder_BF_Rel3.1.1_PROD.exe) with some other third party libraries compiled with DOUBLE64 option.

 

Seems some modules inside the library have no DOUBLEANY qualifier, so the linker complains with warning:

 

"[Warning li2151]  Input sections have inconsistent qualifiers as follows"


(please see below the modules with missing flags)

 

Is there any way to "fix" the libadi_jpeg_encoder_blackfin.dlb ?

 

Which option do I have ?

 

1) disable warning from linker (I'd prefer not to do so, helps me catching this situation; I need to mix lots of different libraries with perhaps different conventions)

 

2) setting "allow mixing of sizes" in compiler options didn't help (library is already compiled...)

 

3) ???

 


// -------------------------------- cut from linker output

 


DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_api.doj](JPEGENC_P0)
.....
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_baseBitOut.doj](program)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_BlockCopy.doj](JPEGENC_P0)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_BlockVar.doj](JPEGENC_P0)

DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_bsf.doj](JPEGENC_D0)
....
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_dct.doj](program)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_dct_BLACKFIN.doj](JPEGENC_P0)
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_encode_baseline.doj](JPEGENC_D0)
....
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_entropy_coding.doj](program)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_EntropyACDC_BLACKFIN.doj](JPEGENC_P0)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_EntropyACDC_BLACKFIN.doj](JPEGENC_P1)

DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_MemAllocCalls.doj](JPEGENC_D0)
.....
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_MemAllocCalls.doj](data1)
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_MemAllocCalls.doj](program)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_ModPutBits_BLACKFIN.doj](JPEGENC_P0)
unknown   | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_Quant_BLACKFIN.doj](JPEGENC_P0)

DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_QuantizationTables.doj](JPEGENC_D0)
DOUBLEANY | .\jpg\libadi_jpeg_encoder_bf.dlb[JPEG_QuantizationTables.doj](program)

Outcomes