redhat 7 compile error
Owen Williams
ywwg at usa.net
Wed Apr 11 05:04:26 CEST 2001
When I compile the new vlc with redhat 7 I get the following error. I
have seen errors like this before, and I know it is becuase redhat 7 is
a piece of crap. However, can you fix it anyway?
Owen Williams
ps: please reply by email as well as to the list, I am not subscribed.
gcc -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -Iinclude
-Iextras -I/usr/local/include -Wall -Winline -D_REENTRANT -D_GNU_SOURCE
-O3 -ffast-math -funroll-loops -fomit-frame-pointer -march=pentiumpro
-mcpu=pentiumpro -DHAVE_MMX -fPIC -c -o plugins/sdl/vout_sdl.o
plugins/sdl/vout_sdl.c
plugins/sdl/vout_sdl.c:81: parse error before `SDL_Overlay'
plugins/sdl/vout_sdl.c:81: warning: no semicolon at end of struct or
union
plugins/sdl/vout_sdl.c:93: parse error before `}'
plugins/sdl/vout_sdl.c:93: warning: type defaults to `int' in
declaration of `vout_sys_t'
plugins/sdl/vout_sdl.c:93: warning: data definition has no type or
storage class
plugins/sdl/vout_sdl.c: In function `vout_Create':
plugins/sdl/vout_sdl.c:169: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:171: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:172: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:174: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:176: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:178: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:180: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:183: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:184: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c: In function `vout_Init':
plugins/sdl/vout_sdl.c:232: `SDL_Overlay' undeclared (first use in this
function)
plugins/sdl/vout_sdl.c:232: (Each undeclared identifier is reported only
once
plugins/sdl/vout_sdl.c:232: for each function it appears in.)
plugins/sdl/vout_sdl.c:232: `p_overlay' undeclared (first use in this
function)
plugins/sdl/vout_sdl.c:232: warning: statement with no effect
plugins/sdl/vout_sdl.c:234: warning: implicit declaration of function
`SDL_CreateYUVOverlay'
plugins/sdl/vout_sdl.c:237: `SDL_YV12_OVERLAY' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:238: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:243: warning: implicit declaration of function
`SDL_FreeYUVOverlay'
plugins/sdl/vout_sdl.c: In function `vout_Manage':
plugins/sdl/vout_sdl.c:285: `SDL_VIDEORESIZE' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:286: union has no member named `resize'
plugins/sdl/vout_sdl.c:287: union has no member named `resize'
plugins/sdl/vout_sdl.c:288: warning: unreachable code at beginning of
switch statement
plugins/sdl/vout_sdl.c:292: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:295: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:297: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:302: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:310: `SDL_BUTTON_RIGHT' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:311: warning: unreachable code at beginning of
switch statement
plugins/sdl/vout_sdl.c:319: `SDL_BUTTON_MIDDLE' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:320: warning: unreachable code at beginning of
switch statement
plugins/sdl/vout_sdl.c:419: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:420: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:454: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:454: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:456: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:458: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:459: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:460: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:468: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:469: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:472: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:478: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:478: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:480: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:481: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c: In function `vout_SetPalette':
plugins/sdl/vout_sdl.c:512: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c: In function `vout_Display':
plugins/sdl/vout_sdl.c:528: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:528: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:533: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:543: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:545: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:548: `SDL_YV12_OVERLAY' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:549: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:552: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:556: warning: implicit declaration of function
`SDL_LockYUVOverlay'
plugins/sdl/vout_sdl.c:556: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:559: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:561: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:562: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:564: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:566: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:567: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:569: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:571: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:572: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:579: warning: implicit declaration of function
`SDL_DisplayYUVOverlay'
plugins/sdl/vout_sdl.c:579: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:580: warning: implicit declaration of function
`SDL_UnlockYUVOverlay'
plugins/sdl/vout_sdl.c:580: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c: In function `SDLOpenDisplay':
plugins/sdl/vout_sdl.c:605: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:611: `SDL_RESIZABLE' undeclared (first use in
this function)
plugins/sdl/vout_sdl.c:623: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:624: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:633: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:633: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:634: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:637: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:643: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:651: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:651: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:652: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:653: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:653: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:654: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:659: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:660: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:661: warning: implicit declaration of function
`SDL_SetClipRect'
plugins/sdl/vout_sdl.c:661: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:664: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:665: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:666: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:669: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:671: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:673: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:674: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:675: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:679: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:680: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:684: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:684: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:685: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:685: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:688: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:689: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:690: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:692: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:693: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:696: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c: In function `SDLCloseDisplay':
plugins/sdl/vout_sdl.c:709: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:711: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:713: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:714: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:717: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:718: dereferencing pointer to incomplete type
plugins/sdl/vout_sdl.c:719: dereferencing pointer to incomplete type
make: *** [plugins/sdl/vout_sdl.o] Error 1
More information about the vlc
mailing list