Skip to contentSkip to conversation

Error in mtd/util/Makefile.am

DISCUSSION Karim Yaghmour 1 participant 1 message Jul 28, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

There seems to be an error in the Makefile.am file for the utilities. The instructions for building compr.c:
compr.o: compr.c

        $(COMPILE) $(CFLAGS) $(INCLUDES) -Dprintk=printf -DKERN_NOTICE= -c -o $@ $< 

should actually be:
compr.o: compr.c

        $(COMPILE) $(CFLAGS) $(INCLUDES) -Dprintk=printf -DKERN_WARNING= -DKERN_NOTICE= -c -o $@ $< 

There's a missing "-DKERN_WARNING=" which will result in a failed build.

Karim

===================================================
Karim Yaghmour
[email protected]
Embedded and Real-Time Linux Expert
===================================================