Hi, In the meantime, I did some probe into from where that warning message is printed. I found that "modpost" prints that message. It prints it because it tries to read the ".tmp_versions/scst_tgt.mod" file via grab_file() function, but grab_file() for some reason fails. On further investigation (through print statements), I found that it is not able to open that file(fd has a value -1). I looked at the permissions, it is ok. I am not able to see why it is not opening that file. Any help? --NaGp. Arjan van de Ven wrote: On Wed, 2006-01-25 at 12:26 +0530, NaGp wrote:this neither shows your build script nor the source code... and isn't useful at all.Am sorry for that. Here is my Makefile (I hope thats what you meant by build script):yep <snip makefile, it looks a bit verbose but otherwise not insane or wrong on first sight>Source file is a bit big. I feel there should not be any problem with the source file or Makefile because, as I mentioned this works just fine on a 2.6.14 kernel, leaving me to suspect the 2.6.9 kernel sources.I assume you installed the kernel-devel rpm and otherwise did not touch a thing? (assuming you want to build against your distributions' kernel and not some self built kernel) |