Shaperd-0.2.1, Slackware9, problem pri kompilaci

linuxkonference na centrum.cz linuxkonference na centrum.cz
Středa Červenec 16 18:45:46 CEST 2003


Snazil jsem se zkompilovat Shaperd a ejhle:

root na darkstar:/zaloha/shaperd-0.2.1/src# gmake with_ipq=yes
gcc -MM log.c >log.d
g++ -I/usr/src/linux/include -DWITH_IPQ -MM sched.cpp >sched.d
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from sched.hpp:5,
                 from sched.cpp:2:
/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.
g++ -I/usr/src/linux/include -DWITH_IPQ -MM main.cpp >main.d
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from sched.hpp:5,
                 from main.cpp:3:
/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.
g++ -I/usr/src/linux/include -DWITH_IPQ -MM packet.cpp >packet.d
g++ -I/usr/src/linux/include -DWITH_IPQ -MM config.cpp >config.d
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from config.hpp:5,
                 from config.cpp:3:
/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.
g++ -I/usr/src/linux/include -DWITH_IPQ -MM classdef.cpp >classdef.d
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from sched.hpp:5,
                 from classdef.hpp:7,
                 from classdef.cpp:3:
/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.
g++ -I/usr/src/linux/include -DWITH_IPQ -MM bwadm.cpp >bwadm.d
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from bwadm.cpp:1:
/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.
g++ -I/usr/src/linux/include -DWITH_IPQ -MM classifier.cpp >classifier.d
g++ -Wall -O2 -I/usr/src/linux/include -DWITH_IPQ -c classifier.cpp
g++ -Wall -O2 -I/usr/src/linux/include -DWITH_IPQ -c bwadm.cpp
In file included from /usr/include/c++/3.2.2/backward/list.h:59,
                 from bwadm.hpp:5,
                 from bwadm.cpp:1:
/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.
bwadm.cpp:23: default argument given for parameter 2 of `int
   bwadm::add_class(int, int = 0)'
bwadm.hpp:27: after previous specification in `int
bwadm::add_class(int, int =
   0)'
gmake: *** [bwadm.o] Error 1


slysel jsem, ze by mohla byt chyba v gcc nebo je chyba v jadre (ipq?)?
Nevite, co s tim?

Dekuji.

--------------------
Fabia WRC na startu - vyhrajte v SMS soutezi mobil Siemens M 55 a dalsi zajimave ceny!
http://www.skoda-auto.cz/competition/sms-soutez.asp





Další informace o konferenci Linux