cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: compiler error on hp-ux using gcc

From: Naeem ahmad <naeem.ahmad_at_aircom.co.uk>
Date: Fri, 3 Feb 2006 09:13:26 -0000

Hi Dan,
I have managed to compile putty program using these command line flags

CFLAGS = -D_XOPEN_SOURCE_EXTENDED
ULDFLAGS = -lxnet

But it does not work, it produce core dump,
I will try to write simple socket client , let you know.

Thanks
Naeem

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: 02 February 2006 20:42
To: curl-users_at_cool.haxx.se
Subject: Re: compiler error on hp-ux using gcc

On Thu, Feb 02, 2006 at 08:13:41PM -0000, Naeem ahmad wrote:
> Mahine : HP-UX jaws B.11.23 U ia64
>
> =20
>
> Comopiler : gcc 4.0.1
>
> =20
>
> I get below error when i try to build using makefile
>
> =20
>
> icate 'unsigned'
>
> In file included from ../include/curl/multi.h:63,
>
> from ../include/curl/curl.h:1448,
>
> from cookie.h:33,
>
> from urldata.h:50,
>
> from file.c:79:
>
> /usr/include/sys/socket.h:205: error: two or more data types in
> declaration specifiers
>
> /usr/include/sys/socket.h:535: error: static declaration of 'sendfile'
> follows non-static declaration
>
> /usr/include/sys/socket.h:506: error: previous declaration of
'sendfile'
> was here
>
> /usr/include/sys/socket.h:536: error: static declaration of 'sendpath'
> follows non-static declaration
>
> /usr/include/sys/socket.h:508: error: previous declaration of
'sendpath'
> was her

Are you able to compile any other network program with this compiler?
This
doesn't look like a curl problem. All the errors are within system
header
files.

> Disclaimer:
>
> The information contained in this e-mail, including any attachments to
it, is confidential and intended
[370 words of legalese elided]

Well, your message has just been blasted onto a public mailing list, so
it's
not very confidential any more. You'd better report yourself to the
authorities.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address
service
          Let webmasters know that your web site has moved
 
Get up to speed with HSDPA. Visit our website <
http://www.aircominternational.com/product-spotlight-a3g-and-hsdpa.html> to find out more. 
Disclaimer: 
The information contained in this e-mail, including any attachments to it, is confidential and intended 
only for the person(s) to whom it is addressed. Any examination, distribution, disclosure, printing, or 
copying of this information, or reliance upon this information by any person other than the intended 
recipient(s) is strictly prohibited. If this e-mail has been misdirected and you are not the intended 
recipient, please notify the sender immediately and delete this e-mail from your system. The views and 
opinions contained in this transmission represent those of the author and do not necessarily reflect 
those of AIRCOM International. AIRCOM International may monitor incoming and outgoing e-mails. By 
replying to this message, you consent to this monitoring. This e-mail has been scanned by McAfee Group 
Shield prior to transmission. However, recipients are advised to apply their own antivirus detection 
measures to this e-mail and any attachments upon receipt. AIRCOM International does not accept 
liability for any damage or losses arising as a result of receiving this e-mail. 
 
Get up to speed with HSDPA. Visit our website <
http://www.aircominternational.com/product-spotlight-a3g-and-hsdpa.html> to find out more.
Disclaimer:
The information contained in this e-mail, including any attachments to it, is confidential and intended 
only for the person(s) to whom it is addressed. Any examination, distribution, disclosure, printing, or 
copying of this information, or reliance upon this information by any person other than the intended 
recipient(s) is strictly prohibited. If this e-mail has been misdirected and you are not the intended 
recipient, please notify the sender immediately and delete this e-mail from your system. The views and 
opinions contained in this transmission represent those of the author and do not necessarily reflect 
those of AIRCOM International. AIRCOM International may monitor incoming and outgoing e-mails. By 
replying to this message, you consent to this monitoring. This e-mail has been scanned by McAfee Group 
Shield prior to transmission. However, recipients are advised to apply their own antivirus detection 
measures to this e-mail and any attachments upon receipt. AIRCOM International does not accept 
liability for any damage or losses arising as a result of receiving this e-mail.
Received on 2006-02-03