cURL / Mailing Lists / curl-users / Single Mail

curl-users

AW: 7.42 compile problems

From: <Alexander.Elgert_at_external.t-systems.com>
Date: Wed, 22 Apr 2015 11:16:04 +0200

Hello,

there is another comment, after deleting all of these comments, the build works fine.
I tried one of the failing comments in a c file and compiled it - this works without making such problems.

../src/tool_formparse.c:112:30: warning: comma without following space
  * 'name=@filename,filename2,filename3'
                              ^
../src/tool_formparse.c:120:45: warning: comma without following space
  * 'name=@filename;type=image/gif,filename2,filename3'
                                             ^
checksrc: 0 errors and 2 warnings
Makefile:2220: recipe for target 'checksrc' failed
gmake[2]: *** [checksrc] Error 5
gmake[2]: Leaving directory '/ae_devel10/curl-7.42.0/src'
Makefile:637: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/ae_devel10/curl-7.42.0/src'
Makefile:851: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1

Regards,
Alexander

-- 
Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert Langwadener Strasse 17 64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 9683-12 (Tel)
+49 671 9683-30 (Fax)
E-Mail: alexander.elgert_at_gmx.de
-----Ursprüngliche Nachricht-----
Von: Elgert, Alexander (ext) 
Gesendet: Mittwoch, 22. April 2015 11:02
An: 'curl-users-bounces_at_cool.haxx.se'
Betreff: 7.42 compile problems
Hello,
On two systems, I got the same errors. The compiler is complaining about comments.
$ uname -a
CYGWIN_NT-6.1 ae7 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-4.9.2-3.x86_64/src/gcc-4.9.2/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.2-3.x86_64/src/gcc-4.9.2 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id
Thread model: posix
gcc version 4.9.2 (GCC)
$ uname -a
Linux ae1 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14+rpi1)
  $ ./configure --prefix=/ae_devel10/curl --with-ssl=/ae_devel10/curl --enable-static --disable-shared --disable-manual --disable-lber --disable-ldap --disable-nls --without-libidn --enable-ipv6 --enable-debug --enable-curldebug
libtool: link: ranlib .libs/libcurlu.a
libtool: link: ( cd ".libs" && rm -f "libcurlu.la" && ln -s "../libcurlu.la" "libcurlu.la" )
../lib/ftp.c:1353:47: warning: comma without following space
     227 Entering Passive Mode (a1,a2,a3,a4,p1,p2)
                                               ^
../lib/ftp.c:1356:58: warning: comma without following space
     228 Entering Long Passive Mode (4,4,a1,a2,a3,a4,2,p1,p2)
                                                          ^
../lib/ftp.c:2473:61: warning: comma without following space
       150 ASCII data connection for /bin/ls (137.167.104.91,37445) (0 bytes).
                                                             ^
../lib/ftp.c:2476:66: warning: comma without following space
       150 Opening ASCII mode data connection for [file] (0.0.0.0,0) (545 bytes)
                                                                  ^
../lib/url.c:4380:27: warning: comma without following space
    * no_proxy=domain1.dom,host.domain2.dom
                           ^
../lib/telnet.c:278:28: warning: comma without following space
      Default values are (0,0) initialized by calloc.
                            ^
Regards,
Alexander
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-22