Attachments (1)
Change History (5)
by , 3 years ago
Attachment: | curl-7.76.1-function_naming-1.patch added |
---|
comment:1 by , 3 years ago
curl (7.76.1) cannot be compiled when openldap-2.5.4 is installed:
... CC libcurl_la-multi.lo CC libcurl_la-netrc.lo CC libcurl_la-non-ascii.lo CC libcurl_la-nonblock.lo CC libcurl_la-openldap.lo CC libcurl_la-parsedate.lo CC libcurl_la-pingpong.lo openldap.c:83:17: Fehler: In Konflikt stehende Typen für »ldap_connect« 83 | static CURLcode ldap_connect(struct Curl_easy *data, bool *done); | ^~~~~~~~~~~~ In Datei, eingebunden von openldap.c:39: /usr/include/ldap.h:1554:1: Anmerkung: Vorherige Deklaration von »ldap_connect« war hier 1554 | ldap_connect( LDAP *ld ); | ^~~~~~~~~~~~ make[2]: *** [Makefile:2515: libcurl_la-openldap.lo] Fehler 1 make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet.... make[2]: Verzeichnis „/tmp/curl/build/curl-7.76.1/lib“ wird verlassen make[1]: *** [Makefile:1346: all] Fehler 2 make[1]: Verzeichnis „/tmp/curl/build/curl-7.76.1/lib“ wird verlassen make: *** [Makefile:1255: all-recursive] Fehler 1 ...
There is a naming collision of functions in openldap and functions in curl. Both have same name.
There is a fix to curl already (it is attached).
comment:3 by , 3 years ago
sorry, forgot about that, as I explicitely build curl without ldap support (I mean, who wants to access ldap entries via curl?). Exactly the same problem as in cups-filters.
Note:
See TracTickets
for help on using tickets.
upstream patch