Nathan Schurr@teamstupidest ~/rescue-0_47/program $ make if [ ! -f configured ]; then\ /bin/sh ./configure;\ touch configured;\ fi for dir in librescue blockadessimulator collapsesimulator firesimulator gis kernel miscsimulator civilian traffic viewer ; do\ (cd $dir ; make)\ done make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/librescue' g++ -fPIC -D __OLD_CONSTANTS__ -Wall -g -c -o connection.o connection.cc cc1plus: warning: -fPIC ignored for target (all code is position independent) connection.cc: In member function `void Librescue::Address::fill(sockaddr_in*) const': connection.cc:106: error: `AF_INET' undeclared (first use this function) connection.cc:106: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [connection.o] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/librescue' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/blockadessimulator' g++ -o blockadessimulator getBlock.o getPoly.o getShindo.o initArea.o main.o polygonIn.o -L../librescue -lm -lpthread -lrescue /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lrescue collect2: ld returned 1 exit status make[1]: *** [blockadessimulator] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/blockadessimulator' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/collapsesimulator' g++ -o collapsesimulator collapse_check.o getAccel.o getDamageRatio.o getPoly.o main.o phi.o polygonIn.o -L../librescue -lm -lpthread -lrescue /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lrescue collect2: ld returned 1 exit status make[1]: *** [collapsesimulator] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/collapsesimulator' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/firesimulator' javac -classpath source source/*.java cd source && bash buildjar.sh && cd .. make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/firesimulator' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/gis' g++ -o gis main.o -L../librescue -lm -lrescue /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lrescue collect2: ld returned 1 exit status make[1]: *** [gis] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/gis' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/kernel' g++ -c -pipe -DNDEBUG -Wall -g -D __OLD_CONSTANTS__ System.cxx In file included from /usr/include/sys/time.h:27, from System.cxx:14: /usr/include/sys/select.h:31: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/select.h:31: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here In file included from System.cxx:14: /usr/include/sys/time.h:37: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/time.h:37: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here /usr/include/sys/time.h:38: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/time.h:38: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here /usr/include/sys/time.h:73: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/time.h:73: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here /usr/include/sys/time.h:74: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/time.h:74: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here /usr/include/sys/time.h:75: error: use of `timeval' is ambiguous /usr/include/sys/time.h:16: error: first declared as `struct timeval' here ../librescue/connection_manager.h:155: error: also declared as `struct Librescue::timeval' here /usr/include/sys/time.h:75: error: `timeval' denotes an ambiguous type /usr/include/sys/time.h:16: error: first type here ../librescue/connection_manager.h:155: error: other type here System.cxx: In function `bool Rescue::kbhit()': System.cxx:465: error: `timeval' undeclared (first use this function) System.cxx:465: error: (Each undeclared identifier is reported only once for each function it appears in.) System.cxx:465: error: parse error before `=' token System.cxx: At global scope: System.cxx:466: error: `STDIN' was not declared in this scope System.cxx:466: error: `fds' was not declared in this scope System.cxx:466: error: `timeout' was not declared in this scope System.cxx:468: error: parse error before `return' System.cxx: In function `long int timeGetTime()': System.cxx:471: error: `timeval' undeclared (first use this function) System.cxx:471: error: parse error before `=' token System.cxx: At global scope: System.cxx:472: error: `tv' was not declared in this scope System.cxx:472: error: ISO C++ forbids declaration of `gettimeofday' with no type System.cxx:472: error: `int gettimeofday' redeclared as different kind of symbol /usr/include/sys/time.h:73: error: previous declaration of `int gettimeofday(timeval*, timezone*)' System.cxx:472: error: initializer list being treated as compound expression System.cxx:473: error: parse error before `return' System.cxx:475: error: syntax error before `::' token System.cxx:479: error: ISO C++ forbids declaration of `m_time' with no type System.cxx:480: error: `config' was not declared in this scope System.cxx:480: error: `division' was not declared in this scope System.cxx:482: error: parse error before `if' System.cxx:485: error: parse error before `while' System.cxx:490: error: syntax error before `+=' token System.cxx:491: error: ISO C++ forbids declaration of `lostContinually' with no type System.cxx:491: error: redefinition of `int lostContinually' System.cxx:484: error: `int lostContinually' previously defined here System.cxx:492: error: parse error before `}' token System.cxx:497: error: `now' was not declared in this scope System.cxx:497: error: ISO C++ forbids declaration of `fprintf' with no type System.cxx:497: error: `int fprintf' redeclared as different kind of symbol /usr/include/stdio.h:177: error: previous declaration of `int fprintf(FILE*, const char*, ...)' System.cxx:497: error: initializer list being treated as compound expression System.cxx:498: error: parse error before `}' token System.cxx:501: error: ISO C++ forbids declaration of `m_systemTime' with no type System.cxx:501: error: `now' was not declared in this scope System.cxx:503: error: use of `count' is ambiguous System.cxx:477: error: first declared as `long int count' here /usr/include/c++/3.3.3/bits/stl_algo.h:390: error: also declared as `typename std::iterator_traits<_Iterator>::difference_type std::count(_InputIter, _InputIter, const _Tp&)' here System.cxx:503: error: `division' was not declared in this scope System.cxx:503: error: ISO C++ forbids declaration of `loopCore' with no type System.cxx:503: error: initializer list being treated as compound expression System.cxx:504: error: parse error before `}' token System.cxx:510: error: 'type1' is used as a type, but is not defined as a type. System.cxx:511: error: `type1' was not declared in this scope System.cxx:511: error: parse error before `)' token System.cxx:511: error: ISO C++ forbids declaration of `AutoCast' with no type System.cxx: In function `int AutoCast(...)': System.cxx:512: error: `m_fp' undeclared (first use this function) System.cxx:512: error: `fp' undeclared (first use this function) System.cxx: At global scope: System.cxx:514: error: parse error before `(' token System.cxx:514: error: syntax error before `(' token System.cxx:517: error: `operator void (*)(...)()' must be a nonstatic member function System.cxx:517: error: `operator void (*)(...)()' must take exactly one argument System.cxx:520: error: parse error before `}' token System.cxx:520: error: `dummy' was not declared in this scope System.cxx:520: error: ISO C++ forbids declaration of `autoCast' with no type System.cxx:522: error: syntax error before `.' token System.cxx:524: error: ISO C++ forbids declaration of `sigaction' with no type System.cxx:524: error: `int sigaction' redeclared as different kind of symbol /usr/include/sys/signal.h:147: error: previous declaration of `int sigaction(int, const sigaction*, sigaction*)' System.cxx:524: error: initializer list being treated as compound expression System.cxx:524: warning: converting to non-pointer type `int' from NULL System.cxx:526: error: syntax error before `.' token System.cxx:527: error: syntax error before `.' token System.cxx:528: error: syntax error before `.' token System.cxx:529: error: syntax error before `.' token System.cxx:530: error: ISO C++ forbids declaration of `setitimer' with no type System.cxx:530: error: `int setitimer' redeclared as different kind of symbol /usr/include/sys/time.h:77: error: previous declaration of `int setitimer(int, const itimerval*, itimerval*)' System.cxx:530: error: initializer list being treated as compound expression System.cxx:530: warning: converting to non-pointer type `int' from NULL System.cxx:531: error: parse error before `while' System.cxx:534: error: syntax error before `+=' token System.cxx:536: error: use of `count' is ambiguous System.cxx:477: error: first declared as `long int count' here /usr/include/c++/3.3.3/bits/stl_algo.h:390: error: also declared as `typename std::iterator_traits<_Iterator>::difference_type std::count(_InputIter, _InputIter, const _Tp&)' here System.cxx:536: error: `division' was not declared in this scope System.cxx:536: error: ISO C++ forbids declaration of `loopCore' with no type System.cxx:536: error: redefinition of `int loopCore' System.cxx:503: error: `int loopCore' previously defined here System.cxx:536: error: initializer list being treated as compound expression System.cxx:537: error: parse error before `}' token System.cxx:541: error: syntax error before `::' token System.cxx:556: error: ISO C++ forbids declaration of `resetAgents' with no type System.cxx:558: error: ISO C++ forbids declaration of `receiveMessages' with no type System.cxx:560: error: ISO C++ forbids declaration of `sendToSimulators' with no type System.cxx:562: error: parse error before `if' System.cxx:565: error: ISO C++ forbids declaration of `resetSimulators' with no type System.cxx:566: error: parse error before `}' token System.cxx:570: error: ISO C++ forbids declaration of `receiveMessages' with no type System.cxx:570: error: redefinition of `int receiveMessages' System.cxx:558: error: `int receiveMessages' previously defined here System.cxx:571: error: ISO C++ forbids declaration of `step' with no type System.cxx:572: error: syntax error before `++' token System.cxx:574: error: ISO C++ forbids declaration of `sendToAgents' with no type System.cxx:577: error: ISO C++ forbids declaration of `sendUpdate' with no type System.cxx:579: error: ISO C++ forbids declaration of `printf' with no type System.cxx:579: error: `int printf' redeclared as different kind of symbol /usr/include/stdio.h:179: error: previous declaration of `int printf(const char*, ...)' System.cxx:579: error: initializer list being treated as compound expression System.cxx:580: error: parse error before `break' System.cxx:583: error: syntax error before `::' token System.cxx:586: error: syntax error before `::' token System.cxx:590: error: syntax error before `::' token System.cxx:605: error: `m_inputBuffer' was not declared in this scope System.cxx:605: error: ISO C++ forbids declaration of `dumpBytes' with no type System.cxx:606: error: parse error before `}' token System.cxx:612: error: syntax error before `::' token System.cxx:620: error: `m_inputBuffer' was not declared in this scope System.cxx:621: error: `m_inputBuffer' was not declared in this scope System.cxx:623: error: parse error before `if' System.cxx:625: error: syntax error before `*' token System.cxx:639: error: `from' was not declared in this scope System.cxx:639: error: ISO C++ forbids declaration of `gisConnectOk' with no type System.cxx:640: error: parse error before `break' System.cxx:643: error: `from' was not declared in this scope System.cxx:643: error: ISO C++ forbids declaration of `agentConnect' with no type System.cxx:644: error: parse error before `break' System.cxx:647: error: ISO C++ forbids declaration of `agentAcknowledge' with no type System.cxx:648: error: parse error before `break' System.cxx:651: error: `from' was not declared in this scope System.cxx:651: error: ISO C++ forbids declaration of `simulatorConnect' with no type System.cxx:652: error: parse error before `break' System.cxx:659: error: `from' was not declared in this scope System.cxx:659: error: ISO C++ forbids declaration of `simulatorAcknowledge' with no type System.cxx:660: error: parse error before `case' System.cxx:664: error: syntax error before `.' token System.cxx:669: error: syntax error before `.' token System.cxx:672: error: syntax error before `.' token System.cxx:676: error: syntax error before `::' token System.cxx:679: error: `header' was not declared in this scope System.cxx:679: error: syntax error before `.' token System.cxx:683: error: syntax error before `::' token System.cxx:688: error: syntax error before `.' token System.cxx:689: error: syntax error before `.' token System.cxx:690: error: `m_outputBuffer' was not declared in this scope System.cxx:691: error: syntax error before `.' token System.cxx:692: error: syntax error before `.' token System.cxx:694: error: syntax error before `.' token System.cxx:697: error: ISO C++ forbids declaration of `printf' with no type System.cxx:697: error: redefinition of `int printf' System.cxx:579: error: `int printf' previously declared here System.cxx:697: error: invalid conversion from `const char*' to `int' System.cxx:698: error: ISO C++ forbids declaration of `m_gisConnected' with no type System.cxx:699: error: ISO C++ forbids declaration of `m_gis' with no type System.cxx:699: error: `from' was not declared in this scope System.cxx:700: error: syntax error before `.' token System.cxx:703: error: ISO C++ forbids declaration of `printf' with no type System.cxx:703: error: redefinition of `int printf' System.cxx:697: error: `int printf' previously defined here System.cxx:703: error: invalid conversion from `const char*' to `int' System.cxx:704: error: parse error before `}' token System.cxx:705: error: syntax error before `::' token System.cxx:708: error: syntax error before `.' token System.cxx:709: error: redefinition of `Cursor base' System.cxx:690: error: `Cursor base' previously defined here System.cxx:709: error: `m_outputBuffer' was not declared in this scope System.cxx:710: error: syntax error before `.' token System.cxx:712: error: syntax error before `.' token System.cxx:713: error: syntax error before `.' token System.cxx:714: error: syntax error before `.' token System.cxx:716: error: syntax error before `.' token System.cxx:720: error: `System' is not a class or namespace System.cxx:720: error: `AckWaiter' is not a class or namespace System.cxx:720: error: invalid base-class specification System.cxx:723: error: syntax error before `*' token System.cxx:726: error: syntax error before `*' token System.cxx:720: warning: `class AgentAckWaiter' has virtual functions but non-virtual destructor System.cxx: In member function `virtual void AgentAckWaiter::send()': System.cxx:738: error: `agent' undeclared (first use this function) System.cxx:748: error: request for member `objectPool' in `system', which is of non-aggregate type `int ()(const char*)' System.cxx:752: error: request for member `outputObjectForAgentAtStart' in ` system', which is of non-aggregate type `int ()(const char*)' System.cxx: At global scope: System.cxx:763: error: syntax error before `::' token System.cxx:766: error: `m_inputBuffer' was not declared in this scope System.cxx:767: error: parse error before `if' System.cxx:771: error: `m_inputBuffer' was not declared in this scope System.cxx:773: error: syntax error before `*' token System.cxx:774: error: `m_agentTypes' was not declared in this scope System.cxx:774: error: parse error before `;' token System.cxx:774: error: syntax error before `++' token System.cxx:777: error: syntax error before `.' token System.cxx:786: error: syntax error before `->' token System.cxx:787: error: syntax error before `->' token System.cxx:788: error: syntax error before `.' token System.cxx:791: error: syntax error before `->' token System.cxx:792: error: syntax error before `->' token System.cxx:793: error: syntax error before `->' token System.cxx:794: error: syntax error before `->' token System.cxx:795: error: syntax error before `->' token System.cxx:796: error: syntax error before `->' token System.cxx:797: error: syntax error before `->' token System.cxx:798: error: ISO C++ forbids declaration of `m_idToAckWaiter' with no type System.cxx:798: error: `AutoPtr' was not declared in this scope System.cxx:798: error: `AckWaiter' was not declared in this scope System.cxx:798: error: assignment (not initialization) in declaration System.cxx:799: error: parse error before `}' token System.cxx:800: error: syntax error before `::' token System.cxx:803: error: syntax error before `::' token System.cxx:808: error: syntax error before `.' token System.cxx:810: error: `System' is not a class or namespace System.cxx:810: error: `AckWaiter' is not a class or namespace System.cxx:810: error: invalid base-class specification System.cxx:813: error: syntax error before `*' token System.cxx:810: warning: `class SimulatorAckWaiter' has virtual functions but non-virtual destructor System.cxx: In member function `virtual void SimulatorAckWaiter::send()': System.cxx:824: error: request for member `objectPool' in `system', which is of non-aggregate type `int ()(const char*)' System.cxx: At global scope: System.cxx:832: error: syntax error before `::' token System.cxx:837: error: syntax error before `->' token System.cxx:838: error: syntax error before `->' token System.cxx:839: error: syntax error before `->' token System.cxx:841: error: syntax error before `->' token System.cxx:842: error: ISO C++ forbids declaration of `m_addressToAckWaiter' with no type System.cxx:842: error: size of array `m_addressToAckWaiter' has non-integer type System.cxx:842: error: `AutoPtr' was not declared in this scope System.cxx:842: error: `AckWaiter' was not declared in this scope System.cxx:843: error: parse error before `}' token System.cxx:844: error: syntax error before `::' token System.cxx:851: error: syntax error before `.' token System.cxx:855: error: syntax error before `::' token System.cxx:859: error: syntax error before `::' token System.cxx:864: error: syntax error before `::' token System.cxx:866: error: syntax error before `.' token System.cxx:867: error: redefinition of `Cursor base' System.cxx:709: error: `Cursor base' previously defined here System.cxx:867: error: `m_outputBuffer' was not declared in this scope System.cxx:868: error: syntax error before `.' token System.cxx:869: error: syntax error before `::' token System.cxx:871: error: syntax error before `!=' token System.cxx:871: error: syntax error before `++' token System.cxx:874: error: `m_outputBuffer' was not declared in this scope System.cxx:876: error: syntax error before `::' token System.cxx:877: error: syntax error before `!=' token System.cxx:877: error: syntax error before `++' token System.cxx:881: error: parse error before `if' System.cxx:883: error: syntax error before `->' token System.cxx:884: error: syntax error before `->' token System.cxx:887: error: syntax error before `.' token System.cxx:888: error: syntax error before `.' token System.cxx:890: error: syntax error before `.' token System.cxx:891: error: syntax error before `.' token System.cxx:892: error: syntax error before `.' token System.cxx:893: error: syntax error before `.' token System.cxx:900: error: syntax error before `::' token System.cxx:901: error: syntax error before `!=' token System.cxx:901: error: syntax error before `++' token System.cxx:905: error: syntax error before `.' token System.cxx:908: error: syntax error before `::' token System.cxx:912: error: syntax error before `.' token System.cxx:913: error: redefinition of `Cursor base' System.cxx:867: error: `Cursor base' previously defined here System.cxx:913: error: `m_outputBuffer' was not declared in this scope System.cxx:914: error: syntax error before `.' token System.cxx:915: error: ISO C++ forbids declaration of `objectPool' with no type System.cxx: In function `int objectPool()': System.cxx:915: error: parse error before `.' token System.cxx:916: error: syntax error before `.' token System.cxx:917: error: syntax error before `.' token System.cxx:928: error: syntax error before `::' token System.cxx:929: error: syntax error before `!=' token System.cxx:929: error: syntax error before `++' token System.cxx:932: error: syntax error before `.' token System.cxx:939: error: syntax error before `::' token System.cxx:944: error: syntax error before `*' token System.cxx:945: error: `m_agentTypes' undeclared (first use this function) System.cxx:945: error: parse error before `;' token System.cxx:946: error: syntax error before `!=' token /usr/include/c++/3.3.3/bits/stl_pair.h: In function `void _GLOBAL__D__ZN6Rescue6resultE()': System.cxx:375: warning: `void Rescue::dummy(int)' defined but not used {standard input}: Assembler messages: {standard input}:874: Error: symbol `_lostContinually' is already defined {standard input}:911: Error: symbol `_loopCore' is already defined {standard input}:919: Error: symbol `_receiveMessages' is already defined {standard input}:967: Error: symbol `_printf' is already defined {standard input}:984: Error: symbol `_printf' is already defined {standard input}:989: Error: symbol `_base' is already defined {standard input}:1017: Error: symbol `_base' is already defined {standard input}:1029: Error: symbol `_base' is already defined make[1]: *** [System.o] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/kernel' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/miscsimulator' g++ -o miscsimulator PolygonData.o main.o miscsimulator.o -L../librescue -lm -lpthread -lrescue /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lrescue collect2: ld returned 1 exit status make[1]: *** [miscsimulator] Error 1 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/miscsimulator' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/civilian' if [ ! -d lib ] ; then mkdir lib ; fi for dir in itk rescuelang ; do\ (cd $dir ; all)\ done all: not found all: not found make[1]: *** [all] Error 127 make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/civilian' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/traffic' javac -O -classpath . Blockade.java Constants.java CuttingLanes.java Destination.java HeaderConstants.java IO.java Lane.java Main.java Obstruction.java Route.java Simulator.java TCPIO.java TurningPoint.java Util.java Viewer.java WorldModel.java object/AmbulanceCenter.java object/AmbulanceTeam.java object/Building.java object/Car.java object/Civilian.java object/Edge.java object/FireBrigade.java object/FireStation.java object/Humanoid.java object/MotionlessObject.java object/MovingObject.java object/Node.java object/PointObject.java object/PoliceForce.java object/PoliceOffice.java object/PropertyConstants.java object/RealObject.java object/Refuge.java object/RescueObject.java object/River.java object/RiverNode.java object/Road.java object/RoadCell.java object/TypeConstants.java object/Vertex.java object/VirtualObject.java object/World.java Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/traffic' make[1]: Entering directory `/home/Nathan Schurr/rescue-0_47/program/viewer' javac -classpath . viewer/*.java viewer/object/*.java Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. make[1]: Leaving directory `/home/Nathan Schurr/rescue-0_47/program/viewer' Nathan Schurr@teamstupidest ~/rescue-0_47/program