You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Nicholas Riley <nj...@uiuc.edu> on 2002/10/07 07:11:46 UTC

VPATH build breaks with ap_ugly_hack in CVS httpd-2.0

Hi,

I was just updating my httpd-2.0 CVS after a couple of months of
inactivity and it failed linking httpd with the error:

ld: Undefined symbols:
_ap_ugly_hack
make[1]: *** [httpd] Error 1
make: *** [all-recursive] Error 1

The problem appears to be that exports.c is not properly referenced,
but trying the naive fix (removing the path specifier) gives me a
symlink from exports.lo -> exports.lo.

At this point I gave up and went back to a non-VPATH build, but this
is rather sub-optimal.  It worked before, it would be nice if it
worked again.

Thanks,

-- 
=Nicholas Riley <nj...@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

Re: VPATH build breaks with ap_ugly_hack in CVS httpd-2.0

Posted by Aaron Bannert <aa...@clove.org>.
On Mon, Oct 07, 2002 at 12:11:46AM -0500, Nicholas Riley wrote:
> I was just updating my httpd-2.0 CVS after a couple of months of
> inactivity and it failed linking httpd with the error:
> 
> ld: Undefined symbols:
> _ap_ugly_hack
> make[1]: *** [httpd] Error 1
> make: *** [all-recursive] Error 1
> 
> The problem appears to be that exports.c is not properly referenced,
> but trying the naive fix (removing the path specifier) gives me a
> symlink from exports.lo -> exports.lo.
> 
> At this point I gave up and went back to a non-VPATH build, but this
> is rather sub-optimal.  It worked before, it would be nice if it
> worked again.

I ran into this today as well, and haven't figured out what the
problem was. It seems that for some reason httpd is never ending
up with the exports.lo linkage. By manually adding exports.lo to
the PROGRAM_DEPENDENCIES list it links properly.

-aaron