cURL / Mailing Lists / curl-users / Single Mail

curl-users

HP-UX 11.00 problems with make

From: ope <ope557_at_yahoo.com>
Date: Wed, 20 Aug 2003 17:06:07 -0700 (PDT)

I am trying to compile on HP-UX 11.00 using the aCC
compiler. I had this whole process worked out a few
months ago and documented what I did but it I can't
get it to compile. I would get something is funny in
my environment but am drawing a blank and was hoping
someone might have an idea.

Configure completes without problems when I run the
following:
CC=aCC ./configure --disable-shared --without-ssl

(I know that this used to work)

When I run make however I get this output:
No suffix list.
Making all in lib
        make all-am
        source='file.c' object='file.lo' libtool=yes \
        depfile='.deps/file.Plo'
tmpdepfile='.deps/file.TPlo' \
        depmode=none /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile aCC
-DHAVE_CONFIG_H -I../include -I../lib -I../lib
-g -c -o file.lo `test -f 'file.c' || echo './'`file.c
 aCC -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g
-c file.c -o file.o
Error (future) 503: "/usr/include/string.h", line 180
# A function declaration
    without a linkage specifier may not precede the
first linkage
    specification for that function. Previous
definition was at ["setup.h",
    line 174].
         extern int strcasecmp(const char *, const
char *);
                    ^^^^^^^^^^
Error (future) 503: "/usr/include/string.h", line 181
# A function declaration
    without a linkage specifier may not precede the
first linkage
    specification for that function. Previous
definition was at ["setup.h",
    line 175].
         extern int strncasecmp(const char *, const
char *, __size_t);
                    ^^^^^^^^^^^
Error 173: "timeval.h", line 38 # Redefined symbol
'timeval'; previously
    defined at ["/usr/include/sys/time.h", line 147].
    struct timeval {
    ^^^^^^^^^^^^^^
Error 486: "urldata.h", line 259 # A typedef-name
naming a struct is a
    class-name, but the synonym cannot be used after a
struct prefix.
    struct FILE {
    ^^^^^^^^^^^
Error 486: "urldata.h", line 526 # A typedef-name
naming a struct is a
    class-name, but the synonym cannot be used after a
struct prefix.
        struct FILE *file;
        ^^^^^^^^^^^
Error 24: "urldata.h", line 815 # '<type name>'
expected instead of 'private'.
      char *private; /* Private data */
            ^^^^^^^
Error 486: "file.c", line 98 # A typedef-name naming a
struct is a class-name,
    but the synonym cannot be used after a struct
prefix.
      struct FILE *file;
      ^^^^^^^^^^^
Error 486: "file.c", line 105 # A typedef-name naming
a struct is a
    class-name, but the synonym cannot be used after a
struct prefix.
      file = (struct FILE *)malloc(sizeof(struct
FILE));
              ^^^^^^^^^^^
Error 486: "file.c", line 105 # A typedef-name naming
a struct is a
    class-name, but the synonym cannot be used after a
struct prefix.
      file = (struct FILE *)malloc(sizeof(struct
FILE));
                                          ^^^^^^^^^^^
Error 486: "file.c", line 109 # A typedef-name naming
a struct is a
    class-name, but the synonym cannot be used after a
struct prefix.
      memset(file, 0, sizeof(struct FILE));
                             ^^^^^^^^^^^
Warning: 2 future errors were detected and
ignored. Add a '+p' option to detect and fix them
before they become fatal errors in a future release.
Behavior of this ill-formed program is not guaranteed
to match that of a well-formed program
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
Received on 2003-08-21