Bug 90550

Summary: linking error with jpeg
Product: [Applications] digikam Reporter: Martin Laberge <mlsoft>
Component: Portability-CmakeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.7.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Martin Laberge 2004-09-30 16:09:50 UTC
Version:           0.7.0-cvs (using KDE 3.1.4)
Installed from:    compiled sources
Compiler:          gcc version 3.2.3
OS:                Linux (i686) release 2.4.26

here is the error i got when added jpegint.h

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -DQT_NO_STL -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall -Wformat-security    -o digikam -R /opt/kde/lib -R /usr/lib/qt-3.2.1/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/usr/lib/qt-3.2.1/lib -L/opt/kde/lib  -L/usr/lib -lImlib2 -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib main.o -lqt-mt  -lz -ljpeg -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore -lkdeui  -lkio -lkparts -lkexif libdigikam.la
./.libs/libdigikam.so: undefined reference to `jcopy_block_row(short (*) [64], short (*) [64], unsigned)'
./.libs/libdigikam.so: undefined reference to `jpeg_set_colorspace(jpeg_compress_struct*, J_COLOR_SPACE)'
./.libs/libdigikam.so: undefined reference to `jround_up(long, long)'
./.libs/libdigikam.so: undefined reference to `jpeg_save_markers(jpeg_decompress_struct*, int, unsigned)'
./.libs/libdigikam.so: undefined reference to `jpeg_write_marker(jpeg_compress_struct*, int, unsigned char const*, unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [digikam] Error 1
make[2]: Leaving directory `/u/media/slack91/cvs/kdeextragear-3/digikam/digikam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/media/slack91/cvs/kdeextragear-3/digikam/digikam'
make: *** [all-recursive] Error 1
Comment 1 Renchi Raju 2004-09-30 17:52:36 UTC

*** This bug has been marked as a duplicate of 90542 ***