Please forgive me if I'm missing something here, but I don't see SIGHAND anywhere in compat.h. I'm looking in ./driver in the source for 0.2.0-rc3i. I just downloaded it from www.ivtv.tv...
-khanh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Kennedy Sent: Monday, April 18, 2005 5:31 PM To: [email protected] Subject: Re: [ivtv-devel] compiling 0.2.0-rc3i For some reason every distribution requires the SIGHAND define to be different, so here's a part of compat.h, I'm not sure what will work for yours, but basically change the definition till it works (defined in two places, one for 2.6, other for 2.4). #ifdef INIT_SIGHAND #define SIGMASK_LOCK(current) (¤t->sigmask_lock) #else #define SIGMASK_LOCK(current) (¤t->sighand->siglock) #endif So try switching INIT_SIGHAND to INIT_SIGHAND000 or something, so it does the opposite, do it in both places this function is, and report which one works best. I think I've heard this before, again and again, that in Suse this is the opposite of most other systems. Thanks, Chris On Mon, Apr 18, 2005 at 05:15:26PM -0400, Khanh Tran wrote: > Hello... > > I was trying to compile 0.2.0-rc3i on SuSE 9.0 with no luck. I could > get 0.2.0-rc3f compiled though. I'm using kernel 2.4.21 and get the > errors below when compiling. I googled around for a while today, and > saw one other list post about this issue (also SuSE 9), but didn't see > a solution. Anyone get this working? > > gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS > -I/lib/modules/2.4.21-273-default/build/include -O2 > -fomit-frame-pointer > -march=i586 -mcpu=i586 -fno-strict-aliasing -Wno-unused -include > /lib/modules/2.4.21-273-default/build/include/linux/modversions.h > -DNEW_I2C -DNEW_I2C -c -o ivtv-kthreads.o ivtv-kthreads.c > ivtv-kthreads.c: In function `ivtv_dec_thread': > ivtv-kthreads.c:1141: error: structure has no member named `sighand' > ivtv-kthreads.c: In function `ivtv_enc_thread': > ivtv-kthreads.c:1186: error: structure has no member named `nice' > make: *** [ivtv-kthreads.o] Error 1 > > Thanks... > > -Khanh > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime > info, new features, or free trial, at: > http://www.businessobjects.com/devxi/728 > _______________________________________________ > ivtv-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ivtv-devel -- --- Chris Kennedy / [EMAIL PROTECTED] Engineer KMOS-TV/KTBG-FM Broadcasting Services Department Central Missouri State University ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
