Hello all. I use uClinux to make a char driver. After I setup my program, makefile, config file correctly, it only make a 8 bytes ("!") object file for this driver when I make the kernel. What is wrong with it?
Why does it only contain 8 bytes ("!<arch>") in the object file?
Dec 05, 2006
3 Replies
You will probably benefit from reading this:
formatting link
The bytes "!" are a magic number for *archive* library. If you get them in an object file, you likely do something like:
ar rc foo.o
Solution: don't do that!
Cheers,
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required