HP3000-L Archives

November 2002, Week 3

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:
Frank Alden Smith <[log in to unmask]>
Reply To:
Frank Alden Smith <[log in to unmask]>
Date:
Tue, 19 Nov 2002 06:45:36 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (67 lines)
Hi all,

I've been searching for an elusive answer for a week now ...
I thought someone out there may have already invented this
particular wheel -- if so please help.

To test eloquence on HP-UX as a migration possibility for
HP3000 Fortran programs I built a couple of eloquence
databases on a HP9000 at HP-UX 11.00, with remarkable ease
I must add. Thank you Michael!

Next I wrote a simple test Fortran 77 test program on the
HP3000 and moved it to the HP-UX box. Now when I compile
and link with the following:


strauss:/root/demo# g77 -v -o order_app order_app.F -L/opt/eloquence6/lib \
> -limage3k

I get unresolved externals (i.e., Unsatisfied symbols) from
ld (as follows):

Driving: g77 -v -o order_app order_app.F -L/opt/eloquence6/lib -limage3k -
lfrtbe
gin -lg2c -lm -shared-libgcc

stuff snipped (fas)

sr/local/lib/gcc-lib/hppa2.0n-hp-
hpux11.00/3.2/../../.. /var/tmp//ccjtsUbc.o -li
mage3k -lfrtbegin -lg2c -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
/usr/ccs/bin/ld: Unsatisfied symbols:
   dbupdate_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbdelete_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbclose_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbfind_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbget_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dblock_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbexplain_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbopen_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbunlock_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbinfo_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
   dbput_ (first referenced in /var/tmp//ccjtsUbc.o) (code)
collect2: ld returned 1 exit status
strauss:/root/demo#

I am new to programming in this very mixed environment and I
don't know what I need to add to the Fortran program to make
the linkage to the eloquence libimage3k shared library happen.
Can anyone help ... please.

Take care,
frank
======================================================
Frank Alden Smith           HP MPE/iX Certified Professional
Alden Research, Inc.            Instructor -- Consultant
3617 Ligon Road
Ellicott City MD  21042

Phone: (410) 750-2101

"All knowing is doing" -- Humberto Maturana (biologist and teacher)
======================================================

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2