I get this build failure, which I am suspecting is due to my box being 64-bit. I don't have solid evidence of that, though.
Quote:
plus(pts/10):~/pulse_simulator% uname -a
Linux plus 2.6.35-25-generic #43-Ubuntu SMP Thu Jan 6 22:25:21 UTC 2011 x86_64 GNU/Linux
plus(pts/10):~/pulse_simulator% file lib/libapp_common.a
lib/libapp_common.a: current ar archive
plus(pts/10):~/pulse_simulator% cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
~/pulse_simulator% make
gcc -o build/pulse_app -Iinclude -std=gnu99 -g -Wall lib/obj/main.o -Llib -D PULSE_SIMULATOR -lapp_common -lpulse_os -lpulse_protocol -lpulse_widgets -lgtk-x11-2.0 src/pulse_app.c
src/pulse_app.c: In function ‘main_app_init’:
src/pulse_app.c:38: warning: implicit declaration of function ‘draw_box_update_timer’
src/pulse_app.c: In function ‘main_app_handle_button_down’:
src/pulse_app.c:43: warning: implicit declaration of function ‘pulse_printf’
src/pulse_app.c: At top level:
src/pulse_app.c:51: warning: conflicting types for ‘draw_box_update_timer’
src/pulse_app.c:38: note: previous implicit declaration of ‘draw_box_update_timer’ was here
src/pulse_app.c: In function ‘draw_box_update_timer’:
src/pulse_app.c:57: warning: implicit declaration of function ‘draw_box’
src/pulse_app.c:64: warning: passing argument 2 of ‘pulse_register_timer’ from incompatible pointer type
include/pulse_os.h:93: note: expected ‘PulseCallback’ but argument is of type ‘void (*)(int)’
src/pulse_app.c:64: warning: passing argument 3 of ‘pulse_register_timer’ makes pointer from integer without a cast
include/pulse_os.h:93: note: expected ‘void *’ but argument is of type ‘int’
src/pulse_app.c: At top level:
src/pulse_app.c:67: warning: conflicting types for ‘draw_box’
src/pulse_app.c:57: note: previous implicit declaration of ‘draw_box’ was here
/usr/bin/ld: skipping incompatible lib/libapp_common.a when searching for -lapp_common
/usr/bin/ld: cannot find -lapp_common
/usr/bin/ld: skipping incompatible lib/libpulse_os.a when searching for -lpulse_os
/usr/bin/ld: cannot find -lpulse_os
/usr/bin/ld: skipping incompatible lib/libpulse_protocol.a when searching for -lpulse_protocol
/usr/bin/ld: cannot find -lpulse_protocol
collect2: ld returned 1 exit status