nanogui: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y


Previous by date: 2 Aug 2005 22:31:43 +0100 Using Nanogui with a custom framebuffer, christian.mcdi.com
Next by date: 2 Aug 2005 22:31:43 +0100 Re: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y, Greg Haerr
Previous in thread:
Next in thread: 2 Aug 2005 22:31:43 +0100 Re: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y, Greg Haerr

Subject: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y
From: Nirav Patel ####@####.####
Date: 2 Aug 2005 22:31:43 +0100
Message-Id: <94dbb67905080214312c658b52@mail.gmail.com>

Hi, 

After untaring microwindows-0.89.tar.gz<ftp://microwindows.censoft.com/pub/microwindows/microwindows-0.89.tar.gz>and
I copied Configs\config.ads as config. After which I modifed config to
enable HAVE_JPEG_SUPPORT. Then calling 'make' command yeilds following 
output:

devimage.c:659:21: jpeglib.h: No such file or directory
devimage.c:690: error: parse error before "cinfo"
devimage.c: In function `init_source':
devimage.c:692: error: `cinfo' undeclared (first use in this function)
devimage.c:692: error: (Each undeclared identifier is reported only once
devimage.c:692: error: for each function it appears in.)
devimage.c: At top level:
devimage.c:697: error: parse error before "cinfo"
devimage.c:703: error: parse error before "cinfo"
devimage.c: In function `skip_input_data':
devimage.c:705: error: `num_bytes' undeclared (first use in this function)
devimage.c:707: error: `cinfo' undeclared (first use in this function)
devimage.c: At top level:
devimage.c:712: error: parse error before "resync_to_restart"
devimage.c:712: error: parse error before "cinfo"
devimage.c:713: warning: return type defaults to `int'
devimage.c: In function `resync_to_restart':
devimage.c:714: warning: implicit declaration of function 
`jpeg_resync_to_restart'
devimage.c:714: error: `cinfo' undeclared (first use in this function)
devimage.c:714: error: `desired' undeclared (first use in this function)
devimage.c: At top level:
devimage.c:718: error: parse error before "cinfo"
devimage.c: In function `LoadJPEG':
devimage.c:729: error: storage size of `smgr' isn't known
devimage.c:730: error: storage size of `cinfo' isn't known
devimage.c:731: error: storage size of `jerr' isn't known
devimage.c:755: warning: implicit declaration of function `jpeg_std_error'
devimage.c:758: warning: implicit declaration of function 
`jpeg_create_decompress'
devimage.c:773: warning: implicit declaration of function `jpeg_read_header'
devimage.c:775: error: `JCS_GRAYSCALE' undeclared (first use in this 
function)
devimage.c:775: error: `JCS_RGB' undeclared (first use in this function)
devimage.c:797: error: `j_common_ptr' undeclared (first use in this 
function) 
devimage.c:797: error: `JPOOL_IMAGE' undeclared (first use in this function)
devimage.c:798: error: `JDIMENSION' undeclared (first use in this function)
devimage.c:798: error: parse error before "cinfo"
devimage.c:823: warning: implicit declaration of function 
`jpeg_calc_output_dimensions'
devimage.c:853: warning: implicit declaration of function 
`jpeg_start_decompress'
devimage.c:857: error: `JSAMPROW' undeclared (first use in this function)
devimage.c:857: error: parse error before "rowptr"
devimage.c:858: error: `rowptr' undeclared (first use in this function)
devimage.c:860: warning: implicit declaration of function 
`jpeg_read_scanlines'
devimage.c:866: warning: implicit declaration of function 
`jpeg_finish_decompress'
devimage.c:869: warning: implicit declaration of function 
`jpeg_destroy_decompress'
devimage.c:729: warning: unused variable `smgr'
devimage.c:730: warning: unused variable `cinfo'
devimage.c:731: warning: unused variable `jerr'
make[1]: *** [devimage.o] Error 1
Updating dependencies in /home/nipatel/microwin-0.89/src/fonts ...
Compiling helvB10.c ...
Compiling helvB12.c ...
Compiling helvR10.c ...
Compiling symbol.c ...
Compiling rom8x16.c ...
Compiling rom8x8.c ...
Compiling winFreeSansSerif11x13.c ...
Compiling winFreeSystem14x16.c ...
Compiling X5x7.c ...
Compiling X6x13.c ...
Creating library /home/nipatel/microwin-0.89/src/lib/libmwfonts.a ...
Updating dependencies in /home/nipatel/microwin-0.89/src/nanox ...
Compiling clientfb.c ...
Compiling client.c ...
client.c: In function `_CheckTypedEvent':
client.c:1019: warning: unsigned int format, GR_EVENT_MASK arg (arg 3)
Compiling nxproto.c ...
Compiling error.c ...
error.c: In function `GdError':
error.c:22: warning: implicit declaration of function `strlen'
Compiling nxdraw.c ...
Compiling nxutil.c ...
 Creating library /home/nipatel/microwin-0.89/src/lib/libnano-X.a ...
Compiling srvmain.c ...
Compiling srvfunc.c ...
Compiling srvutil.c ...
Compiling srvevent.c ...
Compiling srvclip.c ...
Compiling srvnet.c ...
make[1]: *** No rule to make target
`/home/nipatel/microwin-0.89/src/lib/libmwengine.a',
needed by `/home/nipatel/microwin-0.89/src/bin/nano-X'. Stop.
make: *** [subdirs] Error 2

Any clues/ideas why this is so?

Thanks in advance.

Previous by date: 2 Aug 2005 22:31:43 +0100 Using Nanogui with a custom framebuffer, christian.mcdi.com
Next by date: 2 Aug 2005 22:31:43 +0100 Re: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y, Greg Haerr
Previous in thread:
Next in thread: 2 Aug 2005 22:31:43 +0100 Re: microwindows-0.89 not compiling when HAVE_JPEG_SUPPORT=Y, Greg Haerr


Powered by ezmlm-browse 0.20.