cURL / Mailing Lists / curl-users / Single Mail

curl-users

HP-UX with bundled cc compile problems

From: ope <ope557_at_yahoo.com>
Date: Mon, 21 Apr 2003 10:55:14 -0700 (PDT)

I am trying to build curl on HPUX 11 but am not
getting very far. Configure runs fine and everything
looks good but when I run make I get the following
errors right away:

        make all-am
        source='file.c' object='file.lo' libtool=yes \
        depfile='.deps/file.Plo'
tmpdepfile='.deps/file.TPlo' \
        depmode=hp /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile cc
-DHAVE_CONFIG_H -I../include -I../lib -I../lib -g
-c -o file.lo `test -f 'file.c' || echo './'`file.c
cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g
-c file.c -Wp,-M.deps/file.TPlo
(Bundled) cc: warning 480: The -g option is available
only with the C/ANSI C product; ignored.
(Bundled) cc: "setup.h", line 155: error 1000:
Unexpected symbol: "size_t".
(Bundled) cc: "setup.h", line 157: error 1000:
Unexpected symbol: "*".
(Bundled) cc: "setup.h", line 154: error 1705:
Function prototypes are an ANSI feature.
(Bundled) cc: "setup.h", line 155: error 1705:
Function prototypes are an ANSI feature.
(Bundled) cc: "setup.h", line 155: error 1573: Type of
"n" is undefined due to an illegal declaration.
(Bundled) cc: "setup.h", line 157: error 1506:
Parameters allowed in function definition only.
(Bundled) cc: "../include/curl/curl.h", line 104:
error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../include/curl/curl.h", line 105:
.....

I edited the Makefiles and took out the -g from CFLAGS
but I still the same messages. Has anyone been able
to get curl to compile using the HP bundled c
compiler? Is there an option I can add to configure?
I know that the HP bundled c compiler is brutal but I
don't have much choice right now.

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-21