After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 91597 - can't build gdk-pixbuf for cygwin
can't build gdk-pixbuf for cygwin
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.0.x
Other Windows
: Normal minor
: ---
Assigned To: Tor Lillqvist
Tor Lillqvist
Depends on:
Blocks:
 
 
Reported: 2002-08-24 13:00 UTC by Masahiro Sakai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Masahiro Sakai 2002-08-24 13:00:59 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
Comment 1 Tor Lillqvist 2002-09-28 02:52:22 UTC
Patch applied to HEAD and gtk-2-0.