具体的编译过程与提示信息如下:
[root@Rollin7 src]# gcc -o timeeditor timeeditor.c -lpthread -lminigui -ljpeg -lpng -lz -lmgext
In file included from timeeditor.c:23:
/usr/include/minigui/mgext.h:70: syntax error before "BOOL"
/usr/include/minigui/mgext.h:81: syntax error before "void"
timeeditor.c: In function `TimeEditorWinProc':
timeeditor.c:146: `CTRL_SPINBOX' undeclared (first use in this function)
timeeditor.c:146: (Each undeclared identifier is reported only once
timeeditor.c:146: for each function it appears in.)
timeeditor.c:147: `SPM_SETTARGET' undeclared (first use in this function)