cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl 7.9.4 build - hp-ux 11i

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Apr 2002 14:08:57 +0200 (MET DST)

On Mon, 8 Apr 2002, Erick Nuwendam wrote:

> I got similar problems with 7.9.5

So the file.c compiler error remains? I was wrong, there was no difference in
that file between 7.9.4 and 7.9.5.

It looks as if you need to include another file before the <sys/socket.h>
file is included. As it complaints on 'sendfile', can you check your man
page for that function and see which include files it wants to have included
for it? <unistd.h> could be worth a shot...

> configure:1906: checking for C compiler default output
> configure:1909: gcc conftest.c >&5
> as: warning 2: Unknown option "--traditional-format" ignored.
> as: "/var/tmp/ccFZ2Jrc.s", line 15: error 1052: Directive name not
> recognized - NSUBSPA
> configure:1912: $? = 1
> configure: failed program was:
> #line 1890 "configure"
> #include "confdefs.h"
>
> int
> main ()
> {
>
> ;
> return 0;
> }
> configure:1935: error: C compiler cannot create executables

Can you build programs at all using gcc on this machine?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-08