cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1261 compile error on FreeBSD

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sun, 04 Aug 2013 08:28:08 +0000

Still, LDAP_DECPRECATED is something your environment sets in CFLAGS. It is not a define curl/libcurl uses and it is wrongly set in CFLAGS instead of CPPFLAGS.

The easiest path for you is to just make sure it isn't set at all as it serves no purpose when building curl.

I don't think curl's configure should error out on this though so I'll fix it to behave slightly different in the future.

---
** [bugs:#1261] compile error on FreeBSD**
**Status:** pending-invalid
**Labels:** configure 
**Created:** Sat Aug 03, 2013 12:11 PM UTC by Madam Smokey
**Last Updated:** Sun Aug 04, 2013 04:36 AM UTC
**Owner:** Daniel Stenberg
Hello,
when I try to compile the Curl lib on FreeBSD, I'm getting this error:
CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -DLDAP_DEPRECATED
How to circumvent this?
Thx, in advance.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2013-08-04

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET