Subject: pkg/20569: gqmpeg fails to compile on 1.5.3; XF86XK_Eject undeclared
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@uninett.no>
List: netbsd-bugs
Date: 03/04/2003 14:48:39
>Number:         20569
>Category:       pkg
>Synopsis:       gqmpeg fails to compile on 1.5.3; XF86XK_Eject undeclared
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 05:49:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.5.3_RC2
>Organization:
	UNINETT AS
>Environment:
System: NetBSD smistad.uninett.no 1.5.3_RC2 NetBSD 1.5.3_RC2 (SMISTAD) #5: Tue May 28 10:05:15 CEST 2002 he@smistad.uninett.no:/usr/src/sys/arch/i386/compile/SMISTAD i386
Architecture: i386
Machine: i386
>Description:
	Attempts at compiling gqmpeg 0.20 on 1.5.3 with XFree86 4.0.3
	fails with:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I     -I.. -I..        -DLOCALEDIR="\"/usr/pkg/share/locale\""              -I/usr/pkg/include -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include  -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include  -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -O2 -I/usr/pkg/include -I/usr/X11R6/include -c window.c
window.c: In function `key_pressed':
window.c:231: `XF86XK_Eject' undeclared (first use in this function)
window.c:231: (Each undeclared identifier is reported only once
window.c:231: for each function it appears in.)
window.c:234: `XF86XK_OpenURL' undeclared (first use in this function)
*** Error code 1

Stop.

	My XFree86 installation is version 4.0.3+.

>How-To-Repeat:
	Try to compile gqmpeg; watch it fail.

>Fix:
	Ifdef out the part of the code which references not-
	universally-present X11 Keycodes?
>Release-Note:
>Audit-Trail:
>Unformatted: