Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Dan Fandrich
On Wed, Dec 12, 2012 at 01:59:33AM -0500, Frank Chang wrote: Yang Tse and Dan Fandrich, Thank you for your help .I just developed a potential fix to the nasty rw_lock.h problem.on HPUX 11.11. curl 7.28.1 compiles and links successfully if you use the following fix. For example if you go

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Daniel Stenberg
On Wed, 12 Dec 2012, Dan Fandrich wrote: And finally, it looks like every one of the system #includes at the top of that file can actually be removed altogether. They were probably pasted from another file and aren't actually needed there. I just pushed a fix that removes them all:

2. Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler developed(Daniel Stenberg)

2012-12-12 Thread Frank Chang
2. Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed (Daniel Stenberg) Daniel Stenberg and Dan Fandrich, There are actually more libcurl 7.28.1 files that require the same change as Daniel Stenberg just made for gopher.c. They are 1) ./lib/tftp.c

Re: 2. Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler developed(Daniel Stenberg)

2012-12-12 Thread Dan Fandrich
On Wed, Dec 12, 2012 at 06:26:13AM -0500, Frank Chang wrote: Daniel Stenberg and Dan Fandrich, There are actually more libcurl 7.28.1 files that require the same change as Daniel Stenberg just made for gopher.c. They are 1) ./lib/tftp.c 2) ./lib/easy.c

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Yang Tse
On Wed, Dec 12, 2012 at 7:59 AM, Frank Chang frank_chan...@hotmail.com wrote: Yang Tse and Dan Fandrich, Thank you for your help .I just developed a potential fix to the nasty rw_lock.h problem.on HPUX 11.11. curl 7.28.1 compiles and links successfully if you use the following fix. For

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Michael Wood
Hi On 12 December 2012 14:58, Yang Tse yangs...@gmail.com wrote: On Wed, Dec 12, 2012 at 7:59 AM, Frank Chang frank_chan...@hotmail.com wrote: Yang Tse and Dan Fandrich, Thank you for your help .I just developed a potential fix to the nasty rw_lock.h problem.on HPUX 11.11. curl 7.28.1

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Yang Tse
On Wed, Dec 12, 2012 at 2:25 PM, Michael Wood esiot...@gmail.com wrote: On 12 December 2012 14:58, Yang Tse yangs...@gmail.com wrote: On Wed, Dec 12, 2012 at 7:59 AM, Frank Chang frank_chan...@hotmail.com wrote: Yang Tse and Dan Fandrich, Thank you for your help .I just developed a

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Dan Fandrich
On Wed, Dec 12, 2012 at 04:21:51PM +0100, Yang Tse wrote: Compilation was failing on line that reads as This is probably not a good thing. In order to make this happen _KERNEL must have been defined somewhere. In any case, I've just pushed

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Yang Tse
That's an #ifNdef _KERNEL, not #ifdef. Oops. Michael Wood you are right. _KERNEL not defined actually trigerring the issue. Anyway, commit f254c59dc7 should fix the issue. -- -=[Yang]=- --- List admin:

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Yang Tse
On Wed, Dec 12, 2012 at 5:53 PM, Dan Fandrich d...@coneharvesters.com wrote: I really don't think HP-UX expects every application to have to define TRUE and FALSE macros in order to compile. That should be true. It's much more likely that there's something borked in the compile environment,

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h

2012-12-12 Thread Frank Chang
Subject: Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed Message-ID: CAH23gUQ=oohg2zknswsnh6stnvq06vty+mh9lb9gsz2r_ox...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Wed, Dec 12, 2012 at 5:53 PM, Dan Fandrich d...@coneharvesters.com wrote: I really

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-12 Thread Dan Fandrich
On Wed, Dec 12, 2012 at 06:10:39PM +0100, Yang Tse wrote: Probably true. But given recent record history of OP not providing complete details, commit f254c59dc7 might be best workaround we can provide. Unless OP actually digs into the problem and provides a better fix than what was previously

Re: Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h

2012-12-12 Thread Dan Fandrich
On Wed, Dec 12, 2012 at 12:32:30PM -0500, Frank Chang wrote: Yang Tse and Dan Fandrich, I have plenty of detailed information on this problem and other questions I have emailed to the curl-library-developers list. However, many times when I try to submit error log information or other large

Potential Fix to libcurl 7.28.1 HPUX11.11 rw_lock.h compiler error developed

2012-12-11 Thread Frank Chang
Yang Tse and Dan Fandrich, Thank you for your help .I just developed a potential fix to the nasty rw_lock.h problem.on HPUX 11.11. curl 7.28.1 compiles and links successfully if you use the following fix. For example if you go lib/gopher.c and add #define TRUE 1 before #include net/if.h