D:\ftpd>make
make[1]: Entering directory `/d/ftpd'
console.c
arm-none-eabi-gcc -MMD -MP -MF /d/ftpd/build/console.d -g -Wall -O3 -mword-reloc
ations -march=armv6k -mtune=mpcore -mfloat-abi=hard -DSTATUS_STRING="\"ftpd v2.2
\"" -I/d/ftpd/include -I/c/devkitPro/libctru/include -I/d/ftpd/build -DARM11 -D_
3DS -c /d/ftpd/source/console.c -o console.o
d:/ftpd/source/console.c: In function 'print_tcp_table':
d:/ftpd/source/console.c:73:10: error: unknown type name 'SOCU_TCPTableEntry'
static SOCU_TCPTableEntry tcp_entries[32];
^
d:/ftpd/source/console.c:81:8: warning: implicit declaration of function 'SOCU_G
etNetworkOpt' [-Wimplicit-function-declaration]
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: error: 'SOL_CONFIG' undeclared (first use in thi
s function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:81:27: note: each undeclared identifier is reported onl
y once for each function it appears in
d:/ftpd/source/console.c:81:39: error: 'NETOPT_TCP_TABLE' undeclared (first use
in this function)
rc = SOCU_GetNetworkOpt(SOL_CONFIG, NETOPT_TCP_TABLE, tcp_entries, &optlen);
^
d:/ftpd/source/console.c:86:36: error: 'SOCU_TCPTableEntry' undeclared (first us
e in this function)
for(i = 0; i < optlen / sizeof(SOCU_TCPTableEntry); ++i)
^
d:/ftpd/source/console.c:88:27: error: 'entry' undeclared (first use in this fun
ction)
SOCU_TCPTableEntry *entry = &tcp_entries;
^
d:/ftpd/source/console.c:95:14: error: 'TCP_STATE_CLOSED' undeclared (first use
in this function)
case TCP_STATE_CLOSED:
^
d:/ftpd/source/console.c:97:14: error: 'TCP_STATE_LISTEN' undeclared (first use
in this function)
case TCP_STATE_LISTEN:
^
d:/ftpd/source/console.c:99:14: error: 'TCP_STATE_ESTABLISHED' undeclared (first
use in this function)
case TCP_STATE_ESTABLISHED:
^
d:/ftpd/source/console.c:101:14: error: 'TCP_STATE_FINWAIT1' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT1:
^
d:/ftpd/source/console.c:103:14: error: 'TCP_STATE_FINWAIT2' undeclared (first u
se in this function)
case TCP_STATE_FINWAIT2:
^
d:/ftpd/source/console.c:105:14: error: 'TCP_STATE_CLOSE_WAIT' undeclared (first
use in this function)
case TCP_STATE_CLOSE_WAIT:
^
d:/ftpd/source/console.c:107:14: error: 'TCP_STATE_LAST_ACK' undeclared (first u
se in this function)
case TCP_STATE_LAST_ACK:
^
d:/ftpd/source/console.c:109:14: error: 'TCP_STATE_TIME_WAIT' undeclared (first
use in this function)
case TCP_STATE_TIME_WAIT:
^
make[2]: *** [console.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/ftpd'
make: *** [all] Error 2