<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: "Shashank Khanvilkar" <shashank,AT,mia,DOT,ece,DOT,uic,DOT,edu>
Subject: Re: compiling cipe
From: "Ron Bombard" <ronb,AT,nativetextiles,DOT,com>
Date: Thu, 26 Jun 2003 16:51:15 -0400
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <00fa01c33c24$76a4d8f0$c900a8c0@ece.uic.edu>

That was magically delicious!  (worked like a charm)
Thanks!

Ron

> 
> >
> > I've been using cipe for many years now, and am installing it on a new
> > machine with a new version of RedHat.
> >
> > Is there a trick to compiling this thing?   I compiled the kernel no
> > problem.   Now I'm trying to compile cipe.
> > I configured it, pointing to the linux include dir:
> >
> > ./configure --with-linux-include=/usr/src/linux-2.4.20-6/include
> >
> > then ran Make.   Every time, when it gets to "/cipe/device.c", it bombs
> > out with the following:
> >
> > ../cipe/device.c: In function `cipe_owner':
> > ../cipe/device.c:223: structure has no member named `next_task'
> > gmake[1]: *** [device.o] Error 1
> > gmake[1]: Leaving directory `/home/ronb/cipe-1.5.4/2.4.20-6custom-
> >
> > Any suggestions would be apprecited.  I'm not a programmer, so I may
> > be doing something simple/stupid.
> >
> > Thanks!
> > Ron
> 
> Try the following :
> (replace the cipe_owner() function in cipe/device.c) with the following..It
> worked for me).
> 
> static int cipe_owner(struct cipe *c)
> {
>     struct task_struct *p;
>     pid_t pid=c->owner;
>     tasklist_LOCK();
>     p=current;
>     do {
>         if (p->pid==pid) {
>             tasklist_UNLOCK();
>             return pid;
>         }
>         //p=p->next_task;            //comment this out
>         next_task(p);                     //Add this line
>     } while (p!=current);
>     tasklist_UNLOCK();
>     return 0;
> }
> Shank
> 

---------------------------------------------------
Ron Bombard,  Network Administrator
Meddle not in the affairs of dragons... for you 
are crunchy, and taste like chicken.


<< | Thread Index | >> ]    [ << | Date Index | >> ]