[Mono-dev] error: too few arguments to function `glitz_surface_create'

Steven T. Hatton hattons at globalsymmetry.com
Sun Aug 21 23:31:26 EDT 2005


I'm trying to build mono and MonoDevelop on a SuSE 9.3+ box (see below for 
specs).  Though it's probably not the source of my problem, I should mention 
that, in proper Unix fashion, I am installing to a non-system directory.  Any 
advice would be appreciated.

These are the errors:

make[4]: Entering directory `/download/org/go-mono/libgdiplus/cairo/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I. -I/usr/X11R6/include    -I/usr/include/libpng12     -I../../libpixman/src   
-I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes      
-Wmissing-prototypes -Wmissing-declarations    -Wnested-externs 
-fno-strict-aliasing    -g -O2 -MT cairo_glitz_surface.lo -MD -MP -MF 
".deps/cairo_glitz_surface.Tpo" -c -o cairo_glitz_surface.lo 
cairo_glitz_surface.c; \
then mv -f ".deps/cairo_glitz_surface.Tpo" ".deps/cairo_glitz_surface.Plo"; 
else rm -f ".deps/cairo_glitz_surface.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/X11R6/include 
-I/usr/include/libpng12 -I../../libpixman/src -I/usr/include/freetype2 -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -g -O2 -MT 
cairo_glitz_surface.lo -MD -MP -MF .deps/cairo_glitz_surface.Tpo -c 
cairo_glitz_surface.c  -fPIC -DPIC -o .libs/cairo_glitz_surface.o
cairo_glitz_surface.c: In function `_glitz_surface_create_solid':
cairo_glitz_surface.c:336: error: too few arguments to function 
`glitz_surface_create'
cairo_glitz_surface.c: In function `_glitz_ensure_target':
cairo_glitz_surface.c:358: error: `glitz_pbuffer_attributes_t' undeclared 
(first use in this function)
cairo_glitz_surface.c:358: error: (Each undeclared identifier is reported only 
once
cairo_glitz_surface.c:358: error: for each function it appears in.)
cairo_glitz_surface.c:358: error: syntax error before "attributes"
cairo_glitz_surface.c:400: error: `attributes' undeclared (first use in this 
function)
cairo_glitz_surface.c:402: error: `GLITZ_PBUFFER_WIDTH_MASK' undeclared (first 
use in this function)
cairo_glitz_surface.c:402: error: `GLITZ_PBUFFER_HEIGHT_MASK' undeclared 
(first use in this function)
cairo_glitz_surface.c: In function `_cairo_glitz_surface_create_similar':
cairo_glitz_surface.c:460: error: too few arguments to function 
`glitz_surface_create'
cairo_glitz_surface.c: In function `_glitz_composite':
cairo_glitz_surface.c:523: warning: passing arg 4 of `glitz_set_geometry' from 
incompatible pointer type
cairo_glitz_surface.c:523: error: too many arguments to function 
`glitz_set_geometry'
cairo_glitz_surface.c:534: error: too many arguments to function 
`glitz_set_geometry'
cairo_glitz_surface.c: In function `_cairo_glitz_surface_fill_rectangles':
cairo_glitz_surface.c:630: error: union has no member named `mode'
cairo_glitz_surface.c:630: error: `GLITZ_GEOMETRY_MODE_DIRECT' undeclared 
(first use in this function)
cairo_glitz_surface.c:631: error: union has no member named `edge_hint'
cairo_glitz_surface.c:631: error: `GLITZ_GEOMETRY_EDGE_HINT_SHARP' undeclared 
(first use in this function)
cairo_glitz_surface.c:632: error: union has no member named `primitive'
cairo_glitz_surface.c:632: error: `GLITZ_GEOMETRY_PRIMITIVE_QUADS' undeclared 
(first use in this function)
cairo_glitz_surface.c:633: error: union has no member named `type'
cairo_glitz_surface.c:634: error: union has no member named `first'
cairo_glitz_surface.c:635: error: union has no member named `count'
cairo_glitz_surface.c: In function 
`_cairo_glitz_surface_composite_trapezoids':
cairo_glitz_surface.c:727: error: union has no member named `mode'
cairo_glitz_surface.c:727: error: `GLITZ_GEOMETRY_MODE_DIRECT' undeclared 
(first use in this function)
cairo_glitz_surface.c:728: error: union has no member named `edge_hint'
cairo_glitz_surface.c:728: error: `GLITZ_GEOMETRY_EDGE_HINT_GOOD_SMOOTH' 
undeclared (first use in this function)
cairo_glitz_surface.c:729: error: union has no member named `primitive'
cairo_glitz_surface.c:729: error: `GLITZ_GEOMETRY_PRIMITIVE_QUADS' undeclared 
(first use in this function)
cairo_glitz_surface.c:730: error: union has no member named `type'
cairo_glitz_surface.c:731: error: union has no member named `first'
cairo_glitz_surface.c:732: error: union has no member named `count'
make[4]: *** [cairo_glitz_surface.lo] Error 1

System information:

|==============|
| Distribution |
SuSE Linux 9.3 (i586)
VERSION = 9.3

|==================|
| Operating |
| System |
Linux ljosalfr 2.6.11.4-21.8-default #1 Tue Jul 19 12:42:37 UTC 2005 i686 i686 
i386 GNU/Linux

|=====|
| CPU |
01: None 00.0: 10103 CPU
  [Created at cpu.290]
  Unique ID: rdCR.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: Intel
  Vendor: "GenuineIntel"
  Model: 15.2.4 "Intel(R) Pentium(R) 4 CPU 2.40GHz"
  Features: 
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht
,tm
  Clock: 2392 MHz
  Cache: 512 kb
  Units/Processor: 1
  Config Status: cfg=no, avail=yes, need=no, active=unknown

|=====|
| RAM |
             total       used       free     shared    buffers     cached
Mem:       1035968    1002180      33788          0      66416     442924
-/+ buffers/cache:     492840     543128
Swap:      1052248          0    1052248

|============|
| Harddrives |
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb3             77069476  67853104   9216372  89% /
tmpfs                   517984         0    517984   0% /dev/shm
/dev/hdb1                23302     10747     11352  49% /boot
/dev/hda2             10482412   9723728    758684  93% /windows/D
/dev/hda3             57352048  42378740  14973308  74% /windows/E

|=======|
| Tools |
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

---------------------
automake (GNU automake) 1.9.5
Written by Tom Tromey <tromey at redhat.com>.

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---------------------
autogen - The Automated Program Generator - Ver. 5.6.5
---------------------
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---------------------
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


|========================|
| INSTALLED_RPM_VERSIONS |

|=======|
| gnome |
gdk-pixbuf-gnome-0.22.0-72      gnome-audio-2.0.0-120           
gnome-common-2.11.0-3           gnome-desktop-2.11.90-3         
gnome-desktop-devel-2.11.90-3   gnome-doc-utils-0.3.2-6         
gnome-filesystem-0.1-226        gnome-icon-theme-2.11.91-3      
gnome-keyring-0.4.3-2           gnome-keyring-devel-0.4.3-2     
gnome-libs-1.4.1.7-688          gnome-libs-devel-1.4.1.7-688    
gnome-mag-0.12.1-3              gnome-menus-2.11.90-2           
gnome-menus-devel-2.11.90-2     gnome-mime-data-2.4.2-7         
gnome-netstatus-2.11.90-3       gnome-nettool-1.3.91-2          
gnome-panel-2.11.90-8           gnome-panel-devel-2.11.90-8     
gnome-pilot-2.0.13-5            gnome-pilot-devel-2.0.13-5      
gnome-print-0.37-7              gnome-session-2.11.91-7         
gnome-speech-0.3.7-3            gnome-spell-0.5-254             
gnome-spell2-1.0.6-5            gnome-system-tools-1.3.2-3      
gnome-terminal-2.11.2-3         gnome-themes-2.11.91-3          
gnome-utils-2.11.91-3           gnome-vfs-1.0.5-825             
gnome-vfs-devel-1.0.5-825       gnome-vfs2-2.11.90-7            
gnome-vfs2-devel-2.11.90-7      gnome-vfs2-doc-2.11.90-7        
gnome-vfsmm-2.10.0-3            gnome-vfsmm-devel-2.10.0-3      
gnome2-SuSE-0.1-457             gnome2-user-docs-2.8.1-5        
gnomemm-1.2.4-199               gnomemm-devel-1.2.4-199         
libgail-gnome-1.1.1-3           libgail-gnome-devel-1.1.1-3     
libgnome-2.11.2-5               libgnome-devel-2.11.2-5         
libgnome-doc-2.11.2-5           libgnomecanvas-2.11.1-5         
libgnomecanvas-devel-2.11.1-5   libgnomecanvas-doc-2.11.1-5
libgnomecanvasmm-2.10.0-3       libgnomecanvasmm-devel-2.10.0-3  
libgnomecups-0.2.0-5            libgnomedb-1.3.91-3             
libgnomedb-devel-1.3.91-3       libgnomemm-2.10.0-3             
libgnomemm-devel-2.10.0-3       libgnomeprint-2.11.0-3          
libgnomeprint-devel-2.11.0-3    libgnomeprint-doc-2.11.0-3      
libgnomeprintui-2.11.0-5        libgnomeprintui-devel-2.11.0-5  
libgnomeprintui-doc-2.11.0-5    libgnomesu-1.0.0-3              
libgnomeui-2.11.2-3             libgnomeui-devel-2.11.2-3       
libgnomeui-doc-2.11.2-3         libgnomeuimm-2.10.0-3           
libgnomeuimm-devel-2.10.0-3     libgsf-gnome-1.12.1-3           

|=====|
| gtk |
dbus-1-gtk-0.23.4-7             gtk-1.2.10-888                  
gtk-devel-1.2.10-888            gtk-engines-0.12-965            
gtk-gnutella-0.95-7             gtk-qt-engine-0.6cvs20050229-4  
gtk-xfce-engine-2.1.9-3         gtk2-2.7.5-5                    
gtk2-devel-2.7.5-5              gtk2-doc-2.7.5-5                
gtk2-engines-2.6.4-7            gtk2-themes-0.1-639             
gtkdoc-1.4-3                    gtkglarea-1.2.2-894             
gtkhtml2-3.7.6-4                gtklp-1.0b-3                    
gtkmm-1.2.10-302                gtkmm-devel-1.2.10-302          
gtkmm2-2.2.12-10                gtkmm2-devel-2.2.12-10          
gtkmm24-2.6.4-3                 gtkmm24-devel-2.6.4-3           
gtksourceview-1.3.91-3          gtksourceview-devel-1.3.91-3    
gtksourceview-doc-1.3.91-3      gtkspell-2.0.11-5               
libgtkhtml-2.6.3-9              nmap-gtk-3.81-4                 
python-gtk-2.7.1-5              wxGTK-2.5.3.1-5                 
wxGTK-compat-2.5.3.1-5          
|======|
| mono |

|=======|
| glitz |
glitz-0.4.3-5                   glitz-devel-0.4.3-5

-- 
Regards,
Steven



More information about the Mono-devel-list mailing list