Hi, I am new at this perl module stuff and hopefully someone can answer my
question.  I am trying to install the module Time :: Object on to my perl
5.8 running in a RedHat 9.0 environment but everytime I try to compile
(make) the program it dies telling me some variables are missing.  THis is a
required module for a program call CMap that I am install.  Does anyone have
any suggestions or work around?
Thank you very much.
Siemon

Below is the error message
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.0/ExtUtils/typemap  Object.xs > Object.xsc && mv
Object.xsc Object.c
Please specify prototyping behavior for Object.xs (see perlxs manual)
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-str
ict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -I/usr/include/gdbm -O2 -march=i386 -mcpu=i686 -g   -DVERSION=\"1.00\" -DXS
_VERSION=\"1.00\" -fPIC
"-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"   Object.c
Object.xs:34: parse error before '(' token
Object.xs:50: parse error before '(' token
Object.xs:131: `ptm' undeclared here (not in a function)
Object.xs:131: warning: data definition has no type or storage class
Object.xs:132: `ptm' undeclared here (not in a function)
Object.xs:132: warning: data definition has no type or storage class
Object.xs:133: `ptm' undeclared here (not in a function)
Object.xs:133: warning: data definition has no type or storage class
Object.xs:135: parse error before "if"
Object.xs:137: redefinition of `mday'
Object.xs:133: `mday' previously defined here
Object.xs:137: warning: data definition has no type or storage class
Object.xs:138: `ptm' undeclared here (not in a function)
Object.xs:138: warning: data definition has no type or storage class
Object.xs:139: parse error before '}' token
Object.xs:147: initializer element is not constant
Object.xs:147: warning: data definition has no type or storage class
Object.xs:148: parse error before '+=' token
Object.xs:194: redefinition of `jday'
Object.xs:138: `jday' previously defined here
Object.xs:194: initializer element is not constant
Object.xs:194: warning: data definition has no type or storage class
Object.xs:195: parse error before '-=' token
Object.xs:196: redefinition of `year'
Object.xs:131: `year' previously defined here
Object.xs:196: initializer element is not constant
Object.xs:196: warning: data definition has no type or storage class
Object.xs:197: parse error before '%=' token
Object.xs:198: initializer element is not constant
Object.xs:198: warning: data definition has no type or storage class
Object.xs:199: parse error before '+=' token
Object.xs:203: initializer element is not constant
Object.xs:203: warning: data definition has no type or storage class
Object.xs:204: parse error before '+=' token
Object.xs:208: redefinition of `yearday'
Object.xs:147: `yearday' previously defined here
Object.xs:208: warning: data definition has no type or storage class
Object.xs:209: parse error before '}' token
Object.xs:212: redefinition of `month'
Object.xs:132: `month' previously defined here
Object.xs:212: initializer element is not constant
Object.xs:212: warning: data definition has no type or storage class
Object.xs:213: parse error before '-=' token
Object.xs:234: redefinition of `yearday'
Object.xs:208: `yearday' previously defined here
Object.xs:234: initializer element is not constant
Object.xs:234: warning: data definition has no type or storage class
Object.xs:235: parse error before '+=' token
make: *** [Object.o] Error 1



Reply via email to