can't compile Tk package

From: Kevin Dea <kdea_at_alpine-la.com>
Date: Fri, 08 Feb 2002 15:17:13 -0800

Hello Managers,

I'm trying to get the Tk package on to some of our machines and I'm
having problems compiling. I've started with the latest package,
Tk800.023, but it fails similarly on older versions all the way down to
Tk400.004.

My system version is Tru64 5.1A with the Compaq installed perl 5.6.0. I
am using GNU make 3.79.1 although I tried the Compaq 'make' and also the
older GNU make v.3.76.1, which all fails.

The compilation of Tk800.023 works on our older Tru64 4.0f machines with
perl v.5.004_04 and make v.3.76.1.

Has anyone sucessfully compiled ANY version of Tk on their 5.1A
machine? How?

The following is the errors:

cc -c -I.. -I. -Ibitmaps -fprm d -ieee -std -DLANGUAGE_C -O4
-DVERSION=\"800.023\" -DXS_VERSION=\"800.023\"
-I/usr/lib/perl-5.6.0/lib/5.6.0/alpha-dec_osf/CORE Xlib_f.c
cc: Error: /usr/include.dtk/stdio.h, line 71: Ill-formed parameter type
list. (parmtyplist)
                   const char * /*restrict*/ __format, __VA_LIST__
__arg);
-------------------------------------------------------^
cc: Error: /usr/include.dtk/stdio.h, line 73: Ill-formed parameter type
list. (parmtyplist)
extern int vscanf(const char * /*restrict*/ __format, __VA_LIST__
__arg);
------------------------------------------------------^
cc: Error: /usr/include.dtk/stdio.h, line 76: Ill-formed parameter type
list. (parmtyplist)
                     const char * /*restrict*/ __format, __VA_LIST__
__arg);
---------------------------------------------------------^
cc: Error: /usr/include.dtk/stdio.h, line 79: Ill-formed parameter type
list. (parmtyplist)
                   const char * /*restrict*/ __format, __VA_LIST__
__arg);
-------------------------------------------------------^
cc: Warning: Xlib.t, line 96: In the initializer for
XlibVtable.V_XCreateGlyphCursor, the referenced type of the pointer
value "XCreateGlyphCursor" is "function (pointer to struct _XDisplay,
unsigned long, unsigned long, unsigned int, unsigned int, pointer to
struct declared without a tag, pointer to struct declared without a tag)
returning unsigned long", which is not compatible with "function
(pointer to struct _XDisplay, unsigned long, unsigned long, unsigned
int, unsigned int, pointer to const struct declared without a tag,
pointer to const struct declared without a tag) returning unsigned
long". (ptrmismatch)
VFUNC(Cursor,XCreateGlyphCursor,V_XCreateGlyphCursor,_ANSI_ARGS_((Display
*, Font, Font, unsigned int, unsigned int, XColor const *, XColor const
*)))
^
cc: Error: Xlib.t, line 637: In the initializer for
XlibVtable.V_XWarpPointer, "XWarpPointer" is not declared. (undeclared)
VFUNC(int,XWarpPointer,V_XWarpPointer,_ANSI_ARGS_(( Display *, Window,
Window, int, int, unsigned int, unsigned int, int, int )))
^
make[1]: *** [Xlib_f.o] Error 1
make[1]: Leaving directory `/usr/users/kdea/Tk800.023/pTk'
make: *** [pTk/libpTk.a] Error 2


Thanks,

Kevin

-- 
Kevin Dea
UNIX System Administrator
Alpine Electronics Research of America
Received on Fri Feb 08 2002 - 23:17:22 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT