On 30 October 2011 13:31, Francois Andriot <francois.andriot(a)free.fr> wrote:
Hello, today I cannot compile gwenview from SVN.
It looks like it is related to the TQT port (on 3.5.12 it compiled
correctly).
The exact same error occurs on RHEL5, RHEL6 and Fedora15.
See log below.
==========
ibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I./..
-I/opt/trinity/include -I/usr/lib64/qt-3.3/include -I. -include tqt.h
-I/opt/trinity/include/tqt -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT
-D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-Wformat-security -Wmissing-format-attribute -I/opt/trinity/include/tqt -MT
transupp.lo -MD -MP -MF .deps/transupp.Tpo -c transupp.c -fPIC -DPIC -o
.libs/transupp.o
distcc[20028] ERROR: compile
/home/albator/.ccache/tmp/transupp.tmp.aria.vtf.20025.i on localhost failed
In file included from /usr/include/jpeglib.h:1097,
from transupp.c:22:
./jpegint.h:46: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:57: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:65: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:77: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:84: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:92: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:103: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:114: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:121: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:138: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:147: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:159: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:167: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:178: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:190: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:210: error: expected specifier-qualifier-list before
'JTQT_METHOD'
./jpegint.h:220: error: expected declaration specifiers or '...' before
'inverse_DCT_method_ptr'
./jpegint.h:221: error: expected declaration specifiers or '...' before
'('
token
./jpegint.h:226: error: expected identifier or '(' before 'void'
./jpegint.h:228: error: expected ';' before 'inverse_DCT_method_ptr'
./jpegint.h:233: error: expected identifier or '(' before 'void'
./jpegint.h:234: error: expected ';' before 'JTQT_METHOD'
./jpegint.h:247: error: expected identifier or '(' before 'void'
./jpegint.h:248: error: expected ';' before 'JTQT_METHOD'
./jpegint.h:255: error: expected identifier or '(' before 'void'
./jpegint.h:256: error: expected ';' before 'JTQT_METHOD'
transupp.c: In function 'jtransform_adjust_parameters':
transupp.c:732: warning: unused parameter 'srcinfo'
transupp.c: In function 'jcopy_markers_execute':
transupp.c:887: warning: unused parameter 'option'
make[3]: *** [transupp.lo] Error 1
make[3]: Leaving directory
`/home/albator/rpmbuild/BUILD/applications/gwenview/src/imageutils'
==========
Thanks for your help (I would really like to release gwenview for TDE
3.5.13).
Francois Andriot
Maybe it is related to the version of your jpg library. what version is it?
Calvin