Hello
I've installed the openlink ODBC driver on a Solaris 2.8 box, and the broker
on a NT SQL 7 box.
The odbctest app connection works great! Now the next step is loading Perl
DBI and ODBC module to connect
Rational's ClearCase and a SQL 7 database using perl scripts. See below for
problem.
Any Help would be appreciated.
Thanks in advance!
Wayne cain
1-314-446-7296
[EMAIL PROTECTED]
I get the following errors compiling the DBI part.
Perl version is 5.005_03. - Perl does work!
CC compiler from Solaris - Also tried GCC compiler too.
1. First step was to create makefile "perl Makefile.PL"
2. Second step is "make" and the following error occurs.
CMCLEARCASE:/triggers/DBI/DBI-1.15>make
CC -c -xO3 -xdepend -DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DDBI_NO_THREADS DBI.c
CC: Warning: Option -xdepend passed to ld, if ld is invoked, ignored
otherwise
"DBI.xs", line 120: Warning: String literal converted to char* in
initialization.
"DBI.xs", line 178: Warning: String literal converted to char* in
initialization.
"DBI.xs", line 214: Warning: String literal converted to char* in formal
argument name in call to perl_get_sv(char*, long).
"DBI.xs", line 218: Warning: String literal converted to char* in formal
argument name in call to perl_get_sv(char*, long).
"DBI.xs", line 220: Warning: String literal converted to char* in formal
argument name in call to perl_get_sv(char*, long).
"DBI.xs", line 220: Warning: String literal converted to char* in formal
argument name in call to perl_get_sv(char*, long).
"DBI.xs", line 220: Warning: String literal converted to char* in formal
argument name in call to perl_get_sv(char*, long).
"DBI.xs", line 220: Warning: String literal converted to char* in formal
argument name.
"DBI.xs", line 243: Warning: String literal converted to char* in formal
argument name in call to Perl_gv_fetchpv(char*, long, long).
"DBI.xs", line 244: Warning: String literal converted to char* in formal
argument name in call to Perl_gv_fetchpv(char*, long, long).
"DBI.xs", line 245: Warning: String literal converted to char* in formal
argument name in call to Perl_gv_fetchpv(char*, long, long).
"DBI.xs", line 246: Warning: String literal converted to char* in formal
argument name in call to Perl_gv_fetchpv(char*, long, long).
"DBI.xs", line 247: Warning: String literal converted to char* in formal
argument name in call to Perl_gv_fetchpv(char*, long, long).
"DBI.xs", line 256: Error: maxlen is not defined.
"DBI.xs", line 268: Warning: The variable sv has not yet been assigned a
value.
"DBI.xs", line 269: Warning: String literal converted to char* in
initialization.
"DBI.xs", line 275: Warning: String literal converted to char* in formal
argument s in call to Perl_newSVpv(char*, unsigned).
"DBI.xs", line 276: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 277: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 278: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 279: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 282: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 292: Warning: String literal converted to char* in
initialization.
"DBI.xs", line 293: Warning: String literal converted to char* in formal
argument little in call to Perl_sv_insert(sv*, unsigned, unsigned, char*,
unsigned).
"DBI.xs", line 301: Warning: String literal converted to char* in
assignment.
"DBI.xs", line 341: Warning: The variable maxlen has not yet been assigned a
value.
"DBI.xs", line 350: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 355: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpvn(sv*, char*, unsigned).
"DBI.xs", line 370: Error: stash is not defined.
"DBI.xs", line 377: Error: stash is not defined.
"DBI.xs", line 378: Warning: The variable uplevel has not yet been assigned
a value.
"DBI.xs", line 384: Warning: String literal converted to char* in formal
argument ptr in call to Perl_sv_catpv(sv*, char*).
"DBI.xs", line 385: Warning: The variable item has not yet been assigned a
value.
"DBI.xs", line 391: Error: key is not defined.
"DBI.xs", line 395: Error: key is not defined.
"DBI.xs", line 398: Error: key is not defined.
"DBI.xs", line 401: Error: Cannot return int from a function that should
return char*.
"DBI.xs", line 415: Error: Use ";" to terminate declarations.
"DBI.xs", line 419: Error: __builtin_va_alist is not defined.
"DBI.xs", line 423: Error: fmt is not defined.
"DBI.xs", line 425: Error: Cannot return int from a function that should
return char*.
"DBI.xs", line 430: Error: file is not defined.
"DBI.xs", line 437: Error: file is not defined.
"DBI.xs", line 439: Error: file is not defined.
"DBI.xs", line 443: Error: Cannot return int from a function that should
return char*.
"DBI.xs", line 445: Error: file is not defined.
"DBI.xs", line 445: Error: file is not defined.
"DBI.xs", line 445: Error: file is not defined.
"DBI.xs", line 445: Error: file is not defined.
"DBI.xs", line 446: Warning: The variable filename has not yet been assigned
a value.
"DBI.xs", line 458: Error: Cannot return int from a function that should
return char*.
"DBI.xs", line 464: Error: orv is not defined.
"DBI.xs", line 473: Error: orv is not defined.
"DBI.xs", line 473: Error: orv is not defined.
"DBI.xs", line 476: Error: orv is not defined.
"DBI.xs", line 479: Error: orv is not defined.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `DBI.o'
_______________________
Wayne Cain
Release Engineer
CyberSource Corporation
9666 Olive Boulevard
St Louis MO 63132
Voice: 314.446.7296
Fax: 314.446.0805
E-mail: [EMAIL PROTECTED]
_____________________________