pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35414: graphics/glitz fails to compile on Solaris 7



>Number:         35414
>Category:       pkg
>Synopsis:       graphics/glitz fails to compile on Solaris 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 12 21:15:00 +0000 2007
>Originator:     Georg Schwarz
>Release:        curren tpkgsrc
>Organization:
>Environment:
SunOS unknown 5.7 Generic_106541-44 sun4m sparc SUNW,SPARCstation-10
>Description:
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src 
-I/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include 
-I/home/schwarz/pkgsrc/graphics/glitz/work/.buildlink/include 
-DGLX_GLXEXT_LEGACY -O3 -mcpu=supersparc -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -MT glitz_glx_info.lo -MD -MP -MF 
.deps/glitz_glx_info.Tpo -c glitz_glx_info.c  -fPIC -DPIC -o 
.libs/glitz_glx_info.o
In file included from glitz-glx.h:35,
                 from glitz_glxint.h:32,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:32: 
warning: ignoring #pragma ident 
In file included from glitz-glx.h:35,
                 from glitz_glxint.h:32,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:145: 
warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:359: 
warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:489: 
warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:508: 
warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1037:
 warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1091:
 warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1501:
 warning: function declaration isn't a prototype
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/X11/Xlib.h:1511:
 warning: function declaration isn't a prototype
In file included from glitz_glxint.h:35,
                 from glitz_glx_info.c:30:
/home/schwarz/pkgsrc/graphics/glitz/work/.x11-buildlink/include/GL/glx.h:444: 
warning: function declaration isn't a prototype
glitz_glx_info.c:327: error: syntax error before "info_tsd"
glitz_glx_info.c:327: warning: type defaults to `int' in declaration of 
`info_tsd'
glitz_glx_info.c:327: warning: data definition has no type or storage class
glitz_glx_info.c: In function `_glitz_glx_thread_info_destroy':
glitz_glx_info.c:342: warning: implicit declaration of function 
`xthread_set_specific'
glitz_glx_info.c:342: warning: nested extern declaration of 
`xthread_set_specific'
glitz_glx_info.c: In function `_glitz_glx_thread_info_get':
glitz_glx_info.c:366: warning: implicit declaration of function 
`xthread_key_create'
glitz_glx_info.c:366: warning: nested extern declaration of `xthread_key_create'
glitz_glx_info.c:370: warning: implicit declaration of function 
`xthread_get_specific'
glitz_glx_info.c:370: warning: nested extern declaration of 
`xthread_get_specific'
glitz_glx_info.c:376: warning: nested extern declaration of 
`xthread_set_specific'


The offending line 327 is

static xthread_key_t info_tsd;

xthread_key_t should be defined in pkg/include/X11/Xthreads.h

However, pkgsrc does not install that file or x11/xproto in general.
>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index