ghuntley/pianobarfly — Issue #14: Compile error in src/fly.c
Author: rhyguy
Created: 2011-11-17 18:02:40+00:00
State: open

As far as I can tell I have all the prerequistes installed but I keep hitting a brick wall when I compile. Here is the output of what I'm getting. I'm using Ubuntu 11.04 64bit.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
~/src/pianobarfly$ make
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/main.o src/main.c
src/main.c: In function ‘BarMainGetLoginCredentials’:
src/main.c:119:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/player.o src/player.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/settings.o src/settings.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/terminal.o src/terminal.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/ui_act.o src/ui_act.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/ui.o src/ui.c
src/ui.c: In function ‘BarUiStartEventCmd’:
src/ui.c:842:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
src/ui.c:853:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
src/ui.c:860:11: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
src/ui.c:865:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/ui_readline.o src/ui_readline.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/ui_dispatch.o src/ui_dispatch.c
c99 -O2 -DNDEBUG -I src/libpiano -I src/libwaitress \
-I src/libezxml -DENABLE_FAAD \
-DENABLE_MAD -DENABLE_ID3TAG -c -o src/fly.o src/fly.c
src/fly.c:252:7: error: expected identifier or ‘(’ before ‘__extension__’
src/fly.c:254:7: error: expected identifier or ‘(’ before ‘__extension__’
make: *** [src/fly.o] Error 1