I've spent the last hour or so trying to compile this under cygwin. I've never used cygwin, so you'll have to forgive me if i've overlooked something simple.
Mplayer seems to be compiling fine until it get's to the vstream part. I've copied the output from make below.
It has problems finding the include file asm/unistd.h. Could this be causing the problem?
I appreciate any help you can give me.
Code:
make -C vstream
make[1]: Entering directory `/home/Graeme/MPlayer-0.90rc4/vstream'
gcc -c -O4 -march=i586 -mcpu=i586 -pipe -ffast-math -fomit-frame-pointer -D_LARG
EFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__CYGWIN__ -I../loader -o mfs.o mfs.c
In file included from mfs.c:7:
mfs.h:24:24: asm/unistd.h: No such file or directory
In file included from mfs.c:7:
mfs.h:76: parse error before "u64"
mfs.h:76: warning: data definition has no type or storage class
In file included from mfs.h:209,
from mfs.c:7:
proto.h:9: parse error before "u64"
proto.h:11: parse error before "mfs_fsid_size"
proto.h:11: warning: data definition has no type or storage class
proto.h:17: parse error before "u64"
proto.h:19: parse error before "limit"
proto.h:37: parse error before "llseek"
proto.h:37: parse error before "u64"
proto.h:37: warning: data definition has no type or storage class
mfs.c:280: parse error before "u64"
mfs.c: In function `mfs_fsid_pread':
mfs.c:286: `ofs' undeclared (first use in this function)
mfs.c:286: (Each undeclared identifier is reported only once
mfs.c:286: for each function it appears in.)
mfs.c:287: parse error before "size"
mfs.c:289: `fsid' undeclared (first use in this function)
mfs.c:293: `count' undeclared (first use in this function)
mfs.c:297: `buf' undeclared (first use in this function)
mfs.c:301: `size' undeclared (first use in this function)
mfs.c: At top level:
mfs.c:351: parse error before "mfs_fsid_size"
mfs.c: In function `mfs_fsid_size':
mfs.c:361: parse error before "inode"
mfs.c: At top level:
mfs.c:554: parse error before "u64"
mfs.c: In function `bitmap_fn':
mfs.c:562: `limit' undeclared (first use in this function)
mfs.c:572: `zone' undeclared (first use in this function)
mfs.c: In function `mfs_zone_bitmap':
mfs.c:588: `zone' undeclared (first use in this function)
mfs.c: At top level:
mfs.c:618: parse error before "limit"
mfs.c: In function `mfs_purge_all':
mfs.c:625: `limit' undeclared (first use in this function)
make[1]: *** [mfs.o] Error 1
make[1]: Leaving directory `/home/Graeme/MPlayer-0.90rc4/vstream'