Opened 14 years ago
Closed 14 years ago
#1787 closed defect (fixed)
mplayer fails to build on OpenSolaris
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | vo |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
Log is below. Patch fixing the problem is in attachment.
gcc -DHAVE_AV_CONFIG_H -I.. -I.. -I/usr/X11R6/include -I/usr/include -I/home/cheusov/pkg-gcc34/include -I/home/cheusov/pkg-gcc34/include/freetype2 -Wundef -Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99 -O -I/usr/include -I/home/cheusov/pkg-gcc34/include -I/home/cheusov/pkg-gcc34/include/freetype2 -O3 -ffast-math -fomit-frame-pointer -mcpu=pentiumpro -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -I/usr/X11R6/include -I/usr/include -I/home/cheusov/pkg-gcc34/include -I/home/cheusov/pkg-gcc34/include/freetype2 -I/usr/X11/include -I/home/cheusov/pkg-gcc34/include/SDL -D_REENTRANT -I/home/cheusov/pkg-gcc34/include/freetype2 -I/home/cheusov/pkg-gcc34/include -c -o mlib/yuv2rgb_mlib.o mlib/yuv2rgb_mlib.c
-mcpu=' is deprecated. Use
-mtune=' or '-march=' instead.
mlib/yuv2rgb_mlib.c:33: error: syntax error before '*' token
mlib/yuv2rgb_mlib.c: In function `mlib_YUV2ARGB420_32':
mlib/yuv2rgb_mlib.c:36: error: `c' undeclared (first use in this function)
mlib/yuv2rgb_mlib.c:36: error: (Each undeclared identifier is reported only once
mlib/yuv2rgb_mlib.c:36: error: for each function it appears in.)
mlib/yuv2rgb_mlib.c:37: error: `srcStride' undeclared (first use in this function)
Attachments (1)
Change History (3)
by , 14 years ago
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied, but some comments:
1) libswscale belongs to FFmpeg, so please report any future issues with it to them
2) mlib probably is useless, to my knowledge it does not provide any speed advantage in almost all cases.
patch fixing the problem