Compaq Computer Corp. Monday said it expects to post a profit in the fourth quarter, not a loss as it had previously projected, on revenue of more than $8 billion, above its previous guidance for revenue of $7.6 billion to $7.8 billion.

Compaq, the No. 2 personal computer maker, said it no longer expects to post a loss of 3 cents per share that it said it had issued as guidance and which, according to Thomson Financial/First Call, analysts were expecting.

Analysts were also expecting revenue of $7.63 billion in the fourth quarter, according to Thomson Financial.

Compaq is planning to merge with Hewlett-Packard Co. , but opposition to that merger by Hewlett and Packard family members has made that merger's completion uncertain.

In early New York Stock Exchange trading on Monday, Compaq shares were up 59 cents, or 5.2 percent, at $11.98.