HP3000-L Archives

October 1999, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Whitlock <[log in to unmask]>
Reply To:
Joseph Whitlock <[log in to unmask]>
Date:
Sun, 31 Oct 1999 19:16:49 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (427 lines)
HP3000 Folks,

I am continuing to investigate this wierd and wonderful Posix porting
world.
(I am a complete ignoramous on many elements gcc, ld (ie;c89 - ld2),
make etc...)

Anyway I thought I would download the DBI-1.13 and DBD-ODBC-0.22 and
try to compile and install them.  I compiled and successfully tested and
installed
the DBI-1.13 modules.  I am stuck on the DBD-ODBC-0.22.

Part of the README says;

***************************************************************

*BEFORE* BUILDING, TESTING AND INSTALLING this you will need to:

    Build, test and install Perl 5 (at least 5.004).
    It is very important to TEST it and INSTALL it!

    Build, test and install the DBI module (at least DBI 0.93).
    It is very important to TEST it and INSTALL it!

    Remember to *read* the DBI README file!

BUILDING:

  set-up these environment variables:
    DBI_DSN   The dbi data source, e.g. 'dbi:ODBC:YOUR_DSN_HERE'
    DBI_USER  The username to use to connect to the database
    DBI_PASS  The username to use to connect to the database
    ODBCHOME  (Unix only) The dir your driver manager is installed in

  perl Makefile.PL
  make                (or nmake, if VC++ on Win32)
  make test           (or nmake, if VC++ on Win32)

***************************************************************

I exported the following variables

***************************************************************

DBI_DSN="dbi:ODBC:ESWRDBE"
DBI_PASS="********"
DBI_USER="ODBC,MGR.BCSE,DATABASE"
ODBCHOME="/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3"

***************************************************************

and then I do following

***************************************************************


SITE133 MANAGER.SYS /tar_files/DBD-ODBC-0.22>perl Makefile.PL

Configuring DBD::ODBC ...

>>>     Remember to actually *READ* the README file!
        And re-read it if you have any problems.

Using DBI 1.13 installed in
/PERL/PUB/lib/perl5/site_perl/5.005/PA-RISC1.1/auto/DBI
Using ODBC in /tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3

Umm, this looks like a iodbc type of driver manager.
That's odd, I can't see any iodbc libs in
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/lib at Makefile.PL
line 153.

***************************************************************

I think I need this driver manager so I follow the instructions to build
it

***************************************************************

