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-3568699 ] Cannot make curl-7.27.0 on CentOS 5.x x86_64

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 18 Sep 2012 15:16:20 -0700

Bugs item #3568699, was opened at 2012-09-17 19:35
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3568699&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Yuta Hayakawa (hyec)
Assigned to: Daniel Stenberg (bagder)
Summary: Cannot make curl-7.27.0 on CentOS 5.x x86_64

Initial Comment:
After successedconfigure, I try to make. So, make is faled.

<curl configure options>
./configure --prefix=/usr/local/curl --disable-debug --enable-optimize --enable-warnings --enable-werror --disable-curldebug --disable-dependency-tracking --enable-http --enable-ftp --enable-telnet --enable-pop3 --enable-imap --enable-smtp --enable-manual --enable-libgcc --enable-ipv6 --enable-nonblocking --enable-threaded-resolver --enable-verbose --enable-cookies
--with-ssl --with-libssh2=/usr/local/libssh2

<make error>
(snip)
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DCURL_HIDDEN_SYMBOLS -I/usr/kerberos/include -I/usr/local/libssh2/include -fvisibility=hidden -g0 -O2 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wstrict-aliasing=3 -Wno-system-headers -pthread -Werror -c -o libcurl_la-ftp.lo `test -f 'ftp.c' || echo './'`ftp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DCURL_HIDDEN_SYMBOLS -I/usr/kerberos/include -I/usr/local/libssh2/include -fvisibility=hidden -g0 -O2 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wstrict-aliasing=3 -Wno-system-headers -pthread -Werror -c ftp.c -fPIC -DPIC -o .libs/libcurl_la-ftp.o
cc1: warnings being treated as errors
ftp.c: In function 'AcceptServerConnect':
ftp.c:338: warning: dereferencing type-punned pointer might break strict-aliasing rules
ftp.c:341: warning: dereferencing type-punned pointer might break strict-aliasing rules
ftp.c: In function 'ftp_state_use_port':
ftp.c:961: warning: dereferencing type-punned pointer might break strict-aliasing rules
make[2]: *** [libcurl_la-ftp.lo] Error 1
make[2]: Leaving directory `/usr/local/src/hyec.org_src/03_curl/curl/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/hyec.org_src/03_curl/curl/lib'
make: *** [all-recursive] Error 1

<libssh2 information>
libssh2-1.4.2

./configure --prefix=/usr/local/libssh2 --with-openssl --with-libgcrypt --with-openssl --with-libz
(Successed configure, make and make install)

<environment>
# cat /etc/redhat-release
CentOS release 5.8 (Final)

# uname -a
Linux localhost.localdomain 2.6.18-308.11.1.el5 #1 SMP Tue Jul 10 08:48:43 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

# rpm -qa|grep glibc
glibc-devel-2.5-81.el5_8.4
glibc-2.5-81.el5_8.4
glibc-common-2.5-81.el5_8.4
glibc-headers-2.5-81.el5_8.4
glibc-2.5-81.el5_8.4

# rpm -qa|grep gcc
libgcc-4.1.2-52.el5_8.1
gcc-c++-4.1.2-52.el5_8.1
libgcc-4.1.2-52.el5_8.1
gcc-4.1.2-52.el5_8.1

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2012-09-18 15:16

Message:
Well, you pretty much ask for the error with --enable-werror so even if we
work on fixing warnings, I don't really consider them bugs enough to
warrant bug reports.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3568699&group_id=976
Received on 2012-09-19

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET