What do you mean when you kno...say overhaul the car? Cause we dunnkno what you kno, ya kno?

P0171 is likely a serious vacuum leak as Cam said. Without knowing what you dicked with on the car, it's tough to suggest how to fix it. We have to assume you have a t in place to read pressure and get the warning light,