localhost izilla # make
gcc -c clock.c -O3 -g -Wall `ttk-config --x11 --sdl --cflags --libs`
clock.c:15: error: field `time' has incomplete type
clock.c: In function `ttk_new_clock_widget':
clock.c:23: warning: implicit declaration of function `time'
clock.c:24: warning: implicit declaration of function `localtime'
clock.c:24: warning: initialization makes pointer from integer without a cast
clock.c:28: warning: assignment from incompatible pointer type
clock.c:30: warning: implicit declaration of function `ttk_new_clockdata'
clock.c:30: warning: assignment makes pointer from integer without a cast
clock.c:24: warning: unused variable `timeinfo'
clock.c: In function `check_time':
clock.c:42: warning: initialization makes pointer from integer without a cast
clock.c:43: error: dereferencing pointer to incomplete type
clock.c:43: error: dereferencing pointer to incomplete type
clock.c:43: error: dereferencing pointer to incomplete type
clock.c:43: error: dereferencing pointer to incomplete type
clock.c:45: error: dereferencing pointer to incomplete type
clock.c: In function `ttk_draw_clock_widget':
clock.c:55: error: dereferencing pointer to incomplete type
clock.c:55: error: dereferencing pointer to incomplete type
clock.c: At top level:
clock.c:64: error: conflicting types for 'ttk_new_clockdata'
clock.c:30: error: previous implicit declaration of 'ttk_new_clockdata' was here
clock.c: In function `ttk_new_clockdata':
clock.c:66: warning: implicit declaration of function `time'
clock.c:67: warning: initialization makes pointer from integer without a cast
clock.c:69: error: incompatible types in return
make: *** [izilla] Error 1