Re: up_time compilation problem

"Brian F. G. Bidulock" <[email protected]> Tue, 30 Aug 2005 18:25:38 -0600
Newsgroups gmane.linux.kernel.streams
Organization http://www.openss7.org/
Message-ID <[email protected]>
EugeneLisStreams,

What kernel?

--brian

On Tue, 30 Aug 2005, [email protected] wrote:

> Hi,
> 
> I have the following problem when compile 
> my stream application utility on 2.18:
> 
> In file included from ../../../../../../../telco_tools/linux/LiS/include/sys/LiS/queue.h:53,
> from ../../../../../../../telco_tools/linux/LiS/include/sys/strmsg.h:53,   from ../../../../../../../telco_tools/linux/LiS/include/sys/stream.h:80,
> from myutil.c:10:
> ../../../../../../../telco_tools/linux/LiS/include/sys/lislocks.h:267: error: field `up_time' has incomplete type
> 
> The 'struct timeval up_time' is a part of 'lis_semaphore' structure.
> It was added in 2.18.0 only.
> My utility that used to compile nicely on 2.16.18 
> now fails compilation on 2.18.0  apparently because time.h
> is not included properly.
> 
> I guess it is my fault and I'm missing something.
> 
> Cannot figure out what, though.  
> 
> Will appreciate any advise on the subject.
> 
> thanks,
> --
> Eugene
> 

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
[email protected]    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