Compile error against 2.6.20 - INIT_WORK
"Tiemen Gysels" <[email protected]>
| Newsgroups | gmane.comp.video.marvel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I tried to compile the latest driver_fb against the latest ubuntu kernel and got the following error: tiemelijn@strongbad:~/Desktop/driver_fb$ make LINUX_SOURCE=/home/tiemelijn/ubuntu-2.6/debian/build/build-generic/ make -C /home/tiemelijn/ubuntu-2.6/debian/build/build-generic/ SUBDIRS=/home/tiemelijn/Desktop/driver_fb make[1]: Entering directory `/home/tiemelijn/ubuntu-2.6/debian/build/build-generic' CC [M] /home/tiemelijn/Desktop/driver_fb/mgacodec.o CC [M] /home/tiemelijn/Desktop/driver_fb/mgacore.o CC [M] /home/tiemelijn/Desktop/driver_fb/mgabes.o CC [M] /home/tiemelijn/Desktop/driver_fb/mgagrab.o /home/tiemelijn/Desktop/driver_fb/mgagrab.c:1258:45: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/tiemelijn/Desktop/driver_fb/mgagrab.c: In function 'mgagrab_register_bh': /home/tiemelijn/Desktop/driver_fb/mgagrab.c:1258: error: 'INIT_WORK' undeclared (first use in this function) /home/tiemelijn/Desktop/driver_fb/mgagrab.c:1258: error: (Each undeclared identifier is reported only once /home/tiemelijn/Desktop/driver_fb/mgagrab.c:1258: error: for each function it appears in.) make[2]: *** [/home/tiemelijn/Desktop/driver_fb/mgagrab.o] Error 1 make[1]: *** [_module_/home/tiemelijn/Desktop/driver_fb] Error 2 make[1]: Leaving directory `/home/tiemelijn/ubuntu-2.6/debian/build/build-generic' make: *** [all] Error 2 What do I have to do to make it work? Thanks, Tiemen. (And thanks to all for making and maintaining this driver) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV