[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP]
From:       Daniel Gollub <dgollub () suse ! de>
Date:       2008-10-22 13:35:12
Message-ID: 200810221535.12536.dgollub () suse ! de
[Download RAW message or body]

On Wednesday 22 October 2008 15:18:33 Subrata Modak wrote:
> Is there any way by which this can be fixed ?

I'll have a quick look on this ....

(some question below)

> 
> Regards--
> Subrata
> 
> On Mon, 2008-10-20 at 15:31 +0530, Subrata Modak wrote:
> > Hi Daniel,
> > 
> > On Mon, 2008-10-20 at 11:36 +0200, Daniel Gollub wrote:
> > > On Monday 20 October 2008 11:22:57 Subrata Modak wrote:
> > > > I found some compilation errors for the connectors at today īs CVS
> > > > snapshot on the following machine. Can you please look into this:
> > > > 
> > > > 1) uname -a
> > > > Linux 2.6.27-autokern1 #1 SMP Mon Oct 20 00:45:37 PDT 2008 i686
> > > > GNU/Linux

You're running 2.6.27 ...

> > > > 
> > > > 
> > > > # gcc --version
> > > > gcc (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
> > > > 
> > > > 
> > > > cc -Wall  -I../../../../include -Wall    pec_listener.c
> > > > -L../../../../lib -lltp -o pec_listener
> > > > pec_listener.c:33:29: error: linux/connector.h: No such file or
> > > > directory
> > > > pec_listener.c:35:27: error: linux/cn_proc.h: No such file or directory
> > > [...]

... but do you don't have the 2.6.27 kernel headers installed - right?

Trying to find out when connector.h and cn_proc.h  got introduced
and installed as linux-kernel-headers....


> > > 
> > > This looks pretty odd - do you have a valid copy of linux-kernel-headers
> > > installed?
> > > 
> > > /usr/include/linux/connector.h present?
> > 
> > No. Neither the kernel header nor this /usr/include/linux/connector.h is
> > present in that system.
> > 
> > But, what i am looking at is the the test cases should be able to handle
> > this with a proper message either during the compile/install process as
> > well as during the run process. Compilation errors should not pop up as
> > LTP may, and, will get compiled in older systems with older kernels and
> > headers. As well as in systems where just the newer kernel is built
> > without the proper kernel header and glibc support.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic