Don't buy Compaq, pure garbage. Be suspect of HP, now the same company that produces Compaq. Sony has increased quality of external materials, such as cases, keys, latches, hinges, so Sony quality is much improved. IBM is now Lenovo, so be suspect. Toshiba is expensive, but has consistently rated #1 against all others for durability and reliability. Acer is a good value for the money and is the brand name behind other brand names. Dell relies on support and customer service as the focus of its business, rather than the hardware. As such, they are not a manufacturer and are instead an assembler of parts they source out from all over the world, thus be suspect of their quality control.
The #1 problem all laptops face is overheating, even the most expensive ones. This is because of miniaturization of components, and their tight proximity to each other. Overheating alters the chemical structure of metals and plastics. Cheap components resist overheating less, and the structure alters greater/faster. So once a laptop overheats, it could very well overheat faster later. Once components overheat, they may cease to function. Good laptops have a censor for that and shut down on you before risking overheat. Good laptops are sourced from quality components that resist overheating. Good laptops have big fans in them and good ventilation, and could be quite noisy because of the fans. Poor laptops may look fancy because they are razor-thin and operate very quietly, but they build them that way so they can be sold at a premium only to have the consumer realise that they are to be used lightly to avoid the problem of overheating.
So basically, when buying a laptop, look to address the issue of overheating first. Let it run for awhile and feel the bottom of it for heat generated. Turn on the wireless connection and surf and play a DVD, these generate a lot of heat. Look for good ventilation. Check for big fans. Make sure you can feel the forcefulness of the air being ventilated out. If you really want to stress test the laptop, put it on a soft surface like a blanket so that the ventilation is cut off and watch what happens. Does it shutdown immediately? How soon can you boot it back up? Is there a burning smell?
I would recommend Toshiba. You pay a little more but they last a long time. You often see very old toshibas for sale used, but no other laptops of the same vintage. Most other laptops last only a couple of years.