bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure: WARNING: sys/ptem.h: present but cannot be compiled


From: Garry Williams
Subject: Re: configure: WARNING: sys/ptem.h: present but cannot be compiled
Date: Mon, 12 Apr 2004 12:59:47 -0400
User-agent: Mutt/1.2.5i

On Tue, Apr 06, 2004 at 16:26:26 -0400, Garry Williams wrote:
> I'm sending this because configure told me to: 
> 
> I just downloaded gdb 6.1 and ran configure with no options.  My
> system: 
> 
>     $ uname -a
>     SunOS vfr 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-5_10
>     $ gcc --version
>     gcc (GCC) 3.3.2
> 
> The problem: 
> 
>     $ cd gdb-6.1
>     $ ./configure
>     ...
>     Configuring in readline
>     ...
>     checking limits.h presence... yes
>     checking for limits.h... yes
>     checking sys/ptem.h usability... no
>     checking sys/ptem.h presence... yes
>     configure: WARNING: sys/ptem.h: present but cannot be compiled
>     configure: WARNING: sys/ptem.h: check for missing prerequisite headers?
>     configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result
>     configure: WARNING:     ## ------------------------------------ ##
>     configure: WARNING:     ## Report this to address@hidden ##
>     configure: WARNING:     ## ------------------------------------ ##

[snip]

Here's a follow-up on the cause: 

    $ cat try.c 
    #include <sys/ptem.h>
    int main() {}
    $ cc -o try try.c
    In file included from try.c:1:
    /usr/include/sys/ptem.h:25: error: parse error before "mblk_t"
    /usr/include/sys/ptem.h:29: error: parse error before '}' token
    $ 

The mblk_t type is defined in sys/stream.h:

    $ cat try.c
    #include <sys/stream.h>
    #include <sys/ptem.h>
    int main() {}
    $ cc -o try try.c
    $

I don't know much of anything about termio and the only manual pages I
found referring to sys/stream.h were getq(9F) and friends.  I didn't
look too hard.  If you need additional information, let me know.  

By the way, I never received any confirmation of receipt of my
original message.  Is there anyone in there?  

-- 
Garry Williams, Zvolve Systems, Inc., +1 770 813-4934




reply via email to

[Prev in Thread] Current Thread [Next in Thread]