On Tuesday 29 August 2006 19:55, Marc Collin wrote:
/home/collinm/Download/nvidia/forcedeth.c: In function ‘nv_set_sg’: /home/collinm/Download/nvidia/forcedeth.c:3886: warning: control reaches end of non-void function
This warning comes from incorrectly-written code. If you let this warning go the driver will have "undefined behaviour". You can edit the code and maybe find the proper return value for nv_set_sg(), and add the proper 'return' statement there. The problem is that the function is declared as returning a value but does not actually do so.
/bin/sh: scripts/basic/fixdep: No such file or directory make[1]: *** [/home/collinm/Download/nvidia/forcedeth.o] Error 1 make: *** [_module_/home/collinm/Download/nvidia] Error2
This is caused by the Makefile looking for a script in a relative path, but you are not building from the top of the kernel source tree. Try building from there, instead of using the -C option to 'make'. Maybe it'll fix the problem, maybe no.
nvidia staff said me:
Your kernel source seems to be either broken or incomplete
Maybe, but the first warning is from broken nvidia code. Some compilers won't complain about this error, but most will (or should). -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts