#1 Compilation error on Suse 10 with v. 0.6 von Chagani 28.08.2006 20:26

I get the following error(s) when I try to make. Would appreciate help.

Thanx!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
 

borgking:/data/cube/Appz/Linux/qpxtool-0.6 # make
scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -Wall -O2 -I/usr/local/include -I/usr/X11R6/include -Ipioquiet/include -Ipioquiet -Ilib/qpxtransport/include -Ilib/qpxpioneer/include -c -o pioquiet/pioquiet.o pioquiet/pioquiet.cpp
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxtransport/include -c -o lib/qpxtransport/qpx_mmc.os lib/qpxtransport/qpx_mmc.cpp
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxtransport/include -c -o lib/qpxtransport/qpx_transport.os lib/qpxtransport/qpx_transport.cpp
lib/qpxtransport/qpx_transport.cpp: In member function ‘int Scsi_Command::umount(int)’:
lib/qpxtransport/qpx_transport.cpp:271: warning: missing sentinel in function call
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxtransport/include -c -o lib/qpxtransport/common_functions.os lib/qpxtransport/common_functions.cpp
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxtransport/include -c -o lib/qpxtransport/version.os lib/qpxtransport/version.cpp
g++ -shared -o lib/lib/libqpxtransport.so lib/qpxtransport/qpx_mmc.os lib/qpxtransport/qpx_transport.os lib/qpxtransport/common_functions.os lib/qpxtransport/version.os -L/usr/local/lib -L/usr/X11R6/lib
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxpioneer/include -Ilib/qpxtransport/include -c -o lib/qpxpioneer/pioneer_spdctl.os lib/qpxpioneer/pioneer_spdctl.cpp
lib/qpxpioneer/pioneer_spdctl.cpp: In function ‘int pioneer_get_quiet(drive_info*)’:
lib/qpxpioneer/pioneer_spdctl.cpp:25: warning: suggest parentheses around assignment used as truth value
lib/qpxpioneer/pioneer_spdctl.cpp: In function ‘int pioneer_set_quiet(drive_info*, char, bool, bool)’:
lib/qpxpioneer/pioneer_spdctl.cpp:40: warning: suggest parentheses around assignment used as truth value
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxpioneer/include -Ilib/qpxtransport/include -c -o lib/qpxpioneer/version.os lib/qpxpioneer/version.cpp
g++ -shared -o lib/lib/libqpxpioneer.so lib/qpxpioneer/pioneer_spdctl.os lib/qpxpioneer/version.os -L/usr/local/lib -L/usr/X11R6/lib
g++ -o bin/pioquiet pioquiet/pioquiet.o -L/usr/local/lib -L/usr/X11R6/lib -Llib/lib -lqpxtransport -lqpxpioneer
g++ -Wall -O2 -I/usr/local/include -I/usr/X11R6/include -Ipxcontrol/include -Ipxcontrol -Ilib/qpxtransport/include -Ilib/qpxplextor/include -c -o pxcontrol/pxcontrol.o pxcontrol/pxcontrol.cpp
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxplextor/include -Ilib/qpxtransport/include -c -o lib/qpxplextor/plextor_features.os lib/qpxplextor/plextor_features.cpp
lib/qpxplextor/plextor_features.cpp: In function ‘int plextor_get_securec_state(drive_info*)’:
lib/qpxplextor/plextor_features.cpp:308: warning: suggest parentheses around assignment used as truth value
lib/qpxplextor/plextor_features.cpp: In function ‘int plextor_set_securec(drive_info*, char, char*)’:
lib/qpxplextor/plextor_features.cpp:338: warning: suggest parentheses around assignment used as truth value
lib/qpxplextor/plextor_features.cpp:342: warning: suggest parentheses around assignment used as truth value
lib/qpxplextor/plextor_features.cpp: In function ‘int plextor_create_strategy(drive_info*, int)’:
lib/qpxplextor/plextor_features.cpp:679: warning: value computed is not used
lib/qpxplextor/plextor_features.cpp: In function ‘int plextor_media_check(drive_info*, int)’:
lib/qpxplextor/plextor_features.cpp:724: warning: value computed is not used
g++ -Wall -O2 -fPIC -I/usr/local/include -I/usr/X11R6/include -Ilib/qpxplextor/include -Ilib/qpxtransport/include -c -o lib/qpxplextor/version.os lib/qpxplextor/version.cpp
g++ -shared -o lib/lib/libqpxplextor.so lib/qpxplextor/plextor_features.os lib/qpxplextor/version.os -L/usr/local/lib -L/usr/X11R6/lib
g++ -o bin/pxcontrol pxcontrol/pxcontrol.o -L/usr/local/lib -L/usr/X11R6/lib -Llib/lib -lqpxtransport -lqpxplextor
/usr/lib/qt3/bin/moc -o qpxtool/include/moc_ASDB.cc qpxtool/include/ASDB.h
/usr/lib/qt3/bin/uic -o qpxtool/ui/ASDB_ui.h qpxtool/ui/ASDB_ui.ui
/usr/lib/qt3/bin/uic -impl ASDB_ui.h -o qpxtool/ui/uic_ASDB_ui.cc qpxtool/ui/ASDB_ui.ui
/usr/lib/qt3/bin/moc -o qpxtool/ui/moc_ASDB_ui.cc qpxtool/ui/ASDB_ui.h
g++ -Wall -O2 -pipe -W -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -Iqpxtool/include -Iqpxtool/ui -Iqpxtool -Ilib/qpxtransport/include -Ilib/qpxplextor/include -Ilib/qpxpioneer/include -Ilib/qpxscan/include -c -o qpxtool/include/moc_ASDB.o qpxtool/include/moc_ASDB.cc
In file included from qpxtool/include/moc_ASDB.cc:11:
qpxtool/include/ASDB.h:19:23: error: qlistview.h: No such file or directory
qpxtool/include/ASDB.h:20:20: error: qlabel.h: No such file or directory
In file included from qpxtool/include/ASDB.h:22,
from qpxtool/include/moc_ASDB.cc:11:
qpxtool/ui/ASDB_ui.h:13:22: error: qvariant.h: No such file or directory
qpxtool/ui/ASDB_ui.h:14:21: error: qpixmap.h: No such file or directory
qpxtool/ui/ASDB_ui.h:15:21: error: qdialog.h: No such file or directory
qpxtool/include/moc_ASDB.cc:12:25: error: qmetaobject.h: No such file or directory
qpxtool/include/moc_ASDB.cc:13:26: error: qapplication.h: No such file or directory
qpxtool/include/moc_ASDB.cc:15:34: error: private/qucomextra_p.h: No such file or directory
qpxtool/include/moc_ASDB.cc:17:2: error: #error "This file was generated using the moc from 3.3.6. It"
qpxtool/include/moc_ASDB.cc:18:2: error: #error "cannot be used with the include files from this version of Qt."
qpxtool/include/moc_ASDB.cc:19:2: error: #error "(The moc has changed too much.)"
qpxtool/ui/ASDB_ui.h:30: error: expected class-name before ‘{’ token
qpxtool/ui/ASDB_ui.h:31: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qpxtool/ui/ASDB_ui.h:33: error: expected ‘;’ before ‘public’
qpxtool/ui/ASDB_ui.h:51: error: expected `:' before ‘slots’
qpxtool/ui/ASDB_ui.h:52: error: expected primary-expression before ‘virtual’
qpxtool/ui/ASDB_ui.h:52: error: ISO C++ forbids declaration of ‘slots’ with no type
qpxtool/ui/ASDB_ui.h:52: error: expected ‘;’ before ‘virtual’
qpxtool/ui/ASDB_ui.h:69: error: expected `:' before ‘slots’
qpxtool/ui/ASDB_ui.h:70: error: expected primary-expression before ‘virtual’
qpxtool/ui/ASDB_ui.h:70: error: ISO C++ forbids declaration of ‘slots’ with no type
qpxtool/ui/ASDB_ui.h:70: error: expected ‘;’ before ‘virtual’
qpxtool/ui/ASDB_ui.h:73: error: ‘QPixmap’ does not name a type
qpxtool/include/ASDB.h:26: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
qpxtool/include/ASDB.h:28: error: expected ‘;’ before ‘public’
qpxtool/include/ASDB.h:42: error: expected `:' before ‘slots’
qpxtool/include/ASDB.h:43: error: expected primary-expression before ‘void’
qpxtool/include/ASDB.h:43: error: ISO C++ forbids declaration of ‘slots’ with no type
qpxtool/include/ASDB.h:43: error: expected ‘;’ before ‘void’
qpxtool/include/moc_ASDB.cc:22: error: no ‘const char* asdb_edit_dialog::className() const’ member function declared in class ‘asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc:27: error: expected constructor, destructor, or type conversion before ‘*’ token
qpxtool/include/moc_ASDB.cc:28: error: ‘QMetaObjectCleanUp’ does not name a type
qpxtool/include/moc_ASDB.cc:31: error: ‘QString’ does not name a type
qpxtool/include/moc_ASDB.cc:39: error: ‘QString’ does not name a type
qpxtool/include/moc_ASDB.cc:50: error: expected constructor, destructor, or type conversion before ‘*’ token
qpxtool/include/moc_ASDB.cc:103: error: no ‘void* asdb_edit_dialog::qt_cast(const char*)’ member function declared in class ‘asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc: In member function ‘void* asdb_edit_dialog::qt_cast(const char*)’:
qpxtool/include/moc_ASDB.cc:105: error: ‘qstrcmp’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:107: error: ‘qt_cast’ is not a member of ‘asdb_edit_dialog_UI’
qpxtool/include/moc_ASDB.cc: At global scope:
qpxtool/include/moc_ASDB.cc:110: error: ‘QUObject’ has not been declared
qpxtool/include/moc_ASDB.cc:110: error: no ‘bool asdb_edit_dialog::qt_invoke(int, int*)’ member function declared in class ‘asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc: In member function ‘bool asdb_edit_dialog::qt_invoke(int, int*)’:
qpxtool/include/moc_ASDB.cc:112: error: ‘staticMetaObject’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:113: error: no matching function for call to ‘asdb_edit_dialog::asdb_act_deact()’
qpxtool/include/ASDB.h:44: note: candidates are: virtual void asdb_edit_dialog::asdb_act_deact(QListViewItem*)
qpxtool/include/moc_ASDB.cc:114: error: ‘static_QUType_ptr’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:116: error: ‘static_QUType_bool’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:123: error: ‘qt_invoke’ is not a member of ‘asdb_edit_dialog_UI’
qpxtool/include/moc_ASDB.cc:125: error: ‘TRUE’ was not declared in this scope
qpxtool/include/moc_ASDB.cc: At global scope:
qpxtool/include/moc_ASDB.cc:128: error: ‘QUObject’ has not been declared
qpxtool/include/moc_ASDB.cc:128: error: no ‘bool asdb_edit_dialog::qt_emit(int, int*)’ member function declared in class ‘asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc: In member function ‘bool asdb_edit_dialog::qt_emit(int, int*)’:
qpxtool/include/moc_ASDB.cc:130: error: ‘qt_emit’ is not a member of ‘asdb_edit_dialog_UI’
qpxtool/include/moc_ASDB.cc: At global scope:
qpxtool/include/moc_ASDB.cc:134: error: ‘QVariant’ has not been declared
qpxtool/include/moc_ASDB.cc:134: error: no ‘bool asdb_edit_dialog::qt_property(int, int, int*)’ member function declared in class ‘asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc: In member function ‘bool asdb_edit_dialog::qt_property(int, int, int*)’:
qpxtool/include/moc_ASDB.cc:136: error: ‘qt_property’ is not a member of ‘asdb_edit_dialog_UI’
qpxtool/include/moc_ASDB.cc: At global scope:
qpxtool/include/moc_ASDB.cc:139: error: ‘bool asdb_edit_dialog::qt_static_property’ is not a static member of ‘class asdb_edit_dialog’
qpxtool/include/moc_ASDB.cc:139: error: ‘QObject’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:139: error: expected primary-expression before ‘,’ token
qpxtool/include/moc_ASDB.cc:139: error: expected primary-expression before ‘int’
qpxtool/include/moc_ASDB.cc:139: error: expected primary-expression before ‘int’
qpxtool/include/moc_ASDB.cc:139: error: ‘QVariant’ was not declared in this scope
qpxtool/include/moc_ASDB.cc:139: error: expected primary-expression before ‘)’ token
qpxtool/include/moc_ASDB.cc:139: error: initializer expression list treated as compound expression
qpxtool/include/moc_ASDB.cc:139: error: expected ‘,’ or ‘;’ before ‘{’ token
scons: *** [qpxtool/include/moc_ASDB.o] Error 1
scons: building terminated because of errors.
make: *** [all] Error 2
 
 

#2 RE: Compilation error on Suse 10 with v. 0.6 von piewie 12.09.2006 21:41

avatar

Zitat
qpxtool/include/ASDB.h:19:23: error: qlistview.h: No such file or directory



seems to be the same problem as here:
http://qpxtool.siteboard.de/qpxt...-62.html#62

Xobor Ein Kostenloses Forum von Xobor.de
Einfach ein Forum erstellen
Datenschutz