agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedADT with Linux
2+ messages / 2 participants
[nested] [flat]
* ADT with Linux
@ 1994-05-10 07:30 J.Plewe <joerg.plewe@mpi-dortmund.mpg.de>
1994-05-10 12:10 ` Re: ADT with Linux Kai Petzke <wpp@marie.physik.tu-berlin.de>
0 siblings, 1 reply; 2+ messages in thread
From: J.Plewe @ 1994-05-10 07:30 UTC (permalink / raw)
To: legacy
Hello!
This is a very technical question from a newcomer:
How do I have to compile user's data types with gcc under Linux?
I tried circle.c and got circle.o, but Postgres denies usage
with a ld-error. I did not give any option except -c to cc.
Thanks,
Joerg Plewe, Max-Planck-Institut Dortmund, Germany
===============================================================================
To add/remove yourself 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.
===============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ADT with Linux
1994-05-10 07:30 ADT with Linux J.Plewe <joerg.plewe@mpi-dortmund.mpg.de>
@ 1994-05-10 12:10 ` Kai Petzke <wpp@marie.physik.tu-berlin.de>
0 siblings, 0 replies; 2+ messages in thread
From: Kai Petzke @ 1994-05-10 12:10 UTC (permalink / raw)
To: J.Plewe <joerg.plewe@mpi-dortmund.mpg.de>; +Cc: legacy
>
> Hello!
>
> This is a very technical question from a newcomer:
>
> How do I have to compile user's data types with gcc under Linux?
In general you cannot do much wrong. Use:
cc -c <your-program>
If loading of that program fails later, very likely, it has one of
the following reasons:
1) User "postgres" has no access to your object file. Note, that
the postgres backend does a "cd" into the database directory,
so that it needs the full pathname to access your files. Any
intervening directories must be executable.
2) You "strip"ped the postgres backend. In that case, it will
not be able to link in the new file.
3) You reference functions, which are neither defined in the
backend nor in the standard C and math library.
In general, when you do a report about a bug or problem, it is
very important, that you include exact information about what you
did, and what the (wrong) result was. Under Linux, you can use
the program "script" for this purpose. For example, type:
script
cc -I ~postgres/include -c <your-program>
monitor
load <your-program-object-file>
exit
And then include the output, which was saved in "scriptfile".
Don't forget to state important version numbers as well. This
makes helping *much* easier!
Kai
===============================================================================
To add/remove yourself 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.
===============================================================================
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1994-05-10 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1994-05-10 07:30 ADT with Linux J.Plewe <joerg.plewe@mpi-dortmund.mpg.de>
1994-05-10 12:10 ` Kai Petzke <wpp@marie.physik.tu-berlin.de>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox