agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: J.Plewe <joerg.plewe@mpi-dortmund.mpg.de>
To: postgres@postgres.Berkeley.EDU
Subject: Re: link failed in load of ADT file ..
Date: Wed, 29 Jun 94 09:58:40 +0200
Message-ID: <9406290758.AA12393@dl.mpi-dortmund.mpg.de> (raw)
>
> I assure you that the file IS there compiled with the same options which
> successfully compile circle.c ........
>
> even :
> * load "/resrch2/postgres/bruce/emp.o" \g
>
> Query sent to backend is "load "/resrch2/postgres/bruce/emp.o" "
> WARN:Jun 28 18:45:53:Load of file /resrch2/postgres/bruce/emp.o failed: link fai
> led!
> -------------------
Hmmm, there are more strange things about that. When I just compile
cc -s -Ipostgres/include circle.c
and then
os:/work/plewe[20] spog
Warning: Assuming database plewe
connected to backend database plewe
spog > load "/work/plewe/circle.o"
FATAL: no response from backend: detected in PQexec
spog: detected a fatal error, exiting...
os:/work/plewe[21]
You see?
When I now do a dummy linker run, e.g.
ld -o foo.o circle.o
then I get
os:/work/plewe[21] spog
connected to backend database plewe
spog > load "/work/plewe/foo.o"
LOAD successful
The difference between circle.o and foo.o is that foo.o seems to
be better prepared for dynamic loading, unless I do not understand
the mechanisms.
os:/work/plewe[23] nm circle.o
U _atof
00000000 T _circle_in
000001ac T _circle_out
U _palloc
U _point_dt
00000240 T _pt_in_circle
U _sprintf
os:/work/plewe[22] nm foo.o
00002000 d __DYNAMIC
00000020 T _circle_in
000001cc T _circle_out
00002090 D _edata
00002090 B _end
000004a0 T _etext
00000260 T _pt_in_circle
00000020 t circle.o
Ah, my system is SunOS4.1.3 and Postgres 4.2.
Remaining strange, Joerg
*********************************************************************
Dipl. Phys. Joerg Plewe joerg.plewe@mpi-dortmund.mpg.de
MPI fuer molekulare Physiologie
Rheinlanddamm 201
44139 Dortmund
Germany +49 (0)231 1206 384
*********************************************************************
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: joerg.plewe@mpi-dortmund.mpg.de
Subject: Re: link failed in load of ADT file ..
In-Reply-To: <9406290758.AA12393@dl.mpi-dortmund.mpg.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox