blueszhangsh / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
0 stars 0 forks source link

serf doesn't compile on HP-UX (IA64 processor) with bundled compiler #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just configure and make serf

What is the expected output? What do you see instead?
There were two problems:
1) An error in context.c (line 575), where conn->vec[0].iov_base
   is incremented. However, conn->vec[0].iov_base is a void *, which
   cannot be incremented. gcc allows this, but the HP-UX compiled does
   not.
2) The "make" utility provided with HP-UX, doesn't accept the $^
   argument. 

What version of the product are you using? On what operating system?
  serf 0.2.0, hpux-ia64

Please provide any additional information below.

  The attached file is a patch which fixes both problems. With that
  patch everything compiles fine.

Original issue reported on code.google.com by jan.nijt...@gmail.com on 24 Jun 2008 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago
I believe this has been fixed. The makefile changes were part of fixing 
"non-gmake" builds, and the iov_base stuff was fixed at some other point.

Original comment by gstein on 13 Jul 2011 at 6:39