Anssi Hannula wrote:
...
I downloaded the 2.4.29 so I could test compiling.
I changed the QWORDs on the INFOPRINTKs to WORDs. Now it doesn't have at least unresolved symbol __fixunsdfdi. The warnings don't matter, it probably will still print some data.
If there are now other unresolved symbols, remove the lines beginning "INFOPRINTK((WORD". If it doesn't help, remove every INFOPRINTK except "INFOPRINTK(MulBitRate);" and "INFOPRINTK(Params->VBFBufferSize);".
------------------------------------------------------------------------
--- kfir/driver/kfir.c 2005-01-05 02:29:17.000000000 +0200
+++ kfir-2.4-debug/driver/kfir.c 2005-01-24 20:06:18.120437400 +0200
@@ -1075,8 +1075,21 @@
kfir->Par[KFIR_ADR_C2/4] = (WORD)((1<<16)/1.4);
kfir->Par[KFIR_ADR_STD_PICT_DEL/4] = (WORD)(90000000UL/MulFrameRate);
- kfir->Par[KFIR_ADR_FIRST_PICT_DEL/4] = - (WORD) ((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate));
+#define INFOPRINTK(x) printk("kfir: %s: %u\n", #x, x)
+ printk("kfir: KFIR_ADR_FIRST_PICT_DEL parameter debug info:\n");
+ INFOPRINTK(Params->VBFBufferSize);
+ INFOPRINTK((WORD)((double)Params->VBFBufferSize));
+ INFOPRINTK(MulBitRate);
+ INFOPRINTK((WORD)((double)MulBitRate));
+ INFOPRINTK((WORD) ((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate)));
+ INFOPRINTK((WORD)((double)((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate))));
+ INFOPRINTK(((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate)));
+ INFOPRINTK(((double)Params->VBFBufferSize)*16384.0*2.0);
+ INFOPRINTK((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0);
+ INFOPRINTK((double)Params->VBFBufferSize);
+ INFOPRINTK((double)MulBitRate);
+ INFOPRINTK((double)((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate)));
+ kfir->Par[KFIR_ADR_FIRST_PICT_DEL/4] = (WORD) ((((((double)Params->VBFBufferSize)*16384.0*2.0)/8.0)*90000.0)/((double)MulBitRate));
Data=RMUL(MulBitRate*2,
Logfile attached. Klaus
Attachment:
kfir-24.log.gz
Description: GNU Zip compressed data