Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 1999 01:40:19 -0400 (EDT)
From:      ji@research.att.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12234: imlib-1.9.4/gdk_imlib/rend.c syntax error
Message-ID:  <199906160540.BAA13915@tla.org>

next in thread | raw e-mail | index | archive | help

>Number:         12234
>Category:       ports
>Synopsis:       imlib-1.9.4/gdk_imlib/rend.c has syntax errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 22:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     John "Heldenprogrammer" Ioannidis
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
AT&T Labs - Research
>Environment:

FreeBSD 3.2, freshly cvsup'ed source and ports trees.  Some of the
gtk/gdk packages installed from the CD; enough for the port to start
compiling.

>Description:

Here are the last few lines of the build:

/bin/sh /usr/local/bin/libtool --mode=compile cc -DDJPEG_PROG=\"/usr/local/bin/djpeg\"  -DCJPEG_PROG=\"/usr/local/bin/cjpeg\"   -DCONVERT_PATH=\"/usr/local/bin\"       -DNETPBM_PATH=\"/usr/X11R6/bin\" -DSYSTEM_IMRC=\"/usr/X11R6/etc/imlib/imrc\"    -DIMLIB_LIB=\""/usr/X11R6/lib"\" -I. -I. -I.. -I./..     -I/usr/X11R6/include   -I/usr/local/include -I/usr/local/include/giflib  -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include  -O -pipe -c rend.c
rm -f .libs/rend.lo
cc -DDJPEG_PROG=\"/usr/local/bin/djpeg\" -DCJPEG_PROG=\"/usr/local/bin/cjpeg\" -DCONVERT_PATH=\"/usr/local/bin\" -DNETPBM_PATH=\"/usr/X11R6/bin\" -DSYSTEM_IMRC=\"/usr/X11R6/etc/imlib/imrc\" -DIMLIB_LIB=\"/usr/X11R6/lib\" -I. -I. -I.. -I./.. -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/giflib -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -O -pipe -c  -fPIC -DPIC rend.c -o .libs/rend.lo
rend.c: In function `gdk_imlib_pixmap_foreign_new':
rend.c:23: structure has no member named `colormap'
rend.c:24: structure has no member named `children'
*** Error code 1

Stop.

And here are the offending lines from the source (rend.c)
    7   GdkPixmap          *
    8   gdk_imlib_pixmap_foreign_new(gint width, gint height,
    9                                gint depth, Pixmap pmap)
   10   {
   11     GdkPixmap          *pixmap;
   12     GdkWindowPrivate   *private;
   13     GdkWindowPrivate   *window_private;
   14
   15     private = g_new0(GdkWindowPrivate, 1);
   16     pixmap = (GdkPixmap *) private;
   17
   18     window_private = (GdkWindowPrivate *) id->x.gdk_win;
   19
   20     private->xdisplay = window_private->xdisplay;
   21     private->window_type = GDK_WINDOW_PIXMAP;
   22     private->xwindow = pmap;
   23     private->colormap = id->x.gdk_cmap;
   24     private->children = NULL;
   25     private->parent = NULL;
   26     private->x = 0;
   27     private->y = 0;
   28     private->width = width;
   29     private->height = height;
   30     private->resize_count = 0;
   31     private->ref_count = 1;
   32     private->destroyed = 0;

>How-To-Repeat:

go to /usr/ports/graphics/imlib and type make!

>Fix:
	
unknown


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906160540.BAA13915>