cURL / Mailing Lists / curl-library / Single Mail

curl-library

Possible Curl-7.28.1 compiler error message on aCC compiler

From: Frank Chang <frank_chang91_at_hotmail.com>
Date: Tue, 11 Dec 2012 12:56:38 -0500

Daniel Stenberg, On HPUX B.11.11 using the aCC compiler, we obtain the following compile error shown below, Error 20: "/usr/include/sys/rw_lock.h", line 169 # ';' expected before 'probably'.
    This is probably not a good thing....

Could anyone suggest how we might get around this problem? Thank you.
 
 
Making all in lib
make[1]: Entering directory `/net/beige/export/marc/DQT/EmailLib/curl-7.28.1/lib'
make all-am
make[2]: Entering directory `/net/beige/export/marc/DQT/EmailLib/curl-7.28.1/lib'
source='file.c' object='libcurl_la-file.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../depcomp \
/bin/sh ../libtool --tag=CC --mode=compile aCC -Ae -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -z +W 4227,4255 -s +O2 -c -o libcurl_la-file.lo `test -f 'file.c' || echo './'`file.c
libtool: compile: aCC -Ae -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -z +W 4227,4255 -s +O2 -c file.c +Z -DPIC -o .libs/libcurl_la-file.o
Warning 267: "/usr/include/sys/socket.h", line 459 # Inconsistent linkage in declarations of "long long sendfile(int,int,long long,unsigned long long,const iovec *,int)"; previously was extern now is declared static.
    static sbsize_t sendfile(a,b,c,d,e,f) int a,b,f; off_t c; bsize_t d; const struc
                    ^^^^^^^^
Warning 267: "/usr/include/sys/socket.h", line 460 # Inconsistent linkage in declarations of "long long sendpath(int,char *,long long,unsigned long long,const iovec *,int)"; previously was extern now is declared static.
    static sbsize_t sendpath(a,b,c,d,e,f) int a,f; char *b; off_t c; bsize_t d; cons
                    ^^^^^^^^
Error 419: "/usr/include/sys/rw_lock.h", line 169 # 'This' is used as a type, but has not been defined as a type.
    This is probably not a good thing....
    ^^^^
Error 20: "/usr/include/sys/rw_lock.h", line 169 # ';' expected before 'probably'.
    This is probably not a good thing....
            ^^^^^^^^
Error 419: "/usr/include/sys/rw_lock.h", line 169 # 'probably' is used as a type, but has not been defined as a type.
    This is probably not a good thing....
            ^^^^^^^^
Error 20: "/usr/include/sys/rw_lock.h", line 169 # ';' expected before 'a'.
    This is probably not a good thing....
                         ^
Error 419: "/usr/include/sys/rw_lock.h", line 169 # 'a' is used as a type, but has not been defined as a type.
    This is probably not a good thing....
                         ^
Error 20: "/usr/include/sys/rw_lock.h", line 169 # ';' expected before 'thing'.
    This is probably not a good thing....
                                ^^^^^
Error 20: "/usr/include/sys/rw_lock.h", line 169 # '(' expected before '...'.
    This is probably not a good thing....
                                     ^^^
Error 22: "/usr/include/sys/rw_lock.h", line 169 # Syntax error.
    This is probably not a good thing....
                                        ^
make[2]: *** [libcurl_la-file.lo] Error 1
make[2]: Leaving directory `/net/beige/export/marc/DQT/EmailLib/curl-7.28.1/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/net/beige/export/marc/DQT/EmailLib/curl-7.28.1/lib'
make: *** [all-recursive] Error 1
                                               

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-11