SITE133 MANAGER.SYS
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3>./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether /usr/local/bin/make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... hppa1.0-hp-mpeix
checking cached information... (cached) ok
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE ) works... yes
checking whether the C compiler (gcc -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached)
yes
checking how to run the C preprocessor... (cached) gcc -E
checking for a BSD compatible install... ./install-sh -c
checking whether ln -s works... (cached) yes
checking whether /usr/local/bin/make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) :
checking build system type... hppa1.0-hp-mpeix
checking for ld used by GCC... (cached) /bin/ld
checking if the linker (/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/local/bin/nm -B
checking command to parse /usr/local/bin/nm -B output... (cached) yes
checking for _ prefix in compiled symbols... (cached) no
loading cache ./config.cache within ltconfig
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking whether ln -s works... yes
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking whether the linker (/bin/ld) supports shared libraries... no
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking command to parse /usr/local/bin/nm -B output... yes
checking how to hardcode library paths into programs... unsupported
checking for /bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for dlopen... (cached) yes
checking for underscore before symbols... (cached) no
checking for ANSI C header files... (cached) yes
checking for strerror... (cached) yes
checking system config directory... /usr/local/etc
checking for iODBC ini directory... /usr/local/etc
creating ./config.status
creating Makefile
creating samples/Makefile
./configure 3020: Use "exit"
SITE133 MANAGER.SYS
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3>make
Making all in .
make[1]: Entering directory
`/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3'
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c catalog.
c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c catalog.c -o catalog.o
echo timestamp > catalog.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c connect.
c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c connect.c -o connect.o
echo timestamp > connect.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c dlf.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c dlf.c -o dlf.o
echo timestamp > dlf.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c dlproc.c

gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c dlproc.c -o dlproc.o
echo timestamp > dlproc.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c execute.
c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c execute.c -o execute.o
echo timestamp > execute.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c fetch.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c fetch.c -o fetch.o
echo timestamp > fetch.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c hdbc.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c hdbc.c -o hdbc.o
echo timestamp > hdbc.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c henv.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c henv.c -o henv.o
echo timestamp > henv.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c herr.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c herr.c -o herr.o
echo timestamp > herr.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c hstmt.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c hstmt.c -o hstmt.o
echo timestamp > hstmt.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c info.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c info.c -o info.o
echo timestamp > info.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c itrace.c

gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c itrace.c -o itrace.o
echo timestamp > itrace.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c misc.c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c misc.c -o misc.o
echo timestamp > misc.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c prepare.
c
gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c prepare.c -o prepare.o
echo timestamp > prepare.lo
/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libiodbc\"
-DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DH

AVE_STRERROR=1 -DSYS_ODBC_INI=\"/usr/local/etc/odbc.ini\"  -I. -I.
-D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -c result.c

gcc -DPACKAGE=\"libiodbc\" -DVERSION=\"2.50.3\" -DHAVE_DLOPEN=1
-DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_STRERROR=1 -DSYS_ODBC_INI=\"/
usr/local/etc/odbc.ini\" -I. -I. -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE -c result.c -o result.o
echo timestamp > result.lo
/bin/sh ./libtool --mode=link gcc  -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE  -o libiodbc.la -rpath /usr/local/lib -version-i
nfo 2:50:0                        -export-symbols ./iodbc.exp catalog.lo
connect.lo dlf.lo dlproc.lo execute.lo fetch.lo hdbc.lo hen
v.lo herr.lo hstmt.lo info.lo itrace.lo misc.lo prepare.lo result.lo
rm -fr .libs/libiodbc.la .libs/libiodbc.* .libs/libiodbc.*
ar cru .libs/libiodbc.a  catalog.o connect.o dlf.o dlproc.o execute.o
fetch.o hdbc.o henv.o herr.o hstmt.o info.o itrace.o misc.o pr
epare.o result.o
CONTENTS OF LINKEDIT INDIRECT FILE:
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/catalog.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/connect.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/dlf.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/dlproc.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/execute.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/fetch.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/hdbc.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/henv.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/herr.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/hstmt.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/info.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/itrace.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/misc.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/prepare.o
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/result.o
END OF INDIRECT FILE
callci(xeq linkedit
"buildrl;rl=/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/.libs/libiodbc.a;limit=2000";parm=7)->'1'

callci(xeq linkedit
"addrl;from=^/tmp/ar08B800C4.aaa;to=/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/.libs/libiodbc.a;replace;u

pdate";parm=7)->'1'
15 OBJECT FILES HAVE BEEN ADDED.

creating libiodbc.la
(cd .libs && rm -f libiodbc.la && ln -s ../libiodbc.la libiodbc.la)
make[1]: Leaving directory
`/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3'
Making all in samples
make[1]: Entering directory
`/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/samples'
/bin/sh ../libtool --mode=link gcc  -D_POSIX_SOURCE -D_SOCKET_SOURCE
-D_MPEIX_SOURCE  -o odbctest -static odbctest.o ../libiodbc.la

gcc -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -o odbctest
odbctest.o ../.libs/libiodbc.a
ECHO=1 c89    -o odbctest  odbctest.o ../.libs/libiodbc.a
-L/usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57 -L/usr/local/lib
-
lgcc -lgcc -WL,XL=/lib/libc.sl -WL,cap=ph
CONTENTS OF LINKEDIT INDIRECT FILE:
-L /usr/local/lib/gcc-lib/hppa1.0-hp-mpeix/egcs-2.91.57
-L /usr/local/lib
.
/odbctest.o
../.libs/libiodbc.a
-lgcc
-lgcc
-l c
END OF INDIRECT FILE
WARNING: .
/odbctest.o HAS FILECODE 0

callci(xeq linkedit.pub.sys "link;from=^/tmp/c8907810095.aaa;to=.
/odbctest;posix;share;XL=/lib/libc.sl cap=ph ";parm=7)->'2'
make[1]: Leaving directory
`/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/samples'

***************************************************************

So now I run the test program to test the odbc driver.

***************************************************************
SITE133 MANAGER.SYS /tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3>
SITE133 MANAGER.SYS
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3>pwd
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3
SITE133 MANAGER.SYS /tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3>cd
samples
SITE133 MANAGER.SYS
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/samples>odbctest
UNRESOLVED EXTERNALS: strdup  (LDRERR 512)
UNRESOLVED EXTERNALS: dlopen  (LDRERR 512)
UNRESOLVED EXTERNALS: dlsym  (LDRERR 512)
UNRESOLVED EXTERNALS: dlerror  (LDRERR 512)
UNRESOLVED EXTERNALS: dlclose  (LDRERR 512)

**** EXEC FUNCTION FAILED; subsys =517; info = 48
ABORT:
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/samples/odbctest
NM SYS   a.00aa2288 dbg_abort_trace+$24
[1] + Done(134) odbctest
  176226353     Abort   odbctest
SITE133 MANAGER.SYS
/tar_files/DBD-ODBC-0.22/iodbcsrc/libiodbc-2.50.3/samples>

***************************************************************
At this point I have some unresolved externals because I think I'm
missing a library.
I looked on the HP-UX news group and there is a discussion of libdl.sl
or libdld.sl

Any thoughts or help appreciated.



--
                                  Respectfully,
                                  Joe

  Joe Whitlock                  | Work Email: [log in to unmask]

  The Boeing Company            | Home Email: [log in to unmask]
  P.O. Box 3707                 | Tel:      425-234-1478
  MS 6C-LU                      | Fax:      425-237-7230
  Seattle, WA 98124-2207        |

ATOM RSS1 RSS2