GNOME Bugzilla – Bug 91597
can't build gdk-pixbuf for cygwin
Last modified: 2004-12-22 21:47:04 UTC
gcc complains .libs/libgdk_pixbuf-2.0.lax/libpixops.al/pixops.lo(.text+0x169c):pixops.c: undefined reference to `pixops_have_mmx' and the like. I guess following patch is necessary. diff -ur gtk+-2.0.6.orig/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S gtk+-2.0.6/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S --- gtk+-2.0.6.orig/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S 2002-01-12 07:54:54.000000000 +0900 +++ gtk+-2.0.6/gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S 2002-08-18 23:20:32.000000000 +0900 @@ -4,7 +4,7 @@ .text .align 16 -#ifndef __MINGW32__ +#if !defined(__MINGW32__) && !defined(__CYGWIN__) .globl pixops_composite_line_22_4a4_mmx .type pixops_composite_line_22_4a4_mmx,@function diff -ur gtk+-2.0.6.orig/gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S gtk+-2.0.6/gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S --- gtk+-2.0.6.orig/gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S 2002-01-12 07:54:54.000000000 +0900 +++ gtk+-2.0.6/gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S 2002-08-18 23:20:56.000000000 +0900 @@ -4,7 +4,7 @@ .text .align 16 -#ifndef __MINGW32__ +#if !defined(__MINGW32__) && !defined(__CYGWIN__) .globl pixops_composite_line_color_22_4a4_mmx .type pixops_composite_line_color_22_4a4_mmx,@function diff -ur gtk+-2.0.6.orig/gdk-pixbuf/pixops/have_mmx.S gtk+-2.0.6/gdk-pixbuf/pixops/have_mmx.S --- gtk+-2.0.6.orig/gdk-pixbuf/pixops/have_mmx.S 2001-01-23 08:09:46.000000000 +0900 +++ gtk+-2.0.6/gdk-pixbuf/pixops/have_mmx.S 2002-08-18 23:21:08.000000000 +0900 @@ -4,7 +4,7 @@ .text .align 16 -#ifndef __MINGW32__ +#if !defined(__MINGW32__) && !defined(__CYGWIN__) .globl pixops_have_mmx .type pixops_have_mmx,@function diff -ur gtk+-2.0.6.orig/gdk-pixbuf/pixops/scale_line_22_33_mmx.S gtk+-2.0.6/gdk-pixbuf/pixops/scale_line_22_33_mmx.S --- gtk+-2.0.6.orig/gdk-pixbuf/pixops/scale_line_22_33_mmx.S 2002-01-12 07:54:54.000000000 +0900 +++ gtk+-2.0.6/gdk-pixbuf/pixops/scale_line_22_33_mmx.S 2002-08-18 23:21:24.000000000 +0900 @@ -4,7 +4,7 @@ .text .align 16 -#ifndef __MINGW32__ +#if !defined(__MINGW32__) && !defined(__CYGWIN__) .globl pixops_scale_line_22_33_mmx .type pixops_scale_line_22_33_mmx,@function
Patch applied to HEAD and gtk-2-0.