[MacPorts] #13576: camlimages fails to compile
MacPorts
trac at macosforge.org
Thu Dec 13 07:05:25 PST 2007
#13576: camlimages fails to compile
----------------------------------+-----------------------------------------
Reporter: henrik at pilegaard.org | Owner: macports-dev at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.5.2
Keywords: |
----------------------------------+-----------------------------------------
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]]
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13576>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list