> I still have a problem with my DBD:Adabas-Module
> Versions:
> Perl v5.8.3 built for HPUX-10.20
> DBI v1.38
> DBD:Adabas-0.2003
And I have forgotten to write about the problems while building the
Adabas-Driver:
I tryed as usual with:
<blockquote>
# perl Makefile.PL
</blockquote>
And I gut this dumped:
<blockquote>
Configuring DBD::Adabas ...
>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.
Multiple copies of Driver.xst found in:
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
/usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0/auto/DBI at Makefile.PL line
59
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Using ODBC in /REFDB_HOME/referenz/adabas_d
Umm, this looks like a adabas type of driver manager.
Checking if your kit is complete...
Looks good
Multiple copies of Driver.xst found in:
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
/usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0/auto/DBI at Makefile.PL line
224
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::Adabas
The DBD::Adabas tests will use these values for the database connection:
DBI_DSN=dbi:Adabas:refdb e.g. dbi:Adabas:demo
DBI_USER=somewho
DBI_PASS=something
</blockquote>
So far it looks good but after the make I got this:
<blockquote>
# make
cp Adabas.pm blib/lib/DBD/Adabas.pm
/usr/bin/perl -p -e "s/~DRIVER~/Adabas/g"
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI/Driver.xst > Adabas.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.3/ExtUtils/typemap Adabas.xs > Adabas.xsc && mv
Adabas.xsc Adabas.c
Warning: duplicate function definition 'data_sources' detected in Adabas.xs,
line 114
/usr/local/bin/gcc -c -I.
-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
-I/REFDB_HOME/referenz/adabas_d/incl -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -O2 -DVERSION=\"0.2003\"
-DXS_VERSION=\"0.2003\" -fPIC "-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/CORE"
Adabas.c
In file included from dbdodbc.h:9,
from Adabas.h:9,
from Adabas.xs:1:
/REFDB_HOME/referenz/adabas_d/incl/WINDOWS.H:105:1: warning: "VOID" redefined
/REFDB_HOME/referenz/adabas_d/incl/WINDOWS.H:27:1: warning: this is the
location of the previous definition
/usr/local/bin/gcc -c -I.
-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
-I/REFDB_HOME/referenz/adabas_d/incl -D_HPUX_SOURCE -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -O2 -DVERSION=\"0.2003\"
-DXS_VERSION=\"0.2003\" -fPIC "-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/CORE"
dbdimp.c
In file included from dbdodbc.h:9,
from Adabas.h:9,
from dbdimp.c:12:
/REFDB_HOME/referenz/adabas_d/incl/WINDOWS.H:105:1: warning: "VOID" redefined
/REFDB_HOME/referenz/adabas_d/incl/WINDOWS.H:27:1: warning: this is the
location of the previous definition
dbdimp.c: In function `adabas_db_login':
dbdimp.c:104: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c: In function `adabas_error':
dbdimp.c:273: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c:299: warning: passing arg 1 of `fprintf' from incompatible
pointer typedbdimp.c:304: warning: passing arg 1 of `fprintf' from
incompatible pointer typedbdimp.c:331: warning: passing arg 1 of `fprintf'
from incompatible pointer typedbdimp.c: In function `dbd_preparse':
dbdimp.c:437: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c: In function `dbd_st_tables':
dbdimp.c:489: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c: In function `adabas_st_prepare':
dbdimp.c:560: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c: In function `adabas_describe':
dbdimp.c:678: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c:684: warning: passing arg 1 of `fprintf' from incompatible
pointer typedbdimp.c:772: warning: passing arg 1 of `fprintf' from
incompatible pointer typedbdimp.c:840: warning: passing arg 1 of `fprintf'
from incompatible pointer typedbdimp.c: In function `adabas_st_execute':
dbdimp.c:871: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c: In function `adabas_st_fetch':
dbdimp.c:951: warning: passing arg 1 of `fprintf' from incompatible pointer
typedbdimp.c:976: warning: passing arg 1 of `fprintf' from incompatible
pointer typedbdimp.c: In function `_dbd_rebind_ph':
dbdimp.c:1136: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1174: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1202: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1246: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_bind_ph':
dbdimp.c:1319: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_st_blob_read':
dbdimp.c:1398: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1424: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_db_FETCH_attrib':
dbdimp.c:1563: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_get_info':
dbdimp.c:1798: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_get_type_info':
dbdimp.c:1871: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_col_attributes':
dbdimp.c:1951: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1957: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c:1958: warning: passing arg 1 of `fprintf' from incompatible pointer
type
dbdimp.c: In function `adabas_db_columns':
dbdimp.c:2038: warning: passing arg 1 of `fprintf' from incompatible pointer
type
Running Mkbootstrap for DBD::Adabas ()
chmod 644 Adabas.bs
rm -f blib/arch/auto/DBD/Adabas/Adabas.sl
LD_RUN_PATH="/REFDB_HOME/referenz/adabas_d/lib" /usr/bin/ld -b
-L/usr/local/lib Adabas.o dbdimp.o -o blib/arch/auto/DBD/Adabas/Adabas.sl
-L/REFDB_HOME/referenz/adabas_d/lib
/REFDB_HOME/referenz/adabas_d/lib/odbclib.a -lsqlrte -lsqlptc
/usr/bin/ld: /REFDB_HOME/referenz/adabas_d/lib/libsqlptc.sl: Not a valid
object
file (invalid magic number)
*** Fehlerr�ckkehrcode 1
Stopp.
</blockquote>
Has anybody the slidest idea whats the reason is for this failure?
I must confess we have a little bit unusual Unix-installation by ower former
admin!
It would be very fine if anybody can help me!
Thank you...
Gruss Christian