Yes and no. Obviously we can't go back in time and review every common ancestor, we can merely make extremely educated guesses. Previously this was reviewed by morphology - looking at fossils and the anatomy of existant animals. From simply looking at the ear, it is clear that the closest relative to Crocodiles are infact birds (closer than other reptiles).
Now, we use molecular methodoly which, without getting insanely technical, relies on the sequencing of DNA. From this we can patch which extant animals are closely related to other extant animals. As a whole, this has largely agreed with morhpological analysis.
Since all land vertebrates discovered have some sort of primative ear (the most privative being the turtle, which doesn't need to have a complicated ear since high frequencies do not travel in water), it is obvious that the evolution of the organ of sound originated in an ancestor.
Since fish show the very basic mechanisms which proceeded the ear, it is clear that the ear developed from these organs once the transition to land was made. As I'm sure you are aware having been diving or going underwater in a pool, sound travels much better in air. Hearing underwater mainly occurs from vibrations through solid bones such as the jaw. This is why the crocodile, whilst having an excellent ear closes it off with ear flaps when diving since complex ear drums are relatively useless underwater. And no one likes water in their ears.
But again: if the original species was already perfectly adapted to its environment (and fish clearly are), what prompted the evolution of ears? You can say "the move to dry land", but this only opens up another set of questions.
Ooo don't you start saying evolution is random

*shakes fist*
It is a very thought provoking progress to say the least.
Well I don't see how it
can't be random, unless you want to believe that a big angry beard in the sky was directing it.
Don't get me wrong; I appreciate the scientific merit of evolution. I just find it a somewhat bizarre theory. It seems to fall into the "what we'll work with until something better comes along" category. Perhaps my mind is not sufficiently scientific to grasp the wondrous, mystical complexities of evolution.
As I see it, evolution can be summarised thus: creatures with similar-looking features are assumed to have evolved from each other by virtue of that similarity; creatures perfectly adapted to their environment are assumed to have left that environment for reasons unknown, but quickly realised exactly what they needed to evolve in order to thrive in their new, hostile environment; the entire process of evolution (though admittedly long and tortuous)
always results in a perfect finished product, and (more often than not) an entirely new species.
Suppose we take a bunch of trout and force then to live in shallow, muddy water subjected to an artificial tide which exposes them to the open air once every 12 hours or so. Assuming we have an unlimited supply of trout with which to replace the (hundreds? thousands? tens of thousands?) that will doubtless die from suffocation throughout the process (thereby raising serious questions about the viability of successful evolution under such conditions), how long would it take them to evolve some form of air-breathing apparatus, like the lungfish?
Is it possible that our trout will
never evolve an appropriate apparatus, and simply die out entirely? Or is successful mutation an
inevitable result? And finally, is the process by which the required mutation emerges; what prompts it, and what biological processes act within the body of the fish to produce it?
