[Scribus] Compilation on Slackware 8.1 fails

Andrey V. Panov panov
Wed Apr 23 04:05:05 CEST 2003


Compilation of scribus 0.9.9 on Slackware 8.1 (gcc-2.95.3, glibc-2.2.5) fails 
with following:

creating scribus.all_cpp.cpp ...
source='scribus.all_cpp.cpp' object='scribus.all_cpp.o' libtool=no \
depfile='.deps/scribus.all_cpp.Po' tmpdepfile='.deps/scribus.all_cpp.TPo' \
depmode=gcc /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/lib/qt/include 
-I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2
 -O2 -march=i386 -mcpu=i686 -fno-exceptions -fno-exceptions -fno-check-new  -c -
o scribus.all_cpp.o `test -f 'scribus.all_cpp.cpp' || echo './'`scribus.all_cpp.
cpp
In file included from scribus.all_cpp.cpp:32:
newtemp.cpp:14: syntax error before `::'
newtemp.cpp:18: ANSI C++ forbids declaration `setIcon' with no type
newtemp.cpp:18: `class QPixmap' used where a `int' was expected
newtemp.cpp:19: ANSI C++ forbids declaration `QueryLayout' with no type
newtemp.cpp:19: invalid use of `this' at top level
newtemp.cpp:19: initialization to `int' from `QVBoxLayout *' lacks a cast
newtemp.cpp:20: syntax error before `->'
newtemp.cpp:21: syntax error before `->'
newtemp.cpp:22: ANSI C++ forbids declaration `Layout2' with no type
newtemp.cpp:22: initialization to `int' from `QHBoxLayout *' lacks a cast
newtemp.cpp:23: syntax error before `->'
newtemp.cpp:24: syntax error before `->'
newtemp.cpp:25: ANSI C++ forbids declaration `Frage' with no type
newtemp.cpp:25: invalid use of `this' at top level
newtemp.cpp:25: initialization to `int' from `QLabel *' lacks a cast
newtemp.cpp:26: syntax error before `->'
newtemp.cpp:27: syntax error before `->'
newtemp.cpp:28: syntax error before `->'
newtemp.cpp:29: syntax error before `->'
newtemp.cpp:30: syntax error before `->'
newtemp.cpp:31: ANSI C++ forbids declaration `Answer' with no type
newtemp.cpp:31: invalid use of `this' at top level
newtemp.cpp:31: initialization to `int' from `QLineEdit *' lacks a cast
newtemp.cpp:32: syntax error before `->'
newtemp.cpp:33: syntax error before `->'
newtemp.cpp:37: syntax error before `->'
newtemp.cpp:38: syntax error before `->'
newtemp.cpp:39: ANSI C++ forbids declaration `Links' with no type
newtemp.cpp:39: invalid use of `this' at top level
newtemp.cpp:39: initialization to `int' from `QComboBox *' lacks a cast
newtemp.cpp:40: syntax error before `->'
newtemp.cpp:41: syntax error before `->'
newtemp.cpp:42: syntax error before `->'
newtemp.cpp:43: syntax error before `->'
newtemp.cpp:44: syntax error before `->'
newtemp.cpp:46: ANSI C++ forbids declaration `Layout1' with no type
newtemp.cpp:46: initialization to `int' from `QHBoxLayout *' lacks a cast
newtemp.cpp:47: syntax error before `->'
newtemp.cpp:48: syntax error before `->'
newtemp.cpp:49: ANSI C++ forbids declaration `PushButton1' with no type
newtemp.cpp:49: invalid use of `this' at top level
newtemp.cpp:49: initialization to `int' from `QPushButton *' lacks a cast
newtemp.cpp:50: syntax error before `->'
newtemp.cpp:51: syntax error before `->'
newtemp.cpp:52: syntax error before `->'
newtemp.cpp:54: syntax error before `->'
newtemp.cpp:55: ANSI C++ forbids declaration `PushButton2' with no type
newtemp.cpp:55: invalid use of `this' at top level
newtemp.cpp:55: initialization to `int' from `QPushButton *' lacks a cast
newtemp.cpp:56: syntax error before `->'
newtemp.cpp:57: syntax error before `->'
newtemp.cpp:58: syntax error before `->'
newtemp.cpp:59: implicit declaration of function `int sizeHint(...)'
newtemp.cpp:59: ANSI C++ forbids declaration `setMaximumSize' with no type
newtemp.cpp:60: syntax error before `->'
newtemp.cpp:63: invalid use of `this' at top level
newtemp.cpp:63: ANSI C++ forbids declaration `connect' with no type
newtemp.cpp:63: initializer list being treated as compound expression
newtemp.cpp:64: invalid use of `this' at top level
newtemp.cpp:64: ANSI C++ forbids declaration `connect' with no type
newtemp.cpp:64: redefinition of `int connect'
newtemp.cpp:63: `int connect' previously defined here
newtemp.cpp:64: initializer list being treated as compound expression
newtemp.cpp:66: parse error before `}'
In file included from scribus.all_cpp.cpp:34:
muster.cpp: In method `void MusterSeiten::DuplTemp()':
muster.cpp:130: `NewTm' undeclared (first use this function)
muster.cpp:130: (Each undeclared identifier is reported only once
muster.cpp:130: for each function it appears in.)
muster.cpp:130: `dia' undeclared (first use this function)
muster.cpp:130: parse error before `('
muster.cpp: In method `void MusterSeiten::NewTemp()':
muster.cpp:180: parse error before `('
In file included from edit1format.cpp:1,
                 from scribus.all_cpp.cpp:41:
		 edit1format.h: At top level:
		 edit1format.h:60: parse error before `255'
		 In file included from edit1format.cpp:2,
		                  from scribus.all_cpp.cpp:41:
				  edit1format.moc: In method `bool EditStyle::qt_invoke(int, QUObject *)':
				  edit1format.moc:88: `255' cannot be used as a function
				  In file included from scribus.all_cpp.cpp:41:
				  edit1format.cpp: At top level:
edit1format.cpp:242: parse error before `255'
In file included from scribus.all_cpp.cpp:52:
mspinbox.cpp: In method `bool MSpinBox::eventFilter(QObject *, QEvent *)':
mspinbox.cpp:43: parse error before `2'
mspinbox.cpp:46: `k' undeclared (first use this function)
mspinbox.cpp:53: confused by earlier errors, bailing out
make[3]: *** [scribus.all_cpp.o] ?????? 1
make[3]: ????? ?? ??????? `/usr/local/src/scribus-0.9.9/scribus'
make[2]: *** [all-recursive] ?????? 1
make[2]: ????? ?? ??????? `/usr/local/src/scribus-0.9.9/scribus'
make[1]: *** [all-recursive] ?????? 1
make[1]: ????? ?? ??????? `/usr/local/src/scribus-0.9.9'
make: *** [all] ?????? 2

				  

-- 
Andrey V. Panov
panov /AT/ iacp.dvo.ru
http://canopus.iacp.dvo.ru/~panov/



More information about the scribus mailing list