[MPlayer-dev-eng] libmpdemux does not compile

Anders Johansson ajh at atri.curtin.edu.au
Wed Jan 23 13:51:57 CET 2002


I got this trying to compile libmpdemux.a:

make -C libmpdemux
make[1]: Entering directory `/home/ajh/private/src/mplayer/main.dev/libmpdemux'
gcc -c -Djpeg_fdct_ifast=jpeg_fdct_ifast2 -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -I../loader   -o asf_streaming.o asf_streaming.c
In file included from network.h:19,
                 from asf_streaming.c:12:
stream.h:43: parse error before `streaming_ctrl_t'
stream.h:43: warning: no semicolon at end of struct or union
stream.h:45: warning: data definition has no type or storage class
stream.h:48: parse error before `*'
stream.h:56: parse error before `*'
stream.h:57: parse error before `*'
stream.h:61: parse error before `*'
stream.h: In function `stream_read_char':
stream.h:62: `s' undeclared (first use in this function)
stream.h:62: (Each undeclared identifier is reported only once
stream.h:62: for each function it appears in.)
stream.h: At top level:
stream.h:70: parse error before `*'
stream.h: In function `stream_read_word':
stream.h:72: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:77: parse error before `*'
stream.h: In function `stream_read_dword':
stream.h:79: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:88: parse error before `*'
stream.h: In function `stream_read_word_le':
stream.h:90: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:95: parse error before `*'
stream.h: In function `stream_read_dword_le':
stream.h:97: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:104: parse error before `*'
stream.h: In function `stream_read_qword':
stream.h:106: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:117: parse error before `*'
stream.h: In function `stream_read':
stream.h:118: `total' undeclared (first use in this function)
stream.h:121: `s' undeclared (first use in this function)
stream.h:128: `mem' undeclared (first use in this function)
stream.h: At top level:
stream.h:134: parse error before `*'
stream.h: In function `stream_eof':
stream.h:135: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:138: parse error before `*'
stream.h: In function `stream_tell':
stream.h:139: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:142: parse error before `*'
stream.h: In function `stream_seek':
stream.h:146: `pos' undeclared (first use in this function)
stream.h:146: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:158: parse error before `*'
stream.h: In function `stream_skip':
stream.h:159: `len' undeclared (first use in this function)
stream.h:159: `s' undeclared (first use in this function)
stream.h: At top level:
stream.h:176: parse error before `*'
stream.h:177: parse error before `*'
stream.h:177: warning: data definition has no type or storage class
stream.h:178: parse error before `*'
stream.h:179: parse error before `*'
stream.h:179: warning: data definition has no type or storage class
stream.h:180: parse error before `*'
stream.h:180: warning: data definition has no type or storage class
asf_streaming.c:46: parse error before `*'
asf_streaming.c: In function `asf_streaming_start':
asf_streaming.c:50: `stream' undeclared (first use in this function)
asf_streaming.c: At top level:
asf_streaming.c:563: parse error before `*'
asf_streaming.c: In function `asf_http_streaming_start':
asf_streaming.c:566: `stream' undeclared (first use in this function)
make[1]: *** [asf_streaming.o] Error 1
make[1]: Leaving directory `/home/ajh/private/src/mplayer/main.dev/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2



It works if I add: 

#ifdef STREAMING
#include "stream.h"
#include "network.h"
#endif

to libmpdemux/asf.h, I don't want to commit cause it it is not my code.

Regards,
//Anders






More information about the MPlayer-dev-eng mailing list