devel/sdl12 broken on 4-stable

Mikhail Teterin mi at symbion.zaytman.com
Sat Dec 25 21:42:21 PST 2004


Hello!

When I try to build the port on 4.11-stable, I get the error below.
Any clues? Is the MMX-assembly supposed to work with 4.x' system
compiler (gcc-2.95.4)? Thanks!

	-mi

===>  Building for sdl-1.2.8,1
Making all in src
Making all in main
Making all in audio
Making all in disk
Making all in dsp
Making all in dma
Making all in arts
Making all in esd
Making all in nas
Making all in video
Making all in dummy
Making all in x11
Making all in XFree86/Xxf86vm
Making all in XFree86/Xxf86dga
Making all in XFree86/Xv
Making all in XFree86/Xinerama
Making all in dga
Making all in svga
Making all in aalib
source='SDL_yuv_mmx.c' object='SDL_yuv_mmx.lo' libtool=yes  depfile='.deps/SDL_yuv_mmx.Plo' tmpdepfile='.deps/SDL_yuv_mmx.TPlo'  depmode=gcc /bin/sh ../../depcomp  /bin/sh ../../libtool --mode=compile cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA=1  -I. -I.      -O -pipe -march=pentiumpro  -march=pentiumpro -D_THREAD_SAFE -I/opt/include -DHAVE_LIBUSBHID_H -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/opt/include/artsc -D_THREAD_SAFE -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.2 -I/opt/include -DNAS_SUPPORT -I/usr/X11R6/include/  -I/opt/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -D_REENTRANT -D_THREAD_SAFE -DSDL_USE_PTHREADS -DHAVE_SEMUN -DHAVE_SIGACTION -DHAVE_LIBUSBHID_H -DUSBHID_UCR_DATA -I../../include -I../../include/SDL -I../../src -I../../src/main/freebsd -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c -o SDL_yuv_mmx.lo SDL_yuv_mmx.c
 cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA=1 -I. -I. -O -pipe -march=pentiumpro -march=pentiumpro -D_THREAD_SAFE -I/opt/include -DHAVE_LIBUSBHID_H -Wall -DENABLE_DUMMYVIDEO -DDISKAUD_SUPPORT -DUSE_DLOPEN -DUSE_ASMBLIT -I./hermes -I../../src/hermes -DOSS_SUPPORT -DARTSC_SUPPORT -DARTSC_DYNAMIC=libartsc.so.0 -I/opt/include/artsc -D_THREAD_SAFE -I/opt/include/glib-2.0 -I/opt/lib/glib-2.0/include -DESD_SUPPORT -DESD_DYNAMIC=libesd.so.2 -I/opt/include -DNAS_SUPPORT -I/usr/X11R6/include/ -I/opt/include -DENABLE_X11 -DXTHREADS -I./include -I./src/video -DXFREE86_VM -DXFREE86_VMGAMMA -DXFREE86_DGAMOUSE -DDEFAULT_DGAMOUSE -DXFREE86_XV -DHAVE_XINERAMA -Isrc/video -DENABLE_DGA -DENABLE_SVGALIB -DENABLE_AALIB -DHAVE_OPENGL -D_REENTRANT -D_THREAD_SAFE -DSDL_USE_PTHREADS -DHAVE_SEMUN -DHAVE_SIGACTION -DHAVE_LIBUSBHID_H -DUSBHID_UCR_DATA -I../../include -I../../include/SDL -I../../src -I../../src/main/freebsd -I../../src/audio -I../../src/video -I../../src/video/XFree86/extensions -I../../src/events -I../../src/joystick -I../../src/cdrom -I../../src/thread -I../../src/timer -I../../src/endian -I../../src/file -I../../src/thread -c SDL_yuv_mmx.c -Wp,-MD,.deps/SDL_yuv_mmx.TPlo  -fPIC -DPIC -o .libs/SDL_yuv_mmx.o
SDL_yuv_mmx.c: In function `ColorRGBDitherYV12MMX1X':
SDL_yuv_mmx.c:236: syntax error before `['
SDL_yuv_mmx.c: In function `Color565DitherYV12MMX1X':
SDL_yuv_mmx.c:417: syntax error before `['
SDL_yuv_mmx.c: At top level:
SDL_yuv_mmx.c:33: warning: `MMX_0080w' defined but not used
SDL_yuv_mmx.c:34: warning: `MMX_00FFw' defined but not used
SDL_yuv_mmx.c:35: warning: `MMX_FF00w' defined but not used
SDL_yuv_mmx.c:37: warning: `MMX_Ycoeff' defined but not used
SDL_yuv_mmx.c:39: warning: `MMX_UbluRGB' defined but not used
SDL_yuv_mmx.c:40: warning: `MMX_VredRGB' defined but not used
SDL_yuv_mmx.c:41: warning: `MMX_UgrnRGB' defined but not used
SDL_yuv_mmx.c:42: warning: `MMX_VgrnRGB' defined but not used
SDL_yuv_mmx.c:44: warning: `MMX_Ublu5x5' defined but not used
SDL_yuv_mmx.c:45: warning: `MMX_Vred5x5' defined but not used
SDL_yuv_mmx.c:46: warning: `MMX_Ugrn555' defined but not used
SDL_yuv_mmx.c:47: warning: `MMX_Vgrn555' defined but not used
SDL_yuv_mmx.c:48: warning: `MMX_Ugrn565' defined but not used
SDL_yuv_mmx.c:49: warning: `MMX_Vgrn565' defined but not used
SDL_yuv_mmx.c:51: warning: `MMX_red555' defined but not used
SDL_yuv_mmx.c:52: warning: `MMX_red565' defined but not used
SDL_yuv_mmx.c:53: warning: `MMX_grn555' defined but not used
SDL_yuv_mmx.c:54: warning: `MMX_grn565' defined but not used
SDL_yuv_mmx.c:55: warning: `MMX_blu5x5' defined but not used
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.8/src/video.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.8/src/video.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.8/src.
*** Error code 1

Stop in /usr/ports/devel/sdl12/work/SDL-1.2.8.
*** Error code 1

Stop in /usr/ports/devel/sdl12.


More information about the freebsd-ports mailing list