Do not use sys/select.h on HPUX systems

Another alternative is to add an extra #ifndef in jk_global.h, that way
the same script will continue to work on other platforms. Change
jk_global.h to look like...

(jk_global.h somewhere near line 86)

    #ifndef NETWARE
        #include <netinet/tcp.h>
        #include <arpa/inet.h>
        #include <sys/un.h>
        #include <sys/socketvar.h>
        ---- do not include sys/select.h if using HPUX11 ----
        #ifndef HPUX11
          #include <sys/select.h>
        #endif
          
    #endif


On Thu, 3 May 2001, Brendan McKenna wrote:

> Hi,
> 
>       In general, it's an iterative process.  You don't have 
> sys/select.h on your machine.  Fine.  Comment it out and try your 
> compile again.  This time it'll fail because those items that it 
> expected to find definitions for in that header file aren't there.  So 
> you'll need to find where on your system those items are defined. (In 
> this case, you're going to need to find where the select(2) call is 
> defined on your system, as well as the macros that are used with it.  
> Your system's man pages are a good place to start your search.)  Where 
> you commented out the '#include <sys/select.h>', now add in the correct 
> includes for your system.  And so on...
> 
>       Repeat this process for all of the headers you don't have, 
> until you don't get any errors any more.
> 
>       I don't have access to an HPUX system, so I can't help any more 
> than that, sorry.
> 
> 
>                                               Brendan
> -- 
> Brendan McKenna                              Email: [EMAIL PROTECTED]
> Development Strategist                       Phone: +353-61-338177
> Taringold Ltd.                               Fax:   +353-61-338065
> 
> 

------------------------------------------------
"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group


Reply via email to