-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error: storage_umem.c: error: link.h: No such file or directory
#4192
Comments
It looks like
Deactivating |
Does it build if you remove the include? I don't think |
@dridi Yeah, if |
@barracuda156 I am not familiar with MacPorts, could you please give a some pointers on the libumem sources used with it? |
@nigoroll This is the port which installed |
FWIW I was not suggesting to remove --- i/bin/varnishd/storage/storage_umem.c
+++ w/bin/varnishd/storage/storage_umem.c
@@ -43,7 +43,9 @@
#include <stdlib.h>
#include <umem.h>
#include <dlfcn.h>
+#ifndef __APPLE__
#include <link.h>
+#endif
#include <string.h>
#include "storage/storage.h" In other words, not involving |
@dridi the OP also reported |
FTR from bugwash: we do not build umem for bsd, phk sais:
|
Expected Behavior
Build should succeed.
Current Behavior
Looks like it includes a non-existing header here:
Possible Solution
No response
Steps to Reproduce (for bugs)
No response
Context
I am trying to update
varnish
port in MacPorts, for which I need it to build for a range of supported systems.Varnish Cache version
7.6.0
Operating system
macOS 10.6
Source of binary packages used (if any)
No response
The text was updated successfully, but these errors were encountered: