Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166025

Summary: missing png.h referenced in writejpg.c:24 (image.h:23)
Product: Gentoo/Alt Reporter: G. Gibson <mrgibson>
Component: Mac OSXAssignee: osx porters <osx>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description G. Gibson 2007-02-09 01:19:03 UTC
/usr/bin/gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./../..  -I.. -I./.. -I../.. -I./../.. -DpdfTeX -O2 -pipe -mcpu=G3  -c writejpg.c
In file included from writejpg.c:24:
image.h:23:17: error: png.h: No such file or directory
In file included from writejpg.c:24:
image.h:39: error: parse error before 'png_structp'
image.h:39: warning: no semicolon at end of struct or union
image.h:40: warning: data definition has no type or storage class
image.h:41: warning: data definition has no type or storage class
image.h:63: error: parse error before 'png_image_struct'
image.h:63: warning: no semicolon at end of struct or union
image.h:63: warning: no semicolon at end of struct or union
image.h:65: error: parse error before '}' token
image.h:65: warning: data definition has no type or storage class
image.h:66: error: parse error before '}' token
image.h:66: warning: data definition has no type or storage class
image.h:68: error: parse error before '*' token
image.h:68: warning: data definition has no type or storage class
writejpg.c: In function 'read_jpg_info':
writejpg.c:108: error: request for member 'x_res' in something not a structure or union
writejpg.c:108: error: request for member 'y_res' in something not a structure or union
writejpg.c:109: error: request for member 'image_struct' in something not a structure or union
writejpg.c:109: error: request for member 'image_name' in something not a structure or union
writejpg.c:110: error: request for member 'image_struct' in something not a structure or union
writejpg.c:111: error: request for member 'image_struct' in something not a structure or union
writejpg.c:111: error: request for member 'image_struct' in something not a structure or union
writejpg.c:112: error: request for member 'image_struct' in something not a structure or union
writejpg.c:113: error: request for member 'image_struct' in something not a structure or union
writejpg.c:116: error: request for member 'image_struct' in something not a structure or union
writejpg.c:117: error: request for member 'image_struct' in something not a structure or union
writejpg.c:118: error: request for member 'image_struct' in something not a structure or union
writejpg.c:120: error: request for member 'image_struct' in something not a structure or union
writejpg.c:121: error: request for member 'image_struct' in something not a structure or union
writejpg.c:122: error: request for member 'x_res' in something not a structure or union
writejpg.c:122: error: request for member 'image_struct' in something not a structure or union
writejpg.c:123: error: request for member 'y_res' in something not a structure or union
writejpg.c:123: error: request for member 'image_struct' in something not a structure or union
writejpg.c:126: error: request for member 'x_res' in something not a structure or union
writejpg.c:126: error: request for member 'y_res' in something not a structure or union
writejpg.c:128: error: request for member 'x_res' in something not a structure or union
writejpg.c:128: error: request for member 'y_res' in something not a structure or union
writejpg.c:132: error: request for member 'image_struct' in something not a structure or union
writejpg.c:134: error: request for member 'image_struct' in something not a structure or union
writejpg.c:134: error: request for member 'image_struct' in something not a structure or union
writejpg.c:136: error: request for member 'image_struct' in something not a structure or union
writejpg.c:153: error: request for member 'image_struct' in something not a structure or union
writejpg.c:154: error: request for member 'image_struct' in something not a structure or union
writejpg.c:154: error: request for member 'image_struct' in something not a structure or union
writejpg.c:155: error: request for member 'height' in something not a structure or union
writejpg.c:155: error: request for member 'image_struct' in something not a structure or union
writejpg.c:156: error: request for member 'width' in something not a structure or union
writejpg.c:156: error: request for member 'image_struct' in something not a structure or union
writejpg.c:157: error: request for member 'image_struct' in something not a structure or union
writejpg.c:157: error: request for member 'image_struct' in something not a structure or union
writejpg.c:158: error: request for member 'image_struct' in something not a structure or union
writejpg.c:159: error: request for member 'image_struct' in something not a structure or union
writejpg.c:161: error: request for member 'color_type' in something not a structure or union
writejpg.c:164: error: request for member 'color_type' in something not a structure or union
writejpg.c:167: error: request for member 'color_type' in something not a structure or union
writejpg.c:171: error: request for member 'image_struct' in something not a structure or union
writejpg.c:187: error: request for member 'image_struct' in something not a structure or union
writejpg.c:187: error: request for member 'image_struct' in something not a structure or union
writejpg.c: In function 'write_jpg':
writejpg.c:199: error: request for member 'width' in something not a structure or union
writejpg.c:200: error: request for member 'height' in something not a structure or union
writejpg.c:201: error: request for member 'image_struct' in something not a structure or union
writejpg.c:202: error: request for member 'image_struct' in something not a structure or union
writejpg.c:204: error: request for member 'image_struct' in something not a structure or union
writejpg.c:216: error: request for member 'image_struct' in something not a structure or union
writejpg.c:219: error: request for member 'image_struct' in something not a structure or union
writejpg.c:219: error: request for member 'image_struct' in something not a structure or union
make[3]: *** [writejpg.o] Error 1
make[2]: *** [pdftexdir/libpdf.a] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-09 08:58:01 UTC

*** This bug has been marked as a duplicate of bug 166030 ***