Hallo,

I get an compile error with kphotoalbum 3.1.
I'm running openSuse 10.2.
I've tried the original (openSuse 10.2-) gcc (4.1.2 prerelease) and a gcc
version 4.2.
I get the same error.
Then I tried to compile the rc2. I still get the same error.
I'm able to compile kphotoalbum 3.0/3.0.2.

The jpeg library and it's headers are installed (libjpeg/libjpeg-devel, version
6.2.0-37)

Whats going wrong, what should I do?

Reimar

-------------------------------------------------
make output with error massages following:

make[3]: Entering directory `/usr/src/packages/BUILD/kphotoalbum-3.1.0/src'
/bin/sh ../libtool --silent --tag=CXX   --mode=link /usr/bin/g++-4.2 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -g -m32
-march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions 
-DQT_NO_CAST_ASCII -DQT_CAST_NO_ASCII  -L/opt/kde3/lib -L/usr/lib/qt3/lib 
-Wl,--as-needed -Wl,--enable-new-dtags   -Wl,-Bdirect -o kphotoalbum main.o
MainWindow/libMainWindow.la Survey/libsurvey.la ImportExport/libImportExport.la
XMLDB/libxmldb.la DateBar/libdatebar.la Browser/libBrowser.la
Plugins/libPlugins.la Viewer/libViewer.la ThumbnailView/libThumbnailView.la
AnnotationDialog/libAnnotationDialog.la Settings/libSettings.la
ImageManager/libImageManager.la DB/libDB.la
CategoryListView/libCategoryListView.la  -lkio -ljpeg -lkipi 
HTMLGenerator/libHTMLGenerator.la Utilities/libUtilities.la Exif/libexif.la
-lexiv2 -lkmediaplayer -L/opt/kde3/lib -lkdcraw
Utilities/.libs/libUtilities.a(Util.o): In function
`Utilities::loadJPEG(QImage*, _IO_FILE*, QSize*, int)':
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:434: undefined
reference to `jpeg_std_error'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:438: undefined
reference to `jpeg_destroy_decompress'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:442: undefined
reference to `jpeg_CreateDecompress'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:443: undefined
reference to `jpeg_stdio_src'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:444: undefined
reference to `jpeg_read_header'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:462: undefined
reference to `jpeg_start_decompress'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:484: undefined
reference to `jpeg_read_scanlines'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:485: undefined
reference to `jpeg_finish_decompress'
/usr/src/packages/BUILD/kphotoalbum-3.1.0/src/Utilities/Util.cpp:504: undefined
reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
make[3]: *** [kphotoalbum] Fehler 1
make[3]: Leaving directory `/usr/src/packages/BUILD/kphotoalbum-3.1.0/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/kphotoalbum-3.1.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/kphotoalbum-3.1.0'
make: *** [all] Fehler 2

