Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Makefile target all-local missing @srcdir@/sys_utils.c #4593

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Makefile target all-local missing @srcdir@/sys_utils.c #4593

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: geekasylum
[Submitted to the original trac issue database at 5.43am, Monday, 24th September 2012]

Compiling the latest svn sources for mod_tile (24/9/2012) on gentoo (using 'make DESTDIR="${D}" install' in my own ebuild script) I found that mod_tile.so compiles ok, but on starting apache, the module fails with undefined symbol get_load_avg.

I tracked this down to Makefile.am and added srcdir@/sys_utils.c/h to the 'all-local' target which fixed the problem for me. Attached is a patch I used to solve the problem. Looking closer at it now, Im not sure if the header (.h) is needed, but it worked at the time.

@openstreetmap-trac
Copy link
Author

Author: geekasylum
[Added to the original trac issue at 4.40am, Wednesday, 26th September 2012]

Just to clarify - I can that see you added sys_utils.c to a Makefile.am target recently. This is another target (above that one) which also requires it.

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 4.31pm, Saturday, 12th January 2013]

This should have been fixed in SVN r28859 a while ago.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant