Error in mtd/util/Makefile.am

Karim Yaghmour karim at opersys.com
Sun Jul 28 17:54:45 EDT 2002


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
               karim at opersys.com
      Embedded and Real-Time Linux Expert
===================================================




More information about the linux-mtd mailing list