Hi folks,
Running into a problem during make with the xs stuff. 
I found the exact same error reported on this list in Oct but didnt
see a resolution posted.

basically:
------------------------------------------
/tmp/Template-Toolkit-2.06$ make
make[1]: Entering directory `/tmp/Template-Toolkit-2.06/xs'
cc -c  -D_REENTRANT -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-DVERSION=\"2.06\" -DXS_VERSION=\"2.06\" -fpic
-I/opt/perl5.6/lib/5.6.1/i686-linux-thread/CORE  Stash.c
Stash.xs: In function `dotop':
Stash.xs:506: `thr' undeclared (first use in this function)
Stash.xs:506: (Each undeclared identifier is reported only once
Stash.xs:506: for each function it appears in.)
make[1]: *** [Stash.o] Error 1
make[1]: Leaving directory `/tmp/Template-Toolkit-2.06/xs'
make: *** [subdirs] Error 2
---------------------------------------------

/tmp/Template-Toolkit-2.06$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.2.14, archname=i686-linux-thread
    uname='linux carbon 2.2.14 #1 fri mar 17 11:59:50 gmt 2000 i686
unknown '
    config_args='-Dprefix=/opt/perl5.6'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=define useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lpthread -lc -lposix
-lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lposix -lcrypt -lutil
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_THREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr 29 2001 09:45:36
  @INC:
    /opt/perl5.6/lib/5.6.1/i686-linux-thread
    /opt/perl5.6/lib/5.6.1
    /opt/perl5.6/lib/site_perl/5.6.1/i686-linux-thread
    /opt/perl5.6/lib/site_perl/5.6.1
    /opt/perl5.6/lib/site_perl
    .

---------------------------------------------
/tmp/Template-Toolkit-2.06$ cc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)


thanks
-mehryar




Reply via email to