Dear, 

does anybody managed to rebuild dsplink with the latest GIT kernel 
(only the GPP part).  

I wonder how it can succeed even with the Montavista 2.6.10 kernel. 

Ok, I get this far: 
after adding -include $(BASE_OSINC)/linux/autoconf.h to the DRV_CC_FLAGS
compiler flags (in davinci_mvlpro4.0.mk) I was able to do a basic compile 
run. 
But got a linker complain about using GPL only exports from a none GPL 
driver. I realy wonder how TI ever builds this driver because the function 
in question (sys_open(..)) is declared EXPORT_GPL even in the 2.6.10 
kernel.  

But at least the problem seams to be known: 
defining  DM642_PCI ?!?!! in kfile.c avoids the use of sys_open(..). 
Now the linker doesn't complain anymore. 

However, now I get stuck in the last build step: modpost. I get an error 
message that dsplnkk is undefined when compling dsplinkk.mod.c . 

Bad thing is that I can not figure out how to come around this one. 

On the mailing list archive I saw that other people got the same problem, 
but did not saw any solution. Does anybody succeed ??? 

Thank you for your help and best regards, 

Peter 

BTW: IMHO its a realy bad idea to build a kernel driver without using the 
kernel build system. This will always cause a lot of trouble. 




|       Peter Wippich                   Voice: +49 30 46776411          |
|       G&W Instruments GmbH            fax:   +49 30 46776419          |
|       Gustav-Meyer-Allee 25, Geb. 12  Email: [EMAIL PROTECTED]   |
|       D-13355 Berlin  / Germany                                       |

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to