Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 33104
Status: rejected
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: persicom [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.027
Fixed in: (no value)



Subject: Compile Error - Tk under 5.10.0
Sun Solaris 5.8 Perl 5.10.0 Tk 804-027 Please advise what other information required. Compile fails in TK-Glue: /opt/SUNWspro/bin/cc -c -I/usr/openwin/include -D_REENTRANT - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O - DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -KPIC "- I/home/persicom/nylux- portiadev/cvs_sandbox/opt/perl.v5.10.0/lib/5.10.0/sun4-solaris-thread- multi/CORE" tkGlue.c "tkGlue.c", line 3043: warning: assignment type mismatch: pointer to void "=" pointer to function(pointer to void, pointer to struct hv {pointer to struct xpvhv {..} sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} sv_u}, int, pointer to const pointer to struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} sv_u}) returning int "tkGlue.c", line 5237: undefined struct/union member: op_pmdynflags "tkGlue.c", line 5237: undefined symbol: PMdf_DYN_UTF8 "tkGlue.c", line 5238: warning: argument mismatch "tkGlue.c", line 5238: warning: argument #2 is incompatible with prototype: prototype: const pointer to const struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} sv_u} : "/home/persicom/nylux- portiadev/cvs_sandbox/opt/perl.v5.10.0/lib/5.10.0/sun4-solaris-thread- multi/CORE/proto.h", line 1874 argument : pointer to char "tkGlue.c", line 5238: warning: improper pointer/integer combination: arg #3 "tkGlue.c", line 5360: undefined struct/union member: startp "tkGlue.c", line 5360: cannot dereference non-pointer type "tkGlue.c", line 5360: undefined struct/union member: endp "tkGlue.c", line 5360: cannot dereference non-pointer type "tkGlue.c", line 5362: improper member use: startp "tkGlue.c", line 5362: cannot dereference non-pointer type "tkGlue.c", line 5363: improper member use: endp "tkGlue.c", line 5363: cannot dereference non-pointer type "tkGlue.c", line 5493: warning: assignment type mismatch: pointer to struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} sv_u} "=" pointer to unsigned int "tkGlue.c", line 5501: warning: assignment type mismatch: pointer to unsigned int "=" pointer to struct sv {pointer to void sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} sv_u} cc: acomp failed for tkGlue.c *** Error code 2 perl -V: Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi uname='sunos nycux-tch108 5.8 generic_117350-51 sun4u sparc sunw,ultra-4 ' config_args='-d -Dusethreads -Dprefix=/opt/perl.v5.10.0.d20080208 - Dhtml1dir=/opt/perl.v5.10.0.d20080208/html/html1 - Dhtml3dir=/opt/perl.v5.10.0.d20080208/html/html3 - Dinstallusrbinperl=undef -Dcf_email=matthew.persico@lazard.com - Dperladmin=matthew.persico@lazard.com' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -I/usr/local/include' ccversion='WorkShop Compilers 4.2 30 Oct 1996 C 4.2', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib - L/opt/SUNWspro/SC4.2/lib -L/usr/local/lib ' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/SC4.2/lib /usr/local/lib libs=-lsocket -lnsl -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib - L/opt/SUNWspro/SC4.2/lib -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under solaris Compiled at Feb 8 2008 00:35:16 %ENV: PERL5LIB="" @INC: /opt/perl.v5.10.0.d20080208/lib/5.10.0/sun4-solaris-thread-multi /opt/perl.v5.10.0.d20080208/lib/5.10.0 /opt/perl.v5.10.0.d20080208/lib/site_perl/5.10.0/sun4-solaris- thread-multi /opt/perl.v5.10.0.d20080208/lib/site_perl/5.10.0 .
On Mon Feb 11 00:23:21 2008, PERSICOM wrote: Show quoted text
> Sun Solaris 5.8 > Perl 5.10.0 > Tk 804-027 > > Please advise what other information required. Compile fails in TK-
Glue: Line 5327: p->op.op_pmdynflags |= PMdf_DYN_UTF8; As stated, the struct member and the PMdf_DYN_UTF8 do not exist in any Tk or perl source code. Show quoted text
> > /opt/SUNWspro/bin/cc -c -I/usr/openwin/include -D_REENTRANT - > I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O - > DVERSION=\"804.027\" -DXS_VERSION=\"804.027\" -KPIC "- > I/home/persicom/nylux- > portiadev/cvs_sandbox/opt/perl.v5.10.0/lib/5.10.0/sun4-solaris-thread- > multi/CORE" tkGlue.c > "tkGlue.c", line 3043: warning: assignment type mismatch: > pointer to void "=" pointer to function(pointer to void, > pointer to struct hv {pointer to struct xpvhv {..} sv_any, unsigned > long sv_refcnt, unsigned long sv_flags, union {..} sv_u}, int,
pointer Show quoted text
> to const pointer to struct sv {pointer to void sv_any, unsigned long > sv_refcnt, unsigned long sv_flags, union {..} sv_u}) returning int > "tkGlue.c", line 5237: undefined struct/union member: op_pmdynflags > "tkGlue.c", line 5237: undefined symbol: PMdf_DYN_UTF8 > "tkGlue.c", line 5238: warning: argument mismatch > "tkGlue.c", line 5238: warning: argument #2 is incompatible with > prototype: > prototype: const pointer to const struct sv {pointer to void > sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union {..} > sv_u} : "/home/persicom/nylux- > portiadev/cvs_sandbox/opt/perl.v5.10.0/lib/5.10.0/sun4-solaris-thread- > multi/CORE/proto.h", line 1874 > argument : pointer to char > "tkGlue.c", line 5238: warning: improper pointer/integer combination: > arg #3 > "tkGlue.c", line 5360: undefined struct/union member: startp > "tkGlue.c", line 5360: cannot dereference non-pointer type > "tkGlue.c", line 5360: undefined struct/union member: endp > "tkGlue.c", line 5360: cannot dereference non-pointer type > "tkGlue.c", line 5362: improper member use: startp > "tkGlue.c", line 5362: cannot dereference non-pointer type > "tkGlue.c", line 5363: improper member use: endp > "tkGlue.c", line 5363: cannot dereference non-pointer type > "tkGlue.c", line 5493: warning: assignment type mismatch: > pointer to struct sv {pointer to void sv_any, unsigned long > sv_refcnt, unsigned long sv_flags, union {..} sv_u} "=" pointer to > unsigned int > "tkGlue.c", line 5501: warning: assignment type mismatch: > pointer to unsigned int "=" pointer to struct sv {pointer to > void sv_any, unsigned long sv_refcnt, unsigned long sv_flags, union > {..} sv_u} > cc: acomp failed for tkGlue.c > *** Error code 2 > > perl -V: > Summary of my perl5 (revision 5 version 10 subversion 0)
configuration: Show quoted text
> Platform: > osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi > uname='sunos nycux-tch108 5.8 generic_117350-51 sun4u sparc > sunw,ultra-4 ' > config_args='-d -Dusethreads -
Dprefix=/opt/perl.v5.10.0.d20080208 - Show quoted text
> Dhtml1dir=/opt/perl.v5.10.0.d20080208/html/html1 - > Dhtml3dir=/opt/perl.v5.10.0.d20080208/html/html3 - > Dinstallusrbinperl=undef -Dcf_email=matthew.persico@lazard.com - > Dperladmin=matthew.persico@lazard.com' > hint=recommended, useposix=true, d_sigaction=define > useithreads=define, usemultiplicity=define > useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef Show quoted text
> use64bitint=undef, use64bitall=undef, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='/opt/SUNWspro/bin/cc', ccflags ='-D_REENTRANT - > I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-O', > cppflags='-D_REENTRANT -I/usr/local/include' > ccversion='WorkShop Compilers 4.2 30 Oct 1996 C 4.2', > gccversion='', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16 Show quoted text
> ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t', Show quoted text
> lseeksize=8 > alignbytes=8, prototype=define > Linker and Libraries: > ld='/opt/SUNWspro/bin/cc', ldflags =' -L/usr/lib -L/usr/ccs/lib - > L/opt/SUNWspro/SC4.2/lib -L/usr/local/lib ' >
libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/SC4.2/lib /usr/local/lib Show quoted text
> libs=-lsocket -lnsl -ldl -lm -lpthread -lc > perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib - > L/opt/SUNWspro/SC4.2/lib -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP > USE_ITHREADS > USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API > Built under solaris > Compiled at Feb 8 2008 00:35:16 > %ENV: > PERL5LIB="" > @INC: > /opt/perl.v5.10.0.d20080208/lib/5.10.0/sun4-solaris-thread-multi > /opt/perl.v5.10.0.d20080208/lib/5.10.0 > /opt/perl.v5.10.0.d20080208/lib/site_perl/5.10.0/sun4-solaris- > thread-multi > /opt/perl.v5.10.0.d20080208/lib/site_perl/5.10.0 > . >
Please use Tk 804.028: http://search.cpan.org/~srezic/Tk-804.028/ Regards, Slaven