Re: GNOME vs GNU gcc & glibc



>From the man page:

SYNOPSIS
       #include <sys/time.h>
       #include <sys/types.h>
       #include <unistd.h>

Why would source files be including sys/select.h directly?


Gleef wrote:
> 
> On Wed, 14 Apr 1999, Sergio Brandano wrote:
> > >>>gnome-linuxconf-0.20
> > >>>  make failed, details follow:
> > >>>io.c:21: sys/select.h: No such file or directory
> >
> > >>  I am using the latest Slackware (3.6), where gcc-2.7.2.3 and libc5.4.46
> > >>  are installed. You referred to glibc-devel, so I guess you are using
> > >>  glibc-2.1 instead of libc5.
> >
> > >No, I am using glibc 2.0.  But GNOME works pretty much on every
> > >system.  I am starting to believe that the package you installed for
> > >slackware is either incomplete or corrupt or that you need a separate
> > >"development" package to be installed.
> >
> >  I checked in both libc-5.4.46.tar.gz and gcc-2.7.2.3.tar.gz, but no
> >  select.h file exists or can be generated by.
> >
> >  I then checked in glibc-2.1.tar.gz;
> >  the file appears in include/sys/select.h.
> >
> >  It seems I have found something that depends on glibc.
> 
> The select function allows a program to watch a file's status and wait for
> it to become available to read/write/whatever.  The function is manditory
> in the Unix(tm) specification, the BSD 4.3 and the draft LSB
> specification, it is not glibc-specific.
> 
> If I recall, the function is in sys/types.h in libc5 and BSD systems.
> Assuming the function is available in libc5, it should be simple to select
> the right include file for it via configure.
> 
> Best of Luck,
> -Gleef
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

--
Harold



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