[kde-solaris] Compiling QT 3.1???

thefrog kde-solaris@mail.kde.org
Fri Jan 31 07:30:01 2003


On Thursday 30 January 2003 17:17, LeBar, Russell wrote:
> I'm trying to compile Qt 3.1 on a Solaris 8 box using gcc 3.2 but no lu=
ck.
> Here is a sampling of the errors I am getting (this is the end if the
> errors, they begin beyond my buffer). Any ideas on what I am doing wron=
g?

Qt 3.1 was said to have compile and other difficulties on solaris. I repo=
rted=20
other breaks which I send to trolltech. Outside your problem I would=20
recommend you to use Qt 3.1.1. instead. I compiled it here with gcc 3.2 o=
n=20
solaris 8 and it run's fine.

Regards
Rainald

>
> Thanks!
>
> ./configure -system-zlib -qt-gif -system-libpng -system-libjpeg
> -plugin-imgfmt-mng -thread -no-stl -no-xinerama -no-g++-exceptions
> [...]
> kernel/qpngio.cpp:816: parse error before `,' token
> kernel/qpngio.cpp:817: parse error before `,' token
> kernel/qpngio.cpp:819: parse error before `,' token
> kernel/qpngio.cpp:833: 'png_structp' is used as a type, but is not defi=
ned
> as a
>    type.
> kernel/qpngio.cpp:834: 'png_infop' is used as a type, but is not define=
d as
> a
>    type.
> kernel/qpngio.cpp:924: parse error before `,' token
> kernel/qpngio.cpp: In function `void info_callback(...)':
> kernel/qpngio.cpp:926: `png_get_progressive_ptr' undeclared (first use =
this
>    function)
> kernel/qpngio.cpp:927: `info' undeclared (first use this function)
> kernel/qpngio.cpp: At global scope:
> kernel/qpngio.cpp:931: parse error before `,' token
> kernel/qpngio.cpp: In function `void row_callback(...)':
> kernel/qpngio.cpp:935: `new_row' undeclared (first use this function)
> kernel/qpngio.cpp:935: `row_num' undeclared (first use this function)
> kernel/qpngio.cpp:935: `pass' undeclared (first use this function)
> kernel/qpngio.cpp: At global scope:
> kernel/qpngio.cpp:939: parse error before `,' token
> kernel/qpngio.cpp: In member function `virtual int
> QPNGFormat::decode(QImage&,
>    QImageConsumer*, const uchar*, int)':
> kernel/qpngio.cpp:1022: `png_set_progressive_read_fn' undeclared (first=
 use
>    this function)
> kernel/qpngio.cpp:1049: parse error before `,' token
> kernel/qpngio.cpp: At global scope:
> kernel/qpngio.cpp:1063: `png_structp' was not declared in this scope
> kernel/qpngio.cpp:1063: parse error before `,' token
> kernel/qpngio.cpp: In member function `void QPNGFormat::info(...)':
> kernel/qpngio.cpp:1065: `png' undeclared (first use this function)
> kernel/qpngio.cpp:1065: `png_set_interlace_handling' undeclared (first =
use
> this
>    function)
> kernel/qpngio.cpp:1066: cannot pass objects of non-POD type `class QIma=
ge'
>    through `...'
> kernel/qpngio.cpp: At global scope:
> kernel/qpngio.cpp:1069: parse error before `,' token
> kernel/qpngio.cpp: In member function `void QPNGFormat::row(...)':
> kernel/qpngio.cpp:1073: `png_progressive_combine_row' undeclared (first=
 use
>    this function)
> kernel/qpngio.cpp: At global scope:
> kernel/qpngio.cpp:1077: parse error before `,' token
> kernel/qpngio.cpp: In member function `void QPNGFormat::end(...)':
> kernel/qpngio.cpp:1079: `png_get_x_offset_pixels' undeclared (first use
> this function)
> kernel/qpngio.cpp:1080: `png_get_y_offset_pixels' undeclared (first use
> this function)
> kernel/qpngio.cpp:1090: parse error before `;' token
> kernel/qpngio.cpp: In function `void qt_zlib_compression_hack()':
> kernel/qpngio.cpp:1216: `compress' undeclared (first use this function)
> kernel/qpngio.cpp:1217: `uncompress' undeclared (first use this functio=
n)
> gmake[2]: *** [.obj/release-shared-mt/qpngio.o] Error 1
> gmake[2]: Leaving directory
> `/export/home/rjl01/kde31/qt-x11-free-3.1.1/src' gmake[1]: *** [sub-src=
]
> Error 2
> gmake[1]: Leaving directory `/export/home/rjl01/kde31/qt-x11-free-3.1.1=
'
> gmake: *** [init] Error 2
>
>
>   _____
>
> Russ LeBar
> NMSA UNIX System Administrator
> Phone:=09 314-512-3355
> Fax:=09 314-512-6002
> Pager:=09 314-841-7565