View Issue Details

IDProjectCategoryView StatusLast Update
0008906libmicrohttpdotherpublic2026-07-28 21:44
Reporterkorli Assigned ToKarlson2k Due Date
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.0.0 
Target Version1.0.8Fixed in Version1.0.8 
Summary0008906: Fix build on Haiku
Descriptionneeds to link against libnetwork.so on Haiku. Attached patch fixes the problem.
TagsNo tags attached.
Attached Files
libmicrohttpd-1.0.1.patchset (689 bytes)   
From 43c39d24cecd3f686efded8fbcea5d32a63383c2 Mon Sep 17 00:00:00 2001
From: Kacper Kasper <kacperkasper@gmail.com>
Date: Fri, 4 Aug 2017 10:06:42 +0300
Subject: Fix linker errors.


diff --git a/configure.ac b/configure.ac
index 932f8ad..8d7d12c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1030,6 +1030,12 @@ AS_CASE(["$host_os"],
      mhd_host_os='GNU Hurd'
      AC_MSG_RESULT([[$mhd_host_os]])
     ],
+   [haiku*],
+   [AC_DEFINE_UNQUOTED(HAIKU,1,[This is a Haiku system])
+     mhd_host_os='Haiku'
+     AC_MSG_RESULT([[$mhd_host_os]])
+     AC_SEARCH_LIBS(gethostbyname, network)
+   ],
     [
      AC_MSG_RESULT([unrecognised OS])
      mhd_host_os="${host_os}"
-- 
2.42.1

Activities

Karlson2k

2024-07-31 10:21

manager   ~0022876

Cannot confirm.
Previously, I had successful builds on Haiku without extra patches. Test suite also worked without any errors.

Moreover, gethostbyname() function is not used by MHD.

I'll re-check with the latest Haiku beta.

Karlson2k

2024-07-31 10:22

manager   ~0022877

@korli, could you share your build error messages?

Issue History

Date ModifiedUsernameFieldChange
2024-06-07 10:39korliNew Issue
2024-06-07 10:39korliFile Added: libmicrohttpd-1.0.1.patchset
2024-07-30 22:57Christian GrothoffAssigned To => Karlson2k
2024-07-30 22:57Christian GrothoffStatusnew => assigned
2024-07-31 10:21Karlson2kNote Added: 0022876
2024-07-31 10:22Karlson2kNote Added: 0022877
2026-07-28 21:44Christian GrothoffPrioritynormal => low
2026-07-28 21:44Christian GrothoffStatusassigned => closed
2026-07-28 21:44Christian GrothoffResolutionopen => unable to reproduce
2026-07-28 21:44Christian GrothoffFixed in Version => 1.0.8
2026-07-28 21:44Christian GrothoffTarget Version => 1.0.8