Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id AAA29226 for postgres-redist; Wed, 29 Jun 1994 00:59:35 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406290759.AAA29226@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from ks.mpi-dortmund.mpg.de (ks.mpi-dortmund.mpg.de [141.5.68.16]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id AAA29205 for ; Wed, 29 Jun 1994 00:59:15 -0700 Received: from dl.mpi-dortmund.mpg.de by ks.mpi-dortmund.mpg.de (4.1/SMI-4.1MHS-mpi-1.4.93) id AA03419; Wed, 29 Jun 94 09:58:42 +0200 Received: by dl.mpi-dortmund.mpg.de (4.1/SMI-4.1-mpi-30.3.93) id AA12393; Wed, 29 Jun 94 09:58:40 +0200 Date: Wed, 29 Jun 94 09:58:40 +0200 From: joerg.plewe@mpi-dortmund.mpg.de (J.Plewe) Message-Id: <9406290758.AA12393@dl.mpi-dortmund.mpg.de> To: postgres@postgres.Berkeley.EDU Subject: Re: link failed in load of ADT file .. Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Wed, 29 Jun 94 00:59:35 -0700 Resent-XMts: smtp > > 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. ==============================================================================