PDA

View Full Version : Make error '..'



occyv
04-22-2002, 09:26 AM
when i get to the /make -thread option it does for a bit then runs into this error

make[3]: Entering directory `/usr/lib/qt-2.3.2/src '
g++ -D_REENTRANT -DQT_THREAD_SUPPORT -c -pipe -02 -WALL -fPIC
.3.2/src/3rdparty/zlib -I/usr/lib/qt-2.3.2/src/3rdparty/libpng -
ude -o 3rdparty/libpng/pngread.o 3rdparty/libpng.c
3rdparty/libpng/pngread.c: In function `void png_read_png (png_s
*, png_info *, int, void *)':
3rdparty/libpng/pngread.c:1326: cannot convert `void *' to `png_
in assignment
make[3]: *** [3rdparty/libpng/pngread.o] Error 1
make[3]: Leaving directory `/usr/lib/qt-2.3.2/src'
make[2] *** [src-mt] Error 2
make[2]: Leaving directory `/usr/lib/qt-2.3.2/'
make[2] *** [src-mt] Error 2make[2]: Leaving directory `/usr/lib/qt-2.3.2/'
make: *** [init] Error 2


obviusly i missed something =/
thanks
Octavio

fryfrog
04-22-2002, 10:34 AM
i spy with my little eye, something about png and zlib. goto rpmfind.net and search for the rpm packages for YOUR DISTRO that are zlib and png (mdk i think is "libpng" or something) and install them. see if that helps.

occyv
04-22-2002, 11:04 AM
wetn back downloaded them installed them. still has same errors. it also said that no need to install libpng b/c a newer version is installed =/ confused ? yes '..'

fryfrog
04-22-2002, 05:20 PM
okay, first of all you are not compiling qt-2.3.2 with gcc3/gcc-3.0.1/gcc-3.0.4 (because your lines start with just "g++" or "gcc"). so that will be your first step. you need to edit the file /<QTSRCDIR>/configs/linux-gcc-shared and change ALL mentions of "gcc" and "g++" to YOUR platforms gcc3 compiler...

rh 7.2:
gcc3, g++3
mdk 8.1:
gcc-3.0.1, g++-3.0.1
mdk 8.2: (i think, not verified)
gcc-3.0.4, g++-3.0.4