droid-gcc -c -pipe -O2 -I/home/kurtl/orbit_build/external/zlib/ -pthread -Wall -Ipcre filters.c -o filters.o arm-eabi-gcc: unrecognized option '-pthread' filters.c:121: error: expected declaration specifiers or '...' before 'in_port_t' filters.c: In function 'sockaddr_storage_to_ip': filters.c:140: error: 'port' undeclared (first use in this function) filters.c:140: error: (Each undeclared identifier is reported only once filters.c:140: error: for each function it appears in.) filters.c: In function 'match_sockaddr': filters.c:190: error: 'in_port_t' undeclared (first use in this function) filters.c:190: error: 'network_port' undeclared (first use in this function) filters.c:190: error: 'netmask_port' undeclared (first use in this function) filters.c:190: warning: left-hand operand of comma expression has no effect filters.c:190: error: 'address_port' undeclared (first use in this function) filters.c:190: warning: left-hand operand of comma expression has no effect filters.c:202: error: too many arguments to function 'sockaddr_storage_to_ip' filters.c:203: error: too many arguments to function 'sockaddr_storage_to_ip' filters.c:204: error: too many arguments to function 'sockaddr_storage_to_ip' filters.c: In function 'acl_addr': filters.c:352: error: 'in_port_t' undeclared (first use in this function) filters.c:352: error: 'mask_port' undeclared (first use in this function) filters.c:472: error: too many arguments to function 'sockaddr_storage_to_ip' make: *** [filters.o] Error 1