cURL / Mailing Lists / curl-users / Single Mail

curl-users

Build failures -- (obsolete) IBM XLC 1.2.1 AIX 3.2.5

From: Matthew Clarke <mclarke_at_maves.com>
Date: Sun, 9 Feb 2003 22:34:02 -0800

Hello.

FYI:

Just built cURL 7.10.2 on an AIX 3.2.5 system with the bundled XLC 1.2.1
compiler. This is an obsolete platform no longer supported even by IBM,
but, in case you want to make any changes, I encountered the following:

The definition for "fd_set" comes from the system include file
"sys/select.h". To avoid syntax errors from "fd_set*" declarations, I had
to add "#include <sys/select.h>" to the end of "setup.h" in both "lib/"
and "src/".

This system's "/usr/include/sys/errno.h" has code to "#define" the macro
"geterrno()", which conflicts with your "geterrno(void)" in lib/connect.c.
I just added "#undef geterrno" to lib/connect.c, right before your
function definition. The comments in IBM's header file indicate that
their "geterrno()" macro was added from OSF.

And thank you, very much, for cURL. It has been very useful.

-- 
Matthew Clarke       Direct:  +1 (604) 420-6214  FAX: +1 (604) 420-6246
Systems Integration Specialist
Maves International Software
http://www.maves.com          +1 (905) 882-8300  FAX: +1 (905) 882-1550
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-02-13