Bug 397484 - Compilation failure due to prototype mismatching
Summary: Compilation failure due to prototype mismatching
Status: RESOLVED FIXED
Alias: None
Product: kldap
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 12:53 UTC by Bart Ribbers
Modified: 2018-08-17 13:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Compilation error (1.30 KB, text/plain)
2018-08-15 12:53 UTC, Bart Ribbers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Ribbers 2018-08-15 12:53:09 UTC
I'm trying to compile/package kldap for postmarketOS (https://postmarketos.org), which uses Alpine Linux and thus Musl rather than glibc. However, compilation fails because of the attached error.

This happens using the latest unstable version (18.07.90).
Comment 1 Bart Ribbers 2018-08-15 12:53:50 UTC
Created attachment 114444 [details]
Compilation error
Comment 2 Laurent Montel 2018-08-16 07:36:38 UTC
it seems that you don't have Ldap devel file.
Please install it
Comment 3 Bart Ribbers 2018-08-17 13:02:25 UTC
You seem to be completely right, installing openldap-dev fixed it, thanks. May I suggest adding a check for it in CMakeLists.txt?
Comment 4 Laurent Montel 2018-08-17 13:31:13 UTC
(In reply to Bart Ribbers from comment #3)
> You seem to be completely right, installing openldap-dev fixed it, thanks.
> May I suggest adding a check for it in CMakeLists.txt?

We already did a check but we didn't test compile without it from very long time :)
it seems that it doesn't build without it.

I can look at a day how to fix it or make it required.