Skip to contentSkip to conversation

compile error - kernel 2.4.17 +

DISCUSSION Frederick Lefebvre 2 participants 2 messages Apr 19, 2002 – Apr 29, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

The patchin.sh utility replaces compatmac.h which is included from mtd.h and then from fs/jffs2/background.c . The problem is that compatmac.h redefines recalc_sigpending(struct task_struct *t) with ecalc_sigpending(void) which is used by fs/jffs2/background.c . The consequence is that the jffs2 driver does not compile anymore. Am I missing something or is that a bug?

Fred

Signature · 6 lines
Frederick Lefebvre
[email protected]
Software Developer,
(418)523-4474 #242
Infomedia Research Group (IRG)
Quebec, Canada
#1 lore raw
Quoted 7 lines · Frederick Lefebvre

The patchin.sh utility replaces compatmac.h which is included from mtd.h and then from fs/jffs2/background.c . The problem is that compatmac.h redefines recalc_sigpending(struct task_struct *t) with ecalc_sigpending(void) which is used by fs/jffs2/background.c . The consequence is that the jffs2 driver does not compile anymore. Am I missing something or is that a bug?

I got the same error as I got the last CVS yesterday. Of course I have
changed the 2 calls in background.c and it works fine. Is it an 'official' bug? Are we missing anything?

regards

Quoted 2 lines

Frederick Lefebvre
[email protected]

Signature · 4 lines
Pierre FICHEUX -/- CTO OpenWide, France -\- [email protected]
				         http://www.ficheux.com
					 http://www.emulateur-xtel.org
More fun, more freedom, less Micro$oft