<HTML><BODY>Hi! When I try to compile scummvm.exe I get these errors :<br><br><p>\Symbian\S60_5th_Edition_SDK_v1.0\epoc32\release\ARMV5\urel\scummvm_base.lib(jpeg.o): In function `Graphics::JPEGDecoder::loadStream(Common::SeekableReadStream&)':<br>jpeg.cpp:(.text+0x34c): undefined reference to `jpeg_std_error'<br>jpeg.cpp:(.text+0x374): undefined reference to `jpeg_CreateDecompress'<br>jpeg.cpp:(.text+0x3c4): undefined reference to `jpeg_read_header'<br>jpeg.cpp:(.text+0x3e4): undefined reference to `jpeg_start_decompress'<br>jpeg.cpp:(.text+0x4ac): undefined reference to `jpeg_read_scanlines'<br>jpeg.cpp:(.text+0x5ac): undefined reference to `jpeg_finish_decompress'<br>jpeg.cpp:(.text+0x5b4): undefined reference to `jpeg_destroy_decompress'<br>jpeg.cpp:(.text+0x660): undefined reference to `jpeg_resync_to_restart'<br><br></p>Note about config.h : they have generic and library-cpecific sections. I can merge them in one file.<br><br><br>Субота, 14 снежня 2013, 1:37 +01:00 ад Johannes Schickel <lordhoto@gmail.com>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        <div id="">
        



    






        

        
        
        
        
        

        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
         
        <div id="style_13869814910000000441" class="mr_read__body">
                <base target="_self" href="https://e.mail.ru/">
                
                        <div id="style_13869814910000000441_BODY">On 12/13/2013 08:01 PM, Always yours, Fedor. wrote:<br>
> Hi! I try to compile ScummVM with Jpeg support for Symbian and get many errors.<br>
> Headers present in System and User include path.<br>
> I am using GCCE 4.4.1 from Mentor Graphics and S60_5th_Edition_SDK_v1.0.<br>
> I build libjpeg.lib succefully without jpeg-turbo code from libjpeg-turbo-code-1082-tags-1.3.0.zip.<br>
> I attach jpeg headers used for compilation scummvm_base.mmp.<br>
> Building without jpeg support succesful.<br>
> Here console log :<br>
<br>
It definitly looks wrong that HAVE_PROTOTYPES isn't defined in <br>
(j)config.h. This would explain most (if not all) of these errors since <br>
the prototypes don't have any argument list without that define and thus <br>
the compiler thinks they take no arguments (so HAVE_PROTOTYPES should <br>
really have been defined in the first place).<br>
<br>
Another note: I'm not sure where this "config.h" file comes from but it <br>
sounds really dangerous to have a global "config.h" file in your include <br>
path. All the configuration definitions from config.h should really be <br>
in jconfig.h.<br>
<br>
// Johannes<br>
<br>
------------------------------------------------------------------------------<br></div></div></div></div></blockquote></BODY></HTML>