undefined symbols

i am trying to compile transcode on AIX v 4.3.3 with gcc 3.0.1

i am getting this error:

gcc -shared -o .libs/libexport_null.so.0 export_null.o -lpthread -ldl -lc -Wl,-bnoentry -Wl,-bexport:.libs/libexport_null.exp

ld: 0711-317 ERROR: Undefined symbol: capability_flag
ld: 0711-317 ERROR: Undefined symbol: verbose_flag

code from export_null.c
static int verbose_flag=TC_QUIET;
static int capability_flag=-1; //all codecs welcome