hook.c: In function ‘ethInit’: hook.c:84: error: ‘command’ undeclared (first use in this function) hook.c:84: error: (Each undeclared identifier is reported only once hook.c:84: error: for each function it appears in.) hook.c:86: error: ‘result’ undeclared (first use in this function) hook.c:102: warning: implicit declaration of function ‘SnapshotPredict’ hook.c:104: error: ‘history’ undeclared (first use in this function) hook.c:104: warning: left-hand operand of comma expression has no effect hook.c:104: warning: left-hand operand of comma expression has no effect hook.c:104: warning: statement with no effect hook.c:105: warning: left-hand operand of comma expression has no effect hook.c:105: warning: left-hand operand of comma expression has no effect hook.c:105: warning: statement with no effect hook.c:106: warning: left-hand operand of comma expression has no effect hook.c:106: warning: left-hand operand of comma expression has no effect hook.c:106: warning: statement with no effect hook.c:108: warning: left-hand operand of comma expression has no effect hook.c:108: warning: left-hand operand of comma expression has no effect hook.c:108: warning: statement with no effect hook.c:109: warning: left-hand operand of comma expression has no effect hook.c:109: warning: left-hand operand of comma expression has no effect hook.c:109: warning: statement with no effect hook.c:110: warning: left-hand operand of comma expression has no effect hook.c:110: warning: left-hand operand of comma expression has no effect hook.c:110: warning: statement with no effect hook.c: In function ‘SnapshotPredict’: hook.c:169: warning: left-hand operand of comma expression has no effect hook.c:169: warning: left-hand operand of comma expression has no effect hook.c:169: warning: statement with no effect hook.c: In function ‘ethInit’: hook.c:1332: error: syntax error at end of input make: *** [hook.o] Error 1