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: Wed, 19 Sep 2012 02:36:27 -0700

Bugs item #3568699, was opened at 2012-09-17 19:35
Message generated for change (Comment added) made by hyec
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: Yuta Hayakawa (hyec)
Date: 2012-09-19 02:36

Message:
Oops, sorry. I had been a misunderstanding.
I can make WITH OUT --enable-werror option.

Thanks.

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

Comment By: Daniel Stenberg (bagder)
Date: 2012-09-19 02:28

Message:
I can only repeat: there are a few compiler warnings and we're working on
fixing them.

If you want to compile curl successfully with the warnings present you
SHOULD NOT use configure's --enable-werror option.

You have two options: fix the warnings or remove the configure option. I
believe we have some modifications in git in that areas that have attempted
to remove the warnings.

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

Comment By: Yuta Hayakawa (hyec)
Date: 2012-09-19 02:24

Message:
Yes. get error again.
Is something wrong with me?

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

Comment By: Daniel Stenberg (bagder)
Date: 2012-09-19 02:17

Message:
So you used -Werror again and then you get error again?

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

Comment By: Yuta Hayakawa (hyec)
Date: 2012-09-18 18:41

Message:
I re-configure with --enable-werror and make.

I got the following results:

---
# make
Making all in lib
make[1]: Entering directory `/usr/local/src/03_curl/curl/lib'
make  all-am
make[2]: Entering directory `/usr/local/src/03_curl/curl/lib'
/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-file.lo `test -f
'file.c' || echo './'`file.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 file.c  -fPIC -DPIC -o
.libs/libcurl_la-file.o
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 file.c  -fPIC -DPIC -o
libcurl_la-file.o >/dev/null 2>&1
/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-timeval.lo `test -f
'timeval.c' || echo './'`timeval.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 timeval.c  -fPIC -DPIC -o
.libs/libcurl_la-timeval.o
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 timeval.c  -fPIC -DPIC -o
libcurl_la-timeval.o >/dev/null 2>&1
/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-base64.lo `test -f
'base64.c' || echo './'`base64.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 base64.c  -fPIC -DPIC -o
.libs/libcurl_la-base64.o
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 base64.c  -fPIC -DPIC -o
libcurl_la-base64.o >/dev/null 2>&1
/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-hostip.lo `test -f
'hostip.c' || echo './'`hostip.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 hostip.c  -fPIC -DPIC -o
.libs/libcurl_la-hostip.o
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 hostip.c  -fPIC -DPIC -o
libcurl_la-hostip.o >/dev/null 2>&1
/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-progress.lo `test -f
'progress.c' || echo './'`progress.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 progress.c  -fPIC -DPIC -o
.libs/libcurl_la-progress.o
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 progress.c  -fPIC -DPIC -o
libcurl_la-progress.o >/dev/null 2>&1
/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-formdata.lo `test -f
'formdata.c' || echo './'`formdata.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 formdata.c  -fPIC -DPIC -o
.libs/libcurl_la-formdata.o
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 formdata.c  -fPIC -DPIC -o
libcurl_la-formdata.o >/dev/null 2>&1
/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-cookie.lo `test -f
'cookie.c' || echo './'`cookie.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 cookie.c  -fPIC -DPIC -o
.libs/libcurl_la-cookie.o
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 cookie.c  -fPIC -DPIC -o
libcurl_la-cookie.o >/dev/null 2>&1
/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-http.lo `test -f
'http.c' || echo './'`http.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 http.c  -fPIC -DPIC -o
.libs/libcurl_la-http.o
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 http.c  -fPIC -DPIC -o
libcurl_la-http.o >/dev/null 2>&1
/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-sendf.lo `test -f
'sendf.c' || echo './'`sendf.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 sendf.c  -fPIC -DPIC -o
.libs/libcurl_la-sendf.o
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 sendf.c  -fPIC -DPIC -o
libcurl_la-sendf.o >/dev/null 2>&1
/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/03_curl/curl/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/03_curl/curl/lib'
make: *** [all-recursive] Error 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