Los Angeles, California (CNN) -- Dennis Hopper took what may be his final bow Friday as his star was dedicated on Hollywood's Walk of Fame.





His lawyer and doctor told the judge overseeing his divorce this week that Hopper is dying of prostate cancer, but the 73-year-old actor was smiling broadly during the ceremony.





"I just want to thank you," Hopper told the crowd surrounding him. "That's all I can do."





"Easy Rider" co-star Jack Nicholson stood behind Hopper as Hollywood star number 2,403 was revealed with Hopper's name in front of the Egyptian Theater. Other stars on hand included director David Lynch and singers Johnny Mathis and Dwight Yoakam.





With his 6-year-old daughter, Galen, by his side, Hopper waved and bowed to hundreds of fans lining a barricade along Hollywood Boulevard.





Hopper's doctor called him "extremely weak" and said he weighs barely 100 pounds in a court document filed this week, but he walked on his own during the 45 minutes he was at the ceremony.





His forehead and right hand were bandaged, but not because of his illness. Hopper said he "took a terrible fall" and "got pretty screwed up" as photographers followed him outside his Venice, California, home Thursday.





"I want to thank the paparazzi," he said. "I know you've got a tough job, but sometimes you ought to be a little more sensitive."





Hopper, who is undergoing radical chemotherapy for advanced, metastasized prostate cancer, is also divorcing his wife of 14 years, Victoria Hopper.





iReporter captures the star ceremony





He is too weak and ill to be questioned by lawyers in the divorce, but attending Friday's ceremony "is a positive experience in every way," his doctor's sworn statement said.





The couple separated in January when he filed for divorce, claiming the stress of their relationship was threatening his life as he battled cancer.





"The presence of his estranged wife is hampering Mr. Hopper's present cancer care as she introduces significant additional stress into his life," Dr. David Argus said. "The less Mr. Hopper has to do with his estranged wife at this time, the more likely he is to have his life extended."





Victoria Hopper's lawyer did not immediately respond to calls for comment.





The divorce case is set for an April 5 hearing in Los Angeles County Superior Court.





iReport: Hopper surrounded by friends, family at ceremony





Hopper said the Starz cable network paid for his Hollywood star ceremony, which cost $25,000. His last acting job was on "Crash," the TV series based on the Oscar-winning movie of the same name. Hopper's acting career has spanned almost six decades. In the '50s he had roles in several TV shows and films, including "Rebel Without a Cause" (1955) and "Giant" (1956). He became a Hollywood sensation for "Easy Rider," the 1969 film he directed and co-wrote in which he played a dissolute, countercultural biker.
What was Hopper dying of? What illness is Hopper stricken with? What did Hopper's doctor recommend? Which cable network paid for Hopper's star? What is Hopper dying of?
prostate cancer, prostate cancer, has to do with his estranged wife at this time, the more likely he is to have his life extended." Starz prostate cancer,
question: What was Hopper dying of?, answer: prostate cancer, | question: What illness is Hopper stricken with?, answer: prostate cancer, | question: What did Hopper's doctor recommend?, answer: has to do with his estranged wife at this time, the more likely he is to have his life extended." | question: Which cable network paid for Hopper's star?, answer: Starz | question: What is Hopper dying of?, answer: prostate cancer,