Opened 16 years ago

Last modified 15 years ago

#13576 closed defect

camlimages fails to compile — at Initial Version

Reported by: henrik@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port: camlimages

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.

Change History (0)

Note: See TracTickets for help on using tickets.