On Wed, Mar 7, 2012 at 10:19 AM, Dr.-Ing. Edgar Alwers <[email protected]> wrote: > Hi, > > I am trying to build Gutenprint under KDE-4.7.4. Neither the book version > 5.2.5 nor 5.2.7 go through the "make" process. A long error shows up, > starting with > quote > -------------- > commandtoepson.c: In function 'main': > commandtoepson.c:51:3: error: unknown type name 'FILE' > commandtoepson.c:68:5: error: implicit declaration of function 'fputs' > [-Werror=implicit-function-declaration] > etc.... > ------------- > Unquote. >
It looks like that file is missing a call to include stdio.h. That may happen because of the house-of-cards nature of include hierarchies. The quickest and easiest option might be to manually insert the call in that file. Open commandtoepson.c in a text editor. At the beginning of the file, insert a new line with the following text #include <stdio.h> Save and close the file and try again. Actually, an easier fix is to avoid building the problem file. If you don't need epson drivers, find and use the configure option to disable epson drivers. hth, rick -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
