[MacPorts] #13576: camlimages 2.2_2 fails to build: 'JCS_RGB' undeclared (first use in this function)
MacPorts
noreply at macports.org
Fri Jan 16 04:25:37 PST 2009
#13576: camlimages 2.2_2 fails to build: 'JCS_RGB' undeclared (first use in this
function)
----------------------------------+-----------------------------------------
Reporter: henrik@… | Owner: reilles@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.2
Keywords: | Port: camlimages
----------------------------------+-----------------------------------------
Description changed by ryandesign@…:
Old description:
> For some time now I have not been able to compile camlimages. Under
> Leopard (installed as upgrade from Tiger) the error shows like
> this:[[BR]]
>
> newhost71-069:~ hepi$ sudo port install camlimages[[BR]]
> ---> Fetching camlimages[[BR]]
> ---> Verifying checksum(s) for camlimages[[BR]]
> ---> Extracting camlimages[[BR]]
> ---> Applying patches to camlimages[[BR]]
> ---> Configuring camlimages[[BR]]
> ---> Building camlimages with target all opt[[BR]]
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_camlimages/work/camlimages-2.2"
> && make all opt " returned error 2[[BR]]
> Command output: jpegread.c:145: error: 'JCS_RGB' undeclared (first use in
> this function)[[BR]]
> jpegread.c:149: warning: implicit declaration of function
> 'jpeg_start_decompress'
> jpegread.c:165: error: 'buffer' undeclared (first use in this
> function)[[BR]]
> jpegread.c:166: error: 'j_common_ptr' undeclared (first use in this
> function)[[BR]]
> jpegread.c:166: error: 'JPOOL_IMAGE' undeclared (first use in this
> function)[[BR]]
> jpegread.c:180: warning: implicit declaration of function
> 'jpeg_read_scanlines'[[BR]]
> jpegread.c:198: warning: implicit declaration of function
> 'jpeg_finish_decompress'[[BR]]
> jpegread.c:81: warning: unused variable 'cinfo'[[BR]]
> jpegread.c: In function 'jpeg_set_scale_denom':[[BR]]
> jpegread.c:231: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c: In function 'open_jpeg_file_for_read':[[BR]]
> jpegread.c:261: error: invalid application of 'sizeof' to incomplete type
> 'struct jpeg_decompress_struct' [[BR]]
> jpegread.c:274: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c:295: error: 'TRUE' undeclared (first use in this
> function)[[BR]]
> jpegread.c:299: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c:300: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c: In function 'open_jpeg_file_for_read_start':[[BR]]
> jpegread.c:337: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c:337: error: 'JCS_RGB' undeclared (first use in this
> function)[[BR]]
> jpegread.c:358: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c:359: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c: In function 'read_jpeg_scanline':[[BR]]
> jpegread.c:380: error: 'JSAMPROW' undeclared (first use in this
> function)[[BR]]
> jpegread.c:380: error: syntax error before 'row'[[BR]]
> jpegread.c:384: error: 'row' undeclared (first use in this
> function)[[BR]]
> jpegread.c: In function 'close_jpeg_file_for_read':[[BR]]
> jpegread.c:416: error: dereferencing pointer to incomplete type[[BR]]
> jpegread.c:416: error: dereferencing pointer to incomplete type[[BR]]
> make[1]: *** [jpegread.o] Error 2[[BR]]
> make: *** [byt] Error 2[[BR]]
>
> Error: Status 1 encountered during processing.[[BR]]
New description:
For some time now I have not been able to compile camlimages. Under
Leopard (installed as upgrade from Tiger) the error shows like this:
{{{
newhost71-069:~ hepi$ sudo port install camlimages
---> Fetching camlimages
---> Verifying checksum(s) for camlimages
---> Extracting camlimages
---> Applying patches to camlimages
---> Configuring camlimages
---> Building camlimages with target all opt
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_camlimages/work/camlimages-2.2"
&& make all opt " returned error 2
Command output: jpegread.c:145: error: 'JCS_RGB' undeclared (first use in
this function)
jpegread.c:149: warning: implicit declaration of function
'jpeg_start_decompress'
jpegread.c:165: error: 'buffer' undeclared (first use in this function)
jpegread.c:166: error: 'j_common_ptr' undeclared (first use in this
function)
jpegread.c:166: error: 'JPOOL_IMAGE' undeclared (first use in this
function)
jpegread.c:180: warning: implicit declaration of function
'jpeg_read_scanlines'
jpegread.c:198: warning: implicit declaration of function
'jpeg_finish_decompress'
jpegread.c:81: warning: unused variable 'cinfo'
jpegread.c: In function 'jpeg_set_scale_denom':
jpegread.c:231: error: dereferencing pointer to incomplete type
jpegread.c: In function 'open_jpeg_file_for_read':
jpegread.c:261: error: invalid application of 'sizeof' to incomplete type
'struct jpeg_decompress_struct'
jpegread.c:274: error: dereferencing pointer to incomplete type
jpegread.c:295: error: 'TRUE' undeclared (first use in this function)
jpegread.c:299: error: dereferencing pointer to incomplete type
jpegread.c:300: error: dereferencing pointer to incomplete type
jpegread.c: In function 'open_jpeg_file_for_read_start':
jpegread.c:337: error: dereferencing pointer to incomplete type
jpegread.c:337: error: 'JCS_RGB' undeclared (first use in this function)
jpegread.c:358: error: dereferencing pointer to incomplete type
jpegread.c:359: error: dereferencing pointer to incomplete type
jpegread.c: In function 'read_jpeg_scanline':
jpegread.c:380: error: 'JSAMPROW' undeclared (first use in this function)
jpegread.c:380: error: syntax error before 'row'
jpegread.c:384: error: 'row' undeclared (first use in this function)
jpegread.c: In function 'close_jpeg_file_for_read':
jpegread.c:416: error: dereferencing pointer to incomplete type
jpegread.c:416: error: dereferencing pointer to incomplete type
make[1]: *** [jpegread.o] Error 2
make: *** [byt] Error 2
Error: Status 1 encountered during processing.
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/13576#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list