>
>
> > > Building from GIT.
> > >
> > > fmt_codec_pnm.cpp: In member function 'virtual s32
> > > fmt_codec::read_init(const std::string&)':
> > > fmt_codec_pnm.cpp:959: error: 'exit' was not declared
> > in
> > > this scope
> > > fmt_codec_pnm.cpp:969: warning: suggest braces around
> > empty
> > > body in an 'else' statement
> > > make[2]: *** [fmt_codec_pnm.lo] Error 1
> > > make[2]: Leaving directory
> > > `/dev/shm/libksquirrel/kernel/kls_pict'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > `/dev/shm/libksquirrel/kernel'
> > > make: *** [all-recursive] Error 1
> > >
> > > Any ideas how to fix?
> >
> > Does libksquirrel have any dependency prerequisites?
>
> Is libksquirrel dependent upon libkdefx?
>
As for man 3 exit including <stdlib.h> should suffice to fix the error.
Leandro
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
Sponsor:
Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due
minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11923&d=20120329
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Conto Arancio al 4,20%. Soldi sempre disponibili, zero spese, aprilo in due minuti!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11923&d=29-3
Darrell, All
kdiff3 (another indispensable package) is suffering a build failure when it
attempts to compile it's first source. I have tried adjusting what I know to
adjust, but the failure persists and looks like a possible TQT issue with this
package. The error is:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/opt/trinity/include -I/opt/tqt3/include -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 -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt -MT
kdiff3plugin.lo -MD -MP -MF .deps/kdiff3plugin.Tpo -c -o kdiff3plugin.lo
kdiff3plugin.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include
-I/opt/tqt3/include -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 -fno-builtin -g3 -fno-inline
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -MT kdiff3plugin.lo -MD -MP -MF
.deps/kdiff3plugin.Tpo -c kdiff3plugin.cpp -fPIC -DPIC -o .libs/kdiff3plugin.o
In file included from /opt/trinity/include/kfileitem.h:31:0,
from /opt/trinity/include/konq_popupmenu.h:32,
from kdiff3plugin.h:24,
from kdiff3plugin.cpp:21:
/opt/trinity/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored
on function return type [-Wignored-qualifiers]
kdiff3plugin.cpp: In constructor 'KDiff3Plugin::KDiff3Plugin(KonqPopupMenu*,
const char*, const TQStringList&)':
kdiff3plugin.cpp:153:27: error: 'addAction' was not declared in this scope
make[2]: *** [kdiff3plugin.lo] Error 1
make[2]: Leaving directory `/build/src/kdiff3/kdiff3plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/kdiff3'
make: *** [all] Error 2
What say the experts, is it something I'm doing(not doing) or is it a bug in
the code?
--
David C. Rankin, J.D.,P.E.
All,
Anyone encountered this error building kmplayer?
xineplayer.cpp: In function 'void event_listener(void*, const xine_event_t*)':
xineplayer.cpp:195:40: warning: 'xine_mrl_reference_data_t' is deprecated
(declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations]
xineplayer.cpp:196:118: warning: 'xine_mrl_reference_data_t' is deprecated
(declared at /usr/include/xine.h:1985) [-Wdeprecated-declarations]
xineplayer.cpp: In member function 'void KXinePlayer::play(int)':
xineplayer.cpp:531:63: warning: invalid conversion from 'const char* const*' to
'char**' [-fpermissive]
xineplayer.cpp:552:77: error: 'xine_gui_send_vo_data' was not declared in this scope
xineplayer.cpp: In member function 'virtual bool KXinePlayer::event(TQEvent*)':
xineplayer.cpp:766:9: warning: case value '1002' not in enumerated type
'TQEvent::Type' [-Wswitch]
xineplayer.cpp:772:9: warning: case value '1003' not in enumerated type
'TQEvent::Type' [-Wswitch]
xineplayer.cpp:754:9: warning: case value '1004' not in enumerated type
'TQEvent::Type' [-Wswitch]
xineplayer.cpp:778:9: warning: case value '1005' not in enumerated type
'TQEvent::Type' [-Wswitch]
xineplayer.cpp:784:9: warning: case value '1006' not in enumerated type
'TQEvent::Type' [-Wswitch]
xineplayer.cpp: In member function 'virtual void XEventThread::run()':
xineplayer.cpp:865:37: warning: invalid conversion from 'int' to 'xine_stream_t*
{aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:877:37: warning: invalid conversion from 'int' to 'xine_stream_t*
{aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:889:37: warning: invalid conversion from 'int' to 'xine_stream_t*
{aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:901:37: warning: invalid conversion from 'int' to 'xine_stream_t*
{aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:942:86: error: 'xine_gui_send_vo_data' was not declared in this scope
xineplayer.cpp:980:25: warning: invalid conversion from 'int' to 'xine_stream_t*
{aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:980:25: warning: invalid conversion from 'xine_input_data_t*' to
'int' [-fpermissive]
xineplayer.cpp:1014:25: warning: invalid conversion from 'int' to
'xine_stream_t* {aka xine_stream_s*}' [-fpermissive]
xineplayer.cpp:1014:25: warning: invalid conversion from 'xine_input_data_t*' to
'int' [-fpermissive]
xineplayer.cpp:1039:86: error: 'xine_gui_send_vo_data' was not declared in this
scope
xineplayer.cpp: In function 'int main(int, char**)':
xineplayer.cpp:1154:35: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
xineplayer.cpp:1168:35: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
xineplayer.cpp:1199:9: warning: suggest braces around empty body in an 'else'
statement [-Wempty-body]
--
David C. Rankin, J.D.,P.E.
All,
Is there anywhere in TDE, where default setting for xterm should be set to
prevent the black text on black background I currently see when I launch xterm?
Should we set a default term color and geometry in XDG somewhere?
--
David C. Rankin, J.D.,P.E.
Building from GIT.
fmt_codec_pnm.cpp: In member function 'virtual s32 fmt_codec::read_init(const std::string&)':
fmt_codec_pnm.cpp:959: error: 'exit' was not declared in this scope
fmt_codec_pnm.cpp:969: warning: suggest braces around empty body in an 'else' statement
make[2]: *** [fmt_codec_pnm.lo] Error 1
make[2]: Leaving directory `/dev/shm/libksquirrel/kernel/kls_pict'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/libksquirrel/kernel'
make: *** [all-recursive] Error 1
Any ideas how to fix?
Darrell
As of yesterday before syncing to the latest GIT, building against TQt3:
Fails to build:
avahi-tqt (bug report 920, FTBFS)
kstreamripper (bug report 946, FTBFS)
libksquirrel (FTBFS, fmt_codec_pnm.cpp:959: error: 'exit' was not declared in this scope)
mlt (FTBFS, has not been converted fully to tqt layer?)
Builds with patching or work-arounds:
tdelibs (bug report 627, Kspell Sym Link Incorrect)
tdebindings (bug report 597, tdebindings will not build without numerous patches)
tdemultimedia (bug report 788, Kaudiocreator won't build unless configure finds the cdda headers; 790, audiofile.h configure errors)
tdeadmin (bug report 871, FTBFS Against TQt3)
tdesdk (bug report 872, FTBFS Against TQt3)
tdenetwork (bug report 598, will not build on Slackware with wifi support)
amarok (bug report 347, Sym Links Incorrect)
kipi-plugins (bug report 613, Sym Links Incorrect)
konversation (bug report 626, Sym Links Incorrect )
kdiff3 (bug report 930, Sym Links Incorrect)
kmplayer (bug reports 931, Sym Links Incorrect; 943, Can't find the TQt version of the dbus-1.0 headers)
tellico (bug report 932, Sym Links Incorrect)
krusader (bug report 933, Sym Links Incorrect)
knights (bug report 939, Sym Links Incorrect)
kile (bug report 940, Sym Links Incorrect)
kpilot (bug report 945, FTBFS: Can't find tqt headers)
rosegarden (bug report 948, FTBFS when liblo is not installed )
Builds without error but incompletely:
tdeutils (bug report 877, X11/extensions/extutil.h: present but cannot be compiled)
k3b (bug report 942, Can't find the TQt version of the dbus-1.0 headers)
gwenview (bug report 873, will not build libmng support)
Package is missing:
tqca (bug report 817 --- I have a buildable package sources ready for the community)
Builds without patching or serious errors:
Dependencies/Core:
tqt3
tqtinterface
arts
dbus-tqt
dbus-1-tqt
tqca-tls
libart_lgpl
libcaldav
libcarddav
sip
python-tqt
tdebase
Libraries:
libkdcraw
libkexiv2
libkipi
libtqt-perl
python-trinity
pytdeextensions
Main suite:
tdeaccessibility
tdeartwork
tdegames
tdetoys
tdeedu
tdegraphics
tdevelop
tdeaddons
tdewebdev
tdepim
Applications:
k9copy
gtk-qt-engine
ksystemlog
kaffeine
digikam
knemo
ktorrent
koffice
kpowersave
basket
krename
kgtk-qt3
soundkonverter
kmyfirewall
kradio
kchmviewer
kbookreader
kiosktool
kmymoney
abakus
kbarcode
kima
katapult
Haven't tried to build:
Any application not listed here
Overall, not bad. Many of the referenced bug reports are paper cuts. None by itself breaks Trinity but all combined creates an uncomfortable feeling. :)
If somebody explains how to resolve the broken sym link bug reports, which breaks the HTML help files for non English languages, I am willing to work on resolving them.
Several of the other build related bugs are automake or cmake issues. I suspect most if not all can be resolved with nominal effort by experts.
I'll work with anybody who tackles any of the listed bug reports. I will patch, build, and test as fast as my dual core will allow me. :)
Darrell
Recently two significant usability bugs were fixed with simple one-liners in the code:
372 Storage media applet doesn't show usb stick at session startup
385 Unmounted removable device icons do not appear on the desktop
Both were resolved in GIT hash 43bb5b9.
Along with the patch for bug report 392, "Device Icon Placement," sanity has been restored to device icons.
Thank you everybody!
Darrell
Recently David shared some issues with starting Trinity. In his case the probable cause seemed to be stale profile cache file or profile cache files using the old prefix names.
Today I stumbled across a way to stall the session startup. I changed some settings in KControl.
What caught my eye with this bug is the xsession log error, which David saw as well:
ksmserver: '<wm>' missing.
ksmserver: Use --help to get a list of available command line options.
I traced the cause to these lines in my profile twinrc:
[ThirdPartyWM]
WMAdditionalArguments=
WMExecutable=twin
Those lines and group do not exist in a twinrc backup file and is the only difference between the files.
This is not a hard freeze. Trinity exits gracefully back to the command line, which is how I start X/Trinity.
The problem is with tdeinit_phase1. I commented out that command in starttde. I successfully substituted all of the following:
kwrapper ksmserver --windowmanager twin --windowmanageraddargs ""
kwrapper ksmserver --windowmanager twin
kwrapper ksmserver
Looking at the tdeinit_phase1 source code, I see that when WMExecutable is undefined/empty then tdeinit_phase1 defaults to "kwrapper ksmserver." As my previous twinrc contained no ThirdPartyWM group in twinrc, that is how tdeinit_phase1 always started.
When I changed some settings in KControl to cause twinrc to update with including the ThirdPartyWM group, tdeinit_phase1 instead starts with "kwrapper ksmserver --windowmanager %1 --windowmanageraddargs %2."
Changing the twinrc WMAdditionalArguments to WMAdditionalArguments=--lock allowed Trinity to start using tdeinit_phase1.
I think the solution then is to add the following condition test to tdeinit_phase1:
else if (wmArguments == "") {
return_code = system((TQString("kwrapper ksmserver --windowmanager %1").arg(wmToLaunch)).ascii());
Comments?
Darrell