forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cygwin, psptoolchain, libpng compiler errors

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Sun Oct 02, 2005 7:14 pm    Post subject: Cygwin, psptoolchain, libpng compiler errors Reply with quote

[EDIT] i am a dumbass, had to compile zlib first...
hi!

when i try to compile libpng i get the following errors:
Quote:

psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -c -o png.o png.c
In file included from png.c:13: pointer to incomplete type
png.h:359:18: error: zlib.h: No such file or directorytype
In file included from png.h:363,pointer to incomplete type
from png.c:13: pointer to incomplete type
pngconf.h:1175: error: syntax error before '*' tokenis function)
pngconf.h:1175: warning: data definition has no type or storage class
pngconf.h:1176: error: syntax error before '*' token
pngconf.h:1176: warning: data definition has no type or storage class
pngconf.h:1177: error: syntax error before '*' tokene type
pngconf.h:1177: warning: data definition has no type or storage class
In file included from png.c:13: pointer to incomplete type
png.h:1107: error: syntax error before 'z_stream'lete type
png.h:1107: warning: no semicolon at end of struct or union
png.h:1179: error: 'gamma' redeclared as different kind of symbol
png.h:1353: error: syntax error before '}' tokenplete type
png.h:2833: error: syntax error before 'png_zalloc'te type
png.h:2833: error: syntax error before 'png_ptr'plete type
png.h:2833: warning: data definition has no type or storage class
png.h:2836: error: syntax error before 'png_ptr'plete type
png.c: In function 'png_set_sig_bytes':
png.c:98: error: dereferencing pointer to incomplete typee
png.c: At top level:png_convert_to_rfc1123':
png.c:143: error: syntax error before 'png_zalloc'ete type
png.c:143: error: syntax error before 'png_ptr'mplete type
png.c: In function 'png_zalloc':pointer to incomplete type
png.c:146: error: 'png_ptr' undeclared (first use in this function)
png.c:146: error: (Each undeclared identifier is reported only once
png.c:146: error: for each function it appears in.)te type
png.c:147: error: dereferencing pointer to incomplete type
png.c:150: error: 'items' undeclared (first use in this function)
png.c:150: error: 'size' undeclared (first use in this function)
png.c:153: warning: return makes integer from pointer without a cast
png.c:157: error: dereferencing pointer to incomplete type
png.c:159: error: dereferencing pointer to incomplete type
png.c:176: error: 'voidpf' undeclared (first use in this function)
png.c:176: error: syntax error before 'ptr'incomplete type
png.c: At top level:referencing pointer to incomplete type
png.c:185: error: syntax error before 'png_ptr'
png.c: In function 'png_zfree':
png.c:187: error: 'png_ptr' undeclared (first use in this function)
png.c:187: error: 'ptr' undeclared (first use in this function)
png.c: In function 'png_reset_crc':
png.c:196: error: dereferencing pointer to incomplete type
png.c:196: error: 'Z_NULL' undeclared (first use in this function)
png.c: In function 'png_calculate_crc':
png.c:209: error: dereferencing pointer to incomplete type
png.c:211: error: dereferencing pointer to incomplete type
png.c:217: error: dereferencing pointer to incomplete type
png.c:222: error: dereferencing pointer to incomplete type
png.c:222: error: dereferencing pointer to incomplete type
png.c:222: error: 'uInt' undeclared (first use in this function)
png.c:222: error: syntax error before 'length'
png.c: In function 'png_create_info_struct':
png.c:240: error: dereferencing pointer to incomplete type
png.c:240: error: dereferencing pointer to incomplete type
png.c: In function 'png_destroy_info_struct':
png.c:269: error: dereferencing pointer to incomplete type
png.c:270: error: dereferencing pointer to incomplete type
png.c: In function 'png_info_destroy':
png.c:585: error: dereferencing pointer to incomplete type
png.c:587: error: dereferencing pointer to incomplete type
png.c:588: error: dereferencing pointer to incomplete type
png.c:589: error: dereferencing pointer to incomplete type
png.c: In function 'png_get_io_ptr':
png.c:603: error: dereferencing pointer to incomplete type
png.c: In function 'png_init_io':
png.c:617: error: dereferencing pointer to incomplete type
png.c: In function 'png_convert_to_rfc1123':
png.c:632: error: dereferencing pointer to incomplete type
png.c:634: error: dereferencing pointer to incomplete type
png.c:660: error: dereferencing pointer to incomplete type
png.c:666: error: dereferencing pointer to incomplete type
png.c: In function 'png_handle_as_unknown':
png.c:732: error: dereferencing pointer to incomplete type
png.c:734: error: dereferencing pointer to incomplete type
png.c:734: error: dereferencing pointer to incomplete type
png.c:735: error: dereferencing pointer to incomplete type
png.c: In function 'png_reset_zstream':
png.c:746: error: dereferencing pointer to incomplete type
png.c: In function 'png_init_mmx_flags':
png.c:765: error: dereferencing pointer to incomplete type
png.c:766: error: dereferencing pointer to incomplete type
png.c:800: error: dereferencing pointer to incomplete type
make: *** [png.o] Error 1


how can i fix that?

TIA
Lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group