mhb wrote:
Hi

I had added an assembly program to the networking
section of kernel linux 2.2.16 without any problem.
But when I add it to kerenel 2.4.1 I could build that
kernel, but I faced with kernel panic error when I
boot
system with new builded image.
...
As you can see test3.s is an assembly file.
I guess this problem is related to this Makefile.
Is this Make file true?
How can I win over this problem?

thanks


Sorry, I'm not much of a linux assembly guru, but I am wondering why you assume the Makefile is the problem. It could be, I'm not a makefile guru either. But, as far as I know, make works the same no matter what kernel it's running on. My first suspicion would be that calling conventions were changed between kernel versions, or that you use a kernel function that changed functionality. Also, the version of gcc may be important. I think something in the 2.9xx series is recommended for compiling the kernel.

Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to