You are not logged in.

#1 2003-08-30 03:51:36

_JeffG_
Member
Registered: 2003-08-04
Posts: 61
Website

New qt package breaks the arson package

See topic.  Just wanted to let others know about that.  Rebuilding the arson package with either qt fails with:

source='programpage.cpp' object='programpage.o' libtool=no 
depfile='.deps/programpage.Po' tmpdepfile='.deps/programpage.TPo' 
depmode=gcc3 /bin/sh ../admin/depcomp 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/opt/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -pipe -O2 -DNDEBUG -fno-check-new  -c -o programpage.o `test -f programpage.cpp || echo './'`programpage.cpp
programpage.cpp:53:1: missing terminating " character
programpage.cpp:54: error: `group' was not declared in this scope
programpage.cpp:54: error: parse error before `=' token
programpage.cpp:54:21: warning: multi-character character constant
programpage.cpp:55:31: warning: character constant too long for its type
programpage.cpp:56:31: warning: character constant too long for its type
programpage.cpp:59:21: warning: multi-character character constant
programpage.cpp:60:31: warning: character constant too long for its type
programpage.cpp:61:31: warning: character constant too long for its type
programpage.cpp:64:21: warning: multi-character character constant
programpage.cpp:65:31: warning: character constant too long for its type
programpage.cpp:66:31: warning: character constant too long for its type
programpage.cpp:69:21: warning: multi-character character constant
programpage.cpp:70:31: warning: character constant too long for its type
programpage.cpp:71:31: warning: multi-character character constant
programpage.cpp:74:21: warning: multi-character character constant
programpage.cpp:75:31: warning: character constant too long for its type
programpage.cpp:76:31: warning: character constant too long for its type
programpage.cpp:79:21: warning: multi-character character constant
programpage.cpp:80:31: warning: character constant too long for its type
programpage.cpp:81:31: warning: character constant too long for its type
programpage.cpp:84:21: warning: multi-character character constant
programpage.cpp:85:31: warning: character constant too long for its type
programpage.cpp:86:31: warning: character constant too long for its type
programpage.cpp:88:12: missing terminating " character
programpage.cpp:103: error: syntax error before `->' token
programpage.cpp:104: error: syntax error before `->' token
programpage.cpp:105: error: syntax error before `->' token
programpage.cpp:106: error: syntax error before `->' token
programpage.cpp:107: error: syntax error before `->' token
programpage.cpp:108: error: ISO C++ forbids declaration of `fillProgramList'
   with no type
programpage.cpp:111: error: `writer_drv' was not declared in this scope
programpage.cpp:111: error: ISO C++ forbids declaration of `fillDriverList'
   with no type
programpage.cpp:112: error: `source_drv' was not declared in this scope
programpage.cpp:112: error: ISO C++ forbids declaration of `fillDriverList'
   with no type
programpage.cpp:112: error: redefinition of `int fillDriverList'
programpage.cpp:111: error: `int fillDriverList' previously defined here
programpage.cpp:113: error: syntax error before `->' token
programpage.cpp:114: error: syntax error before `->' token
programpage.cpp:117: error: ISO C++ forbids declaration of `pl' with no type
programpage.cpp:118: error: `driver_group' was not declared in this scope
programpage.cpp:119: error: syntax error before `->' token
programpage.cpp:120: error: syntax error before `->' token
programpage.cpp:122: error: ISO C++ forbids declaration of `setupProgramPrefs'
   with no type
programpage.cpp:124: error: `program_list' was not declared in this scope
programpage.cpp:125: error: invalid use of `this' at top level
programpage.cpp:125: error: ISO C++ forbids declaration of `connect' with no
   type
programpage.cpp:125: error: `int QObject::connect' is not a static member of `
   class QObject'
programpage.cpp:125: error: initializer list being treated as compound
   expression
programpage.cpp:127: error: invalid use of `this' at top level
programpage.cpp:127: error: ISO C++ forbids declaration of `connect' with no
   type
programpage.cpp:127: error: `int QObject::connect' is not a static member of `
   class QObject'
programpage.cpp:127: error: initializer list being treated as compound
   expression
programpage.cpp:128: error: parse error before `}' token
{standard input}: Assembler messages:
{standard input}:21: Error: symbol `fillDriverList' is already defined
{standard input}:39: Error: symbol `_ZN7QObject7connectE' is already defined
make[3]: *** [programpage.o] Error 1
make[3]: Leaving directory `/usr/abs/unofficial/multimedia/arson/src/arson-0.9.7-kde3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/abs/unofficial/multimedia/arson/src/arson-0.9.7-kde3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/abs/unofficial/multimedia/arson/src/arson-0.9.7-kde3'
make: *** [all] Error 2
==> Build Failed. Aborting...

Jeff

Offline

#2 2003-08-31 01:56:12

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: New qt package breaks the arson package

Most of those look like gcc 3.3.1 syntax errors.  Gcc no longer allows multi-line strings.

Example:

printf("This is not
legal in gcc 3.3.1n");

Multi-line strings need to be collapsed into a single string.

Example patch:
http://cvs.archlinux.org/cgi-bin/cvsweb … web-markup

Offline

#3 2003-09-24 19:43:32

_JeffG_
Member
Registered: 2003-08-04
Posts: 61
Website

Re: New qt package breaks the arson package

Thanks... I will now try to fix it...

Jeff

Offline

#4 2003-09-24 20:48:20

_JeffG_
Member
Registered: 2003-08-04
Posts: 61
Website

Re: New qt package breaks the arson package

fixed it... was one broken file...  thanks for your help.

Jeff

Offline

#5 2003-09-24 21:28:35

_JeffG_
Member
Registered: 2003-08-04
Posts: 61
Website

Re: New qt package breaks the arson package

OK, now i have a strange problem...  which clicking on the arson icon in the kicker panel it crashes with sig 11 SIGSEGV.     However, running it from the konsole command line, arson runs.

Also sometimes it does not work from command line either.. but it does after a few trys.

Maybe all of KDE needs to be recompiled on my box.

Any clues?

Jeff

Offline

Board footer

Powered by FluxBB