By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2496 - Build issue: kima cannot be built without tdehwlib
Summary: Build issue: kima cannot be built without tdehwlib
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Michele Calgaro
URL:
Depends on:
Blocks: R14.0.11
  Show dependency treegraph
 
Reported: 2015-08-02 03:34 CDT by Francois Andriot
Modified: 2021-05-03 00:44 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2015-08-02 03:34:44 CDT
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
Comment 1 Michele Calgaro 2021-05-02 05:40:29 CDT
Fixed by PR #3.
https://mirror.git.trinitydesktop.org/gitea/TDE/kima/pulls/3