[MPlayer-cygwin] [BUG] Compilation failure at pnm.c (Cygwin)

Diego Biurrun diego at biurrun.de
Fri Dec 27 23:17:22 CET 2002


Hello!

I get the following compilation failure on Cygwin with latest CVS:

make -C libmpdemux
make[1]: Entering directory `/home/diego/tree/libmpdemux'
gcc -c -O4 -march=k6-2 -mcpu=k6-2 -pipe -ffast-math -fomit-frame-pointer 
-D__CYGWIN__ -I../loader    -o pnm.o pnm.c
pnm.c:77: parse error before "uint8_t"
pnm.c:77: warning: no semicolon at end of struct or union
pnm.c:81: parse error before "header"
pnm.c:81: warning: data definition has no type or storage class
pnm.c:86: parse error before "ts_current"
pnm.c:86: warning: data definition has no type or storage class
pnm.c:87: parse error before "ts_last"
pnm.c:87: warning: data definition has no type or storage class
pnm.c:89: parse error before '}' token
pnm.c:178: parse error before "pnm_default_bandwidth"
pnm.c:178: warning: data definition has no type or storage class
pnm.c:179: parse error before "pnm_available_bandwidths"
pnm.c:180: warning: data definition has no type or storage class
pnm.c: In function `rm_read':
pnm.c:241: `uint8_t' undeclared (first use in this function)
pnm.c:241: (Each undeclared identifier is reported only once
pnm.c:241: for each function it appears in.)
pnm.c:241: parse error before ')' token
pnm.c: In function `pnm_get_chunk':
pnm.c:303: dereferencing pointer to incomplete type
pnm.c:305: dereferencing pointer to incomplete type
pnm.c:307: dereferencing pointer to incomplete type
pnm.c:309: `uint8_t' undeclared (first use in this function)
pnm.c:309: parse error before ')' token
pnm.c:309: parse error before ')' token
pnm.c:309: parse error before ')' token
pnm.c:309: parse error before ')' token
pnm.c:310: parse error before ')' token
pnm.c:310: parse error before ')' token
pnm.c:310: parse error before ')' token
pnm.c:310: parse error before ')' token
pnm.c:316: dereferencing pointer to incomplete type
pnm.c:321: dereferencing pointer to incomplete type
pnm.c:325: dereferencing pointer to incomplete type
pnm.c:326: parse error before ')' token
pnm.c:326: parse error before ')' token
pnm.c:327: dereferencing pointer to incomplete type
pnm.c:346: dereferencing pointer to incomplete type
pnm.c:350: dereferencing pointer to incomplete type
pnm.c:361: dereferencing pointer to incomplete type
pnm.c:365: dereferencing pointer to incomplete type
pnm.c: At top level:
pnm.c:380: parse error before "chunk_id"
pnm.c: In function `pnm_write_chunk':
pnm.c:383: `data' undeclared (first use in this function)
pnm.c:383: `chunk_id' undeclared (first use in this function)
pnm.c:385: `length' undeclared (first use in this function)
pnm.c:387: `chunk' undeclared (first use in this function)
pnm.c: At top level:
pnm.c:396: parse error before "uint32_t"
pnm.c: In function `pnm_send_request':
pnm.c:398: `uint16_t' undeclared (first use in this function)
pnm.c:398: parse error before "i16"
pnm.c:402: `p' undeclared (first use in this function)
pnm.c:433: `i16' undeclared (first use in this function)
pnm.c: In function `pnm_send_response':
pnm.c:461: dereferencing pointer to incomplete type
pnm.c:462: dereferencing pointer to incomplete type
pnm.c:463: dereferencing pointer to incomplete type
pnm.c:465: dereferencing pointer to incomplete type
pnm.c:467: dereferencing pointer to incomplete type
pnm.c:467: dereferencing pointer to incomplete type
pnm.c: In function `pnm_get_headers':
pnm.c:481: `uint32_t' undeclared (first use in this function)
pnm.c:481: parse error before "chunk_type"
pnm.c:482: `uint8_t' undeclared (first use in this function)
pnm.c:482: `ptr' undeclared (first use in this function)
pnm.c:482: dereferencing pointer to incomplete type
pnm.c:483: `prop_hdr' undeclared (first use in this function)
pnm.c:496: `chunk_type' undeclared (first use in this function)
pnm.c:528: dereferencing pointer to incomplete type
pnm.c:529: dereferencing pointer to incomplete type
pnm.c:529: dereferencing pointer to incomplete type
pnm.c:540: dereferencing pointer to incomplete type
pnm.c: In function `pnm_calc_stream':
pnm.c:556: dereferencing pointer to incomplete type
pnm.c:556: dereferencing pointer to incomplete type
pnm.c:557: dereferencing pointer to incomplete type
pnm.c:557: dereferencing pointer to incomplete type
pnm.c:563: dereferencing pointer to incomplete type
pnm.c:564: dereferencing pointer to incomplete type
pnm.c:564: dereferencing pointer to incomplete type
pnm.c:568: dereferencing pointer to incomplete type
pnm.c:569: dereferencing pointer to incomplete type
pnm.c:569: dereferencing pointer to incomplete type
pnm.c:576: dereferencing pointer to incomplete type
pnm.c:576: dereferencing pointer to incomplete type
pnm.c:577: dereferencing pointer to incomplete type
pnm.c:577: dereferencing pointer to incomplete type
pnm.c:580: dereferencing pointer to incomplete type
pnm.c:580: dereferencing pointer to incomplete type
pnm.c:581: dereferencing pointer to incomplete type
pnm.c:584: dereferencing pointer to incomplete type
pnm.c:584: dereferencing pointer to incomplete type
pnm.c:585: dereferencing pointer to incomplete type
pnm.c:585: dereferencing pointer to incomplete type
pnm.c:588: dereferencing pointer to incomplete type
pnm.c:588: dereferencing pointer to incomplete type
pnm.c:589: dereferencing pointer to incomplete type
pnm.c:594: dereferencing pointer to incomplete type
pnm.c:594: dereferencing pointer to incomplete type
pnm.c:596: dereferencing pointer to incomplete type
pnm.c:596: dereferencing pointer to incomplete type
pnm.c:602: dereferencing pointer to incomplete type
pnm.c:602: dereferencing pointer to incomplete type
pnm.c:603: dereferencing pointer to incomplete type
pnm.c:603: dereferencing pointer to incomplete type
pnm.c: In function `pnm_get_stream_chunk':
pnm.c:623: dereferencing pointer to incomplete type
pnm.c:625: dereferencing pointer to incomplete type
pnm.c:634: dereferencing pointer to incomplete type
pnm.c:634: dereferencing pointer to incomplete type
pnm.c:638: dereferencing pointer to incomplete type
pnm.c:640: dereferencing pointer to incomplete type
pnm.c:640: dereferencing pointer to incomplete type
pnm.c:648: dereferencing pointer to incomplete type
pnm.c:650: `uint8_t' undeclared (first use in this function)
pnm.c:650: parse error before ')' token
pnm.c:650: dereferencing pointer to incomplete type
pnm.c:650: parse error before ')' token
pnm.c:650: dereferencing pointer to incomplete type
pnm.c:652: dereferencing pointer to incomplete type
pnm.c:652: dereferencing pointer to incomplete type
pnm.c:653: dereferencing pointer to incomplete type
pnm.c:654: dereferencing pointer to incomplete type
pnm.c:657: dereferencing pointer to incomplete type
pnm.c:668: dereferencing pointer to incomplete type
pnm.c:671: dereferencing pointer to incomplete type
pnm.c:671: dereferencing pointer to incomplete type
pnm.c:673: dereferencing pointer to incomplete type
pnm.c:673: dereferencing pointer to incomplete type
pnm.c:682: dereferencing pointer to incomplete type
pnm.c:682: dereferencing pointer to incomplete type
pnm.c:685: dereferencing pointer to incomplete type
pnm.c:690: parse error before ')' token
pnm.c:690: dereferencing pointer to incomplete type
pnm.c:690: parse error before ')' token
pnm.c:690: dereferencing pointer to incomplete type
pnm.c:691: parse error before ')' token
pnm.c:691: dereferencing pointer to incomplete type
pnm.c:691: parse error before ')' token
pnm.c:691: dereferencing pointer to incomplete type
pnm.c:699: dereferencing pointer to incomplete type
pnm.c:699: parse error before ')' token
pnm.c:699: dereferencing pointer to incomplete type
pnm.c:699: parse error before ')' token
pnm.c:699: dereferencing pointer to incomplete type
pnm.c:702: dereferencing pointer to incomplete type
pnm.c:702: dereferencing pointer to incomplete type
pnm.c:706: dereferencing pointer to incomplete type
pnm.c:706: dereferencing pointer to incomplete type
pnm.c:709: dereferencing pointer to incomplete type
pnm.c:709: parse error before ')' token
pnm.c:709: dereferencing pointer to incomplete type
pnm.c:709: parse error before ')' token
pnm.c:709: dereferencing pointer to incomplete type
pnm.c:709: parse error before ')' token
pnm.c:709: dereferencing pointer to incomplete type
pnm.c:709: parse error before ')' token
pnm.c:709: dereferencing pointer to incomplete type
pnm.c:715: dereferencing pointer to incomplete type
pnm.c:715: dereferencing pointer to incomplete type
pnm.c:719: dereferencing pointer to incomplete type
pnm.c:720: dereferencing pointer to incomplete type
pnm.c:722: parse error before ')' token
pnm.c:722: parse error before ')' token
pnm.c:723: dereferencing pointer to incomplete type
pnm.c:727: dereferencing pointer to incomplete type
pnm.c:728: dereferencing pointer to incomplete type
pnm.c:730: dereferencing pointer to incomplete type
pnm.c:730: dereferencing pointer to incomplete type
pnm.c:732: dereferencing pointer to incomplete type
pnm.c:734: dereferencing pointer to incomplete type
pnm.c: In function `pnm_connect':
pnm.c:742: sizeof applied to an incomplete type
pnm.c:745: dereferencing pointer to incomplete type
pnm.c:746: dereferencing pointer to incomplete type
pnm.c:751: dereferencing pointer to incomplete type
pnm.c:757: dereferencing pointer to incomplete type
pnm.c:758: dereferencing pointer to incomplete type
pnm.c:762: dereferencing pointer to incomplete type
pnm.c:762: dereferencing pointer to incomplete type
pnm.c:762: dereferencing pointer to incomplete type
pnm.c:763: dereferencing pointer to incomplete type
pnm.c:763: dereferencing pointer to incomplete type
pnm.c:764: dereferencing pointer to incomplete type
pnm.c: In function `pnm_read':
pnm.c:773: dereferencing pointer to incomplete type
pnm.c:773: dereferencing pointer to incomplete type
pnm.c:774: dereferencing pointer to incomplete type
pnm.c:774: dereferencing pointer to incomplete type
pnm.c:782: dereferencing pointer to incomplete type
pnm.c:790: dereferencing pointer to incomplete type
pnm.c:791: dereferencing pointer to incomplete type
pnm.c:791: dereferencing pointer to incomplete type
pnm.c:795: dereferencing pointer to incomplete type
pnm.c: In function `pnm_peek_header':
pnm.c:806: dereferencing pointer to incomplete type
pnm.c:806: dereferencing pointer to incomplete type
pnm.c:807: dereferencing pointer to incomplete type
pnm.c: In function `pnm_close':
pnm.c:812: dereferencing pointer to incomplete type
pnm.c:812: dereferencing pointer to incomplete type
pnm.c:813: dereferencing pointer to incomplete type
make[1]: *** [pnm.o] Error 1
make[1]: Leaving directory `/home/diego/tree/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

System:

W2K SP3 with latest Cygwin
gcc (GCC) 3.2 20020927 (prerelease)
binutils 2.13.90 20021118

K6-2 500
Ati Rage 128
SB 128

Diego
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.mak
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20021227/e5c0c572/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20021227/e5c0c572/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.mak
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20021227/e5c0c572/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.log
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20021227/e5c0c572/attachment-0001.txt>


More information about the MPlayer-cygwin mailing list