View Issue Details

IDProjectCategoryView StatusLast Update
0003326libmicrohttpdbuild systempublic2014-02-24 22:41
ReporterIrfy Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSCygwinOS Version1.7.28(0.271/5/3
Product Version0.9.33 
Target Version0.9.34Fixed in Version0.9.34 
Summary0003326: Won't compile on Cygwin
DescriptionIn configure.ac, the "-no-undefined" option is not understood by GCC 4.8.2 under Cygwin. It should be "-Wl,-no-undefined" (like it is for mingw). Patch attached.
TagsNo tags attached.
Attached Files
libmicrohttpd_cygwin_fix.diff (505 bytes)   
diff --git a/libmicrohttpd/configure.ac b/libmicrohttpd/configure.ac
index 746fb73..db46683 100644
--- a/libmicrohttpd/configure.ac
+++ b/libmicrohttpd/configure.ac
@@ -163,7 +163,7 @@ netbsd*)
      AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system])
      AM_CONDITIONAL(HAVE_GNU_LD, false)
      AM_CONDITIONAL(HAVE_W32, false)
-     LDFLAGS="$LDFLAGS -no-undefined"
+     LDFLAGS="$LDFLAGS -Wl,-no-undefined"
      ;;
 *mingw*)
      AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])

Activities

Christian Grothoff

2014-02-16 15:39

manager   ~0008114

This was already fixed in SVN.

Issue History

Date ModifiedUsernameFieldChange
2014-02-16 14:18IrfyNew Issue
2014-02-16 14:18IrfyFile Added: libmicrohttpd_cygwin_fix.diff
2014-02-16 15:39Christian GrothoffNote Added: 0008114
2014-02-16 15:39Christian GrothoffStatusnew => resolved
2014-02-16 15:39Christian GrothoffFixed in Version => 0.9.34
2014-02-16 15:39Christian GrothoffResolutionopen => fixed
2014-02-16 15:39Christian GrothoffAssigned To => Christian Grothoff
2014-02-16 15:39Christian GrothoffTarget Version => 0.9.34
2014-02-24 22:41Christian GrothoffStatusresolved => closed