Code: Alles auswählen
aplaptop:/home/apanzenb/download/bootsplash-3.3/Utilities # make
gcc -Os -Wall -I/usr/include/freetype2 -L/usr/lib -o fbtruetype -L/usr/lib fbtruetype.o fbtruetype-messages.o console.o ttf.o luxisri.o -lfreetype -lm
gcc -Os -Wall -I/usr/include/freetype2 -c -o mng.o mng.c
mng.c: In function ‘copyline’:
mng.c:231: error: lvalue required as increment operand
mng.c:282: error: lvalue required as increment operand
make: *** [mng.o] Fehler 1
aplaptop:/home/apanzenb/download/bootsplash-3.3/Utilities #
Code: Alles auswählen
gcc -Os -Wall -I/usr/include/freetype2 -L/usr/lib splash.c -o splash
splash.c: In function ‘setsplash’:
splash.c:416: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
splash.c:434: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
splash.c:469: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
splash.c: In function ‘main’:
splash.c:590: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
gcc -Os -Wall -I/usr/include/freetype2 -L/usr/lib fbresolution.c -o fbresolution
gcc -Os -Wall -I/usr/include/freetype2 -c -o fbtruetype.o fbtruetype.c
fbtruetype.c:39: warning: pointer targets in initialization differ in signedness
fbtruetype.c: In function ‘main’:
fbtruetype.c:106: warning: pointer targets in assignment differ in signedness
fbtruetype.c:141: warning: pointer targets in passing argument 2 of ‘rendertext’ differ in signedness
gcc -Os -Wall -I/usr/include/freetype2 -c -o fbtruetype-messages.o fbtruetype-messages.c
gcc -Os -Wall -I/usr/include/freetype2 -c -o console.o console.c
gcc -Os -Wall -I/usr/include/freetype2 -c -o ttf.o ttf.c
In file included from ttf.c:13:
/usr/include/freetype2/freetype/freetype.h:20:2: error: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: error: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: error: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: error: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: error: #error " #include FT_FREETYPE_H"
ttf.c: In function ‘rendertext’:
ttf.c:802: warning: pointer targets in assignment differ in signedness
make: *** [ttf.o] Fehler 1