build failure with --no-force
Brad <[email protected]> Wed, 14 Jan 2015 17:49:58 -0600
| Newsgroups | gmane.comp.web.privoxy.devel |
|---|---|
| Message-ID | <[email protected]> |
greetings developers,
i'm sending this to the list since i don't have a sourceforge account. i
ran into a problem building privoxy with --no-force:
cgisimple.c: In function ‘cgi_show_status’:
cgisimple.c:1052:52: error: ‘FORCE_PREFIX’ undeclared (first use in this
function)
if (!err) err = map(exports, "force-prefix", 1, FORCE_PREFIX, 1);
^
cgisimple.c:1052:52: note: each undeclared identifier is reported only
once for each function it appears in
that makes sense. i fixed it for myself with:
--- a/cgisimple.c 2015-01-14 16:27:43.296424437 -0600
+++ b/cgisimple.c 2015-01-14 16:28:18.984427925 -0600
@@ -1049,7 +1049,9 @@
}
#endif /* ndef CGI_EDIT_ACTIONS */
+#ifdef FEATURE_FORCE_LOAD
if (!err) err = map(exports, "force-prefix", 1, FORCE_PREFIX, 1);
+#endif /* def FEATURE_FORCE_LOAD */
if (err)
{
hope it's useful!
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers