| Paste number 21442: | Error in nachos |
| Pasted by: | blogspot |
| 2 years, 6 months ago | |
| #emacs | |
| Paste contents: |
| gmake[1]: Entering directory `/root/Nachos/threads' g++ -I../threads -I../machine -DTHREADS -DHOST_i386 -DHOST_SVR4 -DCHANGED -M ../threads/main.cc ../threads/list.cc ../threads/scheduler.cc ../threads/synch.cc ../threads/synchlist.cc ../threads/system.cc ../threads/thread.cc ../threads/utility.cc ../threads/threadtest.cc ../machine/interrupt.cc ../machine/sysdep.cc ../machine/stats.cc ../machine/timer.cc > makedep In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from ../threads/main.cc:55: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from ../threads/synch.cc:27: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. echo '/^# DO NOT DELETE THIS LINE/+2,$d' >eddep echo '$r makedep' >>eddep echo 'w' >>eddep ed - Makefile < eddep rm eddep makedep echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile echo '# see make depend above' >> Makefile gmake[1]: Leaving directory `/root/Nachos/threads' cd threads; gmake nachos gmake[1]: Entering directory `/root/Nachos/threads' g++ -g -Wall -Wshadow -fwritable-strings -I../threads -I../machine -DTHREADS -DHOST_i386 -DHOST_SVR4 -DCHANGED -c ../threads/main.cc In file included from /usr/include/c++/3.2.2/backward/iostream.h:31, from ../threads/main.cc:55: /usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/include/c++/3.2.2/cstdlib:52, from /usr/include/c++/3.2.2/bits/stl_algobase.h:67, from /usr/include/c++/3.2.2/memory:54, from /usr/include/c++/3.2.2/string:48, from /usr/include/c++/3.2.2/bits/localefwd.h:49, from /usr/include/c++/3.2.2/ios:48, from /usr/include/c++/3.2.2/ostream:45, from /usr/include/c++/3.2.2/iostream:45, from /usr/include/c++/3.2.2/backward/iostream.h:32, from ../threads/main.cc:55: /usr/include/stdlib.h:142: declaration of `double atof(const char*) throw ()' throws different exceptions ../machine/sysdep.h:62: than previous declaration `double atof(const char*)' /usr/include/stdlib.h:144: declaration of `int atoi(const char*) throw ()' throws different exceptions ../machine/sysdep.h:61: than previous declaration `int atoi(const char*)' In file included from /usr/include/c++/3.2.2/cstdlib:52, from /usr/include/c++/3.2.2/bits/stl_algobase.h:67, from /usr/include/c++/3.2.2/memory:54, from /usr/include/c++/3.2.2/string:48, from /usr/include/c++/3.2.2/bits/localefwd.h:49, from /usr/include/c++/3.2.2/ios:48, from /usr/include/c++/3.2.2/ostream:45, from /usr/include/c++/3.2.2/iostream:45, from /usr/include/c++/3.2.2/backward/iostream.h:32, from ../threads/main.cc:55: /usr/include/stdlib.h:742: declaration of `int abs(int) throw ()' throws different exceptions ../machine/sysdep.h:63: than previous declaration `int abs(int)' gmake[1]: *** [main.o] Error 1 gmake[1]: Leaving directory `/root/Nachos/threads' make: *** [all] Error 2 |
This paste has no annotations.