cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1350 Compilation issue with --disable-manual in 7.36.0

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 27 Mar 2014 08:36:22 +0000

- **status**: open-confirmed --> closed-fixed
- **Comment**:

Thanks for confirming. Closing this!

---
** [bugs:#1350] Compilation issue with --disable-manual in 7.36.0**
**Status:** closed-fixed
**Created:** Wed Mar 26, 2014 10:07 AM UTC by Remi Gacogne
**Last Updated:** Thu Mar 27, 2014 08:33 AM UTC
**Owner:** Daniel Stenberg
Hi,
cURL 7.36.0 fails to build when configured with the --disable-manual option:
~~~~~~
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -Wno-system-headers    -o curl curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-strdup.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o  ../lib/libcurl.la  -lz  
libtool: link: gcc -O2 -Wno-system-headers -o .libs/curl curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o curl-tool_msgs.o curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_setopt.o curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o curl-tool_vms.o curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o ../lib/curl-strdup.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o ../lib/curl-warnless.o  ../lib/.libs/libcurl.so -lz -Wl,-rpath -Wl,/usr/local/lib
curl-tool_operate.o: In function `operate':
tool_operate.c:(.text+0x3891): undefined reference to `hugehelp'
collect2: error: ld returned 1 exit status
Makefile:750: recipe for target 'curl' failed
make[2]: *** [curl] Error 1
make[2]: Leaving directory '/data/sources/curl-7.36.0/src'
Makefile:624: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/data/sources/curl-7.36.0/src'
Makefile:676: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
~~~~~~
The issue appears to be related to this commit: 
https://github.com/bagder/curl/commit/0af2322bc6dec10612d33de4b100d5dbc7be739f
I believe the following fix is enough to fix it:
~~~~~~
diff --git a/src/tool_hugehelp.h b/src/tool_hugehelp.h
index 442579e..29e5c88 100644
--- a/src/tool_hugehelp.h
+++ b/src/tool_hugehelp.h
@@ -23,6 +23,8 @@
  ***************************************************************************/
 #include "tool_setup.h"
+#ifdef USE_MANUAL
 void hugehelp(void);
+#endif /* USE_MANUAL */
 #endif /* HEADER_CURL_TOOL_HUGEHELP_H */
~~~~~~
Best regards,
Remi Gacogne
Nuage Labs SAS
---
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 2014-03-27

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET