| Summary: | Build issue: kima cannot be built without tdehwlib | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Francois Andriot <albator78> |
| Component: | non-core programs | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, michele.calgaro, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| See Also: | http://bugs.pearsoncomputing.net/show_bug.cgi?id=2706 | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 3180 | ||
Fixed by PR #3. https://mirror.git.trinitydesktop.org/gitea/TDE/kima/pulls/3 |
It looks like there are some battery-related stuff in kima that relies on TDE HW library: /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/cpufreqd -I../../src/sources -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -c -o libsources_la.all_cpp.lo libsources_la.all_cpp.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/cpufreqd -I../../src/sources -I/opt/trinity/include/tde -I/usr/include/tqt3 -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -c libsources_la.all_cpp.cpp -fPIC -DPIC -o .libs/libsources_la.all_cpp.o Dans le fichier inclus à partir de batterysrc.cpp:21, à partir de libsources_la.all_cpp.cpp:3: batterysrc.h:29:32: erreur: tdehardwaredevices.h : Aucun fichier ou répertoire de ce type batterysrc.h:70: erreur: ISO C++ forbids declaration of ‘TDEHardwareDevices’ with no type batterysrc.h:70: erreur: expected ‘;’ before ‘*’ token batterysrc.cpp: In constructor ‘BatterySrc::BatterySrc(TQWidget*, TQString)’: batterysrc.cpp:29: erreur: class ‘BatterySrc’ does not have any field named ‘mHardwareDevices’ batterysrc.cpp:31: erreur: ‘mHardwareDevices’ was not declared in this scope batterysrc.cpp:31: erreur: incomplete type ‘TDEGlobal’ used in nested name specifier batterysrc.cpp:32: erreur: ‘TDEGenericDevice’ was not declared in this scope batterysrc.cpp:32: erreur: ‘hwdevice’ was not declared in this scope batterysrc.cpp:34: erreur: ‘TDEGenericDeviceType’ has not been declared batterysrc.cpp:35: erreur: ‘TDEBatteryDevice’ was not declared in this scope batterysrc.cpp:35: erreur: ‘bdevice’ was not declared in this scope batterysrc.cpp:35: erreur: expected type-specifier before ‘TDEBatteryDevice’ batterysrc.cpp:35: erreur: expected `>' before ‘TDEBatteryDevice’ batterysrc.cpp:35: erreur: expected `(' before ‘TDEBatteryDevice’ batterysrc.cpp:35: erreur: expected primary-expression before ‘>’ token batterysrc.cpp:35: erreur: expected `)' before ‘;’ token batterysrc.cpp: In static member function ‘static std::list<Source*, std::allocator<Source*> > BatterySrc::createInstances(TQWidget*)’: batterysrc.cpp:49: erreur: ‘TDEHardwareDevices’ was not declared in this scope batterysrc.cpp:49: erreur: ‘hardwareDevices’ was not declared in this scope batterysrc.cpp:49: erreur: incomplete type ‘TDEGlobal’ used in nested name specifier batterysrc.cpp:50: erreur: ‘TDEGenericHardwareList’ was not declared in this scope batterysrc.cpp:50: erreur: expected `;' before ‘hwlist’ batterysrc.cpp:51: erreur: ‘TDEGenericDevice’ was not declared in this scope batterysrc.cpp:51: erreur: ‘hwdevice’ was not declared in this scope batterysrc.cpp:52: erreur: ‘hwlist’ was not declared in this scope batterysrc.cpp:53: erreur: ‘TDEGenericDeviceType’ has not been declared batterysrc.cpp: In member function ‘virtual TQString BatterySrc::fetchValue()’: batterysrc.cpp:63: erreur: ‘mHardwareDevices’ was not declared in this scope batterysrc.cpp:64: erreur: ‘TDEGenericDevice’ was not declared in this scope batterysrc.cpp:64: erreur: ‘hwdevice’ was not declared in this scope batterysrc.cpp:65: erreur: ‘TDEGenericDeviceType’ has not been declared batterysrc.cpp:68: erreur: ‘TDEBatteryDevice’ was not declared in this scope batterysrc.cpp:68: erreur: ‘bdevice’ was not declared in this scope batterysrc.cpp:68: erreur: expected type-specifier before ‘TDEBatteryDevice’ batterysrc.cpp:68: erreur: expected `>' before ‘TDEBatteryDevice’ batterysrc.cpp:68: erreur: expected `(' before ‘TDEBatteryDevice’ batterysrc.cpp:68: erreur: expected primary-expression before ‘>’ token batterysrc.cpp:68: erreur: expected `)' before ‘;’ token source.cpp: At global scope: source.cpp:32: attention : unused parameter ‘inParent’ make: *** [libsources_la.all_cpp.lo] Erreur 1