Code: Select all
user@user-SATELLITE:~/Downloads/gcmtool-0.3.2/src$ make
make all-am
make[1]: Entering directory '/home/user/Downloads/gcmtool-0.3.2/src'
source='GCMDiskHeader.c' object='GCMDiskHeader.o' libtool=no \
depfile='.deps/GCMDiskHeader.Po' tmpdepfile='.deps/GCMDiskHeader.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c `test -f 'GCMDiskHeader.c' || echo './'`GCMDiskHeader.c
GCMDiskHeader.c: In function ‘GCMRawDiskHeaderToStruct’:
GCMDiskHeader.c:160:34: error: lvalue required as increment operand
h->unknown1 = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:168:44: error: lvalue required as increment operand
h->debugMonitorOffset = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:171:45: error: lvalue required as increment operand
h->debugMonitorAddress = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:176:35: error: lvalue required as increment operand
h->dolOffset = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:179:35: error: lvalue required as increment operand
h->fstOffset = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:182:34: error: lvalue required as increment operand
h->fstSize = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:185:38: error: lvalue required as increment operand
h->fstSizeMax = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:188:38: error: lvalue required as increment operand
h->userPosition = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:191:38: error: lvalue required as increment operand
h->userLength = *((u32*)rawHeader)++;
^
GCMDiskHeader.c:194:35: error: lvalue required as increment operand
h->unknown2 = *((u32*)rawHeader)++;
^
Makefile:256: recipe for target 'GCMDiskHeader.o' failed
make[1]: *** [GCMDiskHeader.o] Error 1
make[1]: Leaving directory '/home/user/Downloads/gcmtool-0.3.2/src'
Makefile:163: recipe for target 'all' failed
make: *** [all] Error 2