Snapshot 21/2
list Lars Ebeling
gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I /home/hobbit/snapshot/include -I/usr/local/include -c -o hobbit-ghosts.o hobbit- ghosts.c hobbit-ghosts.c: In function `find_candidate': hobbit-ghosts.c:109: error: parse error before "if" hobbit-ghosts.c:121: error: parse error before '}' token hobbit-ghosts.c:132: error: `argi' undeclared (first use in this function) hobbit-ghosts.c:132: error: (Each undeclared identifier is reported only once hobbit-ghosts.c:132: error: for each function it appears in.) hobbit-ghosts.c:132: error: `argc' undeclared (first use in this function) hobbit-ghosts.c:133: error: `argv' undeclared (first use in this function) hobbit-ghosts.c:257: warning: `return' with a value, in function returning void hobbit-ghosts.c:258: error: parse error at end of input make[1]: *** [hobbit-ghosts.o] Error 1 make[1]: Leaving directory `/home/hobbit/snapshot/web' make: *** [web-build] Error 2 -- Regards Lars Ebeling http://leopg9.no-ip.org Hobbithobbyist "It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
list Keith W. Meserole
I had the same error on Solaris 10 X86....
▸
From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Thursday, February 21, 2008 1:32 AM To: hobbit Subject: [hobbit] Snapshot 21/2 gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I /home/hobbit/snapshot/include -I/usr/local/include -c -o hobbit-ghosts.o hobbit- ghosts.c hobbit-ghosts.c: In function `find_candidate': hobbit-ghosts.c:109: error: parse error before "if" hobbit-ghosts.c:121: error: parse error before '}' token hobbit-ghosts.c:132: error: `argi' undeclared (first use in this function) hobbit-ghosts.c:132: error: (Each undeclared identifier is reported only once hobbit-ghosts.c:132: error: for each function it appears in.) hobbit-ghosts.c:132: error: `argc' undeclared (first use in this function) hobbit-ghosts.c:133: error: `argv' undeclared (first use in this function) hobbit-ghosts.c:257: warning: `return' with a value, in function returning void hobbit-ghosts.c:258: error: parse error at end of input make[1]: *** [hobbit-ghosts.o] Error 1 make[1]: Leaving directory `/home/hobbit/snapshot/web' make: *** [web-build] Error 2 -- Regards Lars Ebeling http://leopg9.no-ip.org Hobbithobbyist "It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
list Alexandre Levin
It looks like the function "find_candidate" is not ready yet ... J I've commented it and the line 196 ( find_candidate(&ghosttable[idx]); ) Snapshot was successfully complied (and running) after the modification Alexandre Levin
▸
From: Meserole, Keith W. [mailto:user-73279f70f6bb@xymon.invalid] Sent: Friday, February 22, 2008 12:45 AM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Snapshot 21/2 I had the same error on Solaris 10 X86.... From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Thursday, February 21, 2008 1:32 AM To: hobbit Subject: [hobbit] Snapshot 21/2 gcc -g -O -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHPUX -I. -I /home/hobbit/snapshot/include -I/usr/local/include -c -o hobbit-ghosts.o hobbit- ghosts.c hobbit-ghosts.c: In function `find_candidate': hobbit-ghosts.c:109: error: parse error before "if" hobbit-ghosts.c:121: error: parse error before '}' token hobbit-ghosts.c:132: error: `argi' undeclared (first use in this function) hobbit-ghosts.c:132: error: (Each undeclared identifier is reported only once hobbit-ghosts.c:132: error: for each function it appears in.) hobbit-ghosts.c:132: error: `argc' undeclared (first use in this function) hobbit-ghosts.c:133: error: `argv' undeclared (first use in this function) hobbit-ghosts.c:257: warning: `return' with a value, in function returning void hobbit-ghosts.c:258: error: parse error at end of input make[1]: *** [hobbit-ghosts.o] Error 1 make[1]: Leaving directory `/home/hobbit/snapshot/web' make: *** [web-build] Error 2 -- Regards Lars Ebeling http://leopg9.no-ip.org Hobbithobbyist "It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain