That does not look like a DBI / DBD issue, so you are probably asking the wrong mailing list.

It looks like your compiler is confused about some include files. This may happen if you use a different compiler than perl was compiled with.

Alexander

On 05.03.2009 20:44, Keerti Siyal wrote:
Hi ,

Could you help us in following error:

[r...@e06k401:/usr/local/CONFIG/Date-Calc-5.4] #> make
cp lib/Date/Calc/Object.pod blib/lib/Date/Calc/Object.pod
cp lib/Date/Calendar/Year.pm blib/lib/Date/Calendar/Year.pm
cp Calc.pod blib/lib/Date/Calc.pod
cp lib/Date/Calendar/Profiles.pm blib/lib/Date/Calendar/Profiles.pm
cp lib/Date/Calc/Object.pm blib/lib/Date/Calc/Object.pm
cp Calendar.pod blib/lib/Date/Calendar.pod
cp lib/Date/Calendar/Year.pod blib/lib/Date/Calendar/Year.pod
cp lib/Date/Calendar/Profiles.pod blib/lib/Date/Calendar/Profiles.pod
cp Calendar.pm blib/lib/Date/Calendar.pm
cp Calc.pm blib/lib/Date/Calc.pm
/opt/soe/local/bin/perl /opt/soe/local/perl-5.8.7/lib/5.8.7/ExtUtils/xsubpp -typemap /opt/soe/local/perl-5.8.7/lib/5.8.7/ExtUtils/typemap -typemap typemap Calc.xs > Calc.xsc && mv Calc.xsc Calc.c gcc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"5.4\" -DXS_VERSION=\"5.4\" -fPIC "-I/opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE" Calc.c
In file included from /usr/include/sys/signal.h:34,
                 from /usr/include/signal.h:26,
from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/unixish.h:106, from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/perl.h:2220,
                 from Calc.xs:15:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/unixish.h:106, from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/perl.h:2220,
                 from Calc.xs:15:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/unixish.h:106, from /opt/soe/local/perl-5.8.7/lib/5.8.7/sun4-solaris/CORE/perl.h:2220,
                 from Calc.xs:15:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `Calc.o'
[r...@e06k401:/usr/local/CONFIG/Date-Calc-5.4] #>

Thanks and regards,

KEERTI SIYAL
System Support Engineer CSC
C-24, Sector-58, Noida ,UP ,INDIA
IndiaTel:+ 91-120-3913023, Extn. 8326
UK:    +44-870 850 3512    Extn.8326
USA: +1-302-781-1010      Extn.8326
Sametime or E-mail- [email protected]

CSC • This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose • Computer Sciences Corporation India Pvt Ltd • 7th,Floor, Block 1B, DLF IT Park, Sivaji Garden, Moonlight Stop, Nandambakkam Post, Ramapuram, Chennai-600 089.



--
Alexander Foken
mailto:[email protected]  http://www.foken.de/alexander/

Reply via email to