[Scummvm-devel] Jpeg compilation errors

Федор fedor_qd at mail.ru
Sat Dec 14 15:09:01 CET 2013


 Hi! When I try to compile scummvm.exe I get these errors :

\Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\scummvm_base.lib(jpeg.o): In function `Graphics::JPEGDecoder::loadStream(Common::SeekableReadStream&)':
jpeg.cpp:(.text+0x34c): undefined reference to `jpeg_std_error'
jpeg.cpp:(.text+0x374): undefined reference to `jpeg_CreateDecompress'
jpeg.cpp:(.text+0x3c4): undefined reference to `jpeg_read_header'
jpeg.cpp:(.text+0x3e4): undefined reference to `jpeg_start_decompress'
jpeg.cpp:(.text+0x4ac): undefined reference to `jpeg_read_scanlines'
jpeg.cpp:(.text+0x5ac): undefined reference to `jpeg_finish_decompress'
jpeg.cpp:(.text+0x5b4): undefined reference to `jpeg_destroy_decompress'
jpeg.cpp:(.text+0x660): undefined reference to `jpeg_resync_to_restart'

Note about config.h : they have generic and library-cpecific sections. I can merge them in one file.


Субота, 14 снежня 2013, 1:37 +01:00 ад Johannes Schickel <lordhoto at gmail.com>:
>On 12/13/2013 08:01 PM, Always yours, Fedor. wrote:
>> Hi! I try to compile ScummVM with Jpeg support for Symbian and get many errors.
>> Headers present in System and User include path.
>> I am using GCCE 4.4.1 from Mentor Graphics and S60_5th_Edition_SDK_v1.0.
>> I build libjpeg.lib succefully without jpeg-turbo code from libjpeg-turbo-code-1082-tags-1.3.0.zip.
>> I attach jpeg headers used for compilation scummvm_base.mmp.
>> Building without jpeg support succesful.
>> Here console log :
>
>It definitly looks wrong that HAVE_PROTOTYPES isn't defined in 
>(j)config.h. This would explain most (if not all) of these errors since 
>the prototypes don't have any argument list without that define and thus 
>the compiler thinks they take no arguments (so HAVE_PROTOTYPES should 
>really have been defined in the first place).
>
>Another note: I'm not sure where this "config.h" file comes from but it 
>sounds really dangerous to have a global "config.h" file in your include 
>path. All the configuration definitions from config.h should really be 
>in jconfig.h.
>
>// Johannes
>
>------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20131214/14c9f5b3/attachment.html>


More information about the Scummvm-devel mailing list