Koodi: Valitse kaikki
gcc -I./src -I./userial -O2 -DDARWIN -c -o userial/crcutil.o userial/crcutil.c
userial/crcutil.c:34: error: parse error before 'ushort'
userial/crcutil.c:35: error: parse error before 'docrc16'
userial/crcutil.c:35: error: parse error before 'ushort'
userial/crcutil.c:35: warning: data definition has no type or storage class
userial/crcutil.c:40: error: parse error before 'utilcrc16'
userial/crcutil.c:40: warning: data definition has no type or storage class
userial/crcutil.c:66: error: parse error before 'ushort'
userial/crcutil.c: In function 'setcrc16':
userial/crcutil.c:68: error: 'portnum' undeclared (first use in this function)
userial/crcutil.c:68: error: (Each undeclared identifier is reported only once
userial/crcutil.c:68: error: for each function it appears in.)
userial/crcutil.c:68: error: 'reset' undeclared (first use in this function)
userial/crcutil.c: At top level:
userial/crcutil.c:95: error: parse error before 'docrc16'
userial/crcutil.c:95: error: parse error before 'ushort'
userial/crcutil.c: In function 'docrc16':
userial/crcutil.c:97: error: 'cdata' undeclared (first use in this function)
userial/crcutil.c:97: error: 'portnum' undeclared (first use in this function)
make: *** [userial/crcutil.o] Error 1