After deciding to give Modula-3 a try, since I like Modula-2, I discovered
the Kassa example for using SRC Modula-3 with Postgresql. All appeared to
go ok with installing libpostgresql, however, I've run into a problem with
getting the Kassa example to link when I run m3build:
Kassa.mo: In function `_INITM_Kassa':
/home/rdd/modula-3/pgsql/kassa/FreeBSD4/Kassa.m3:136: undefined reference
to `PQsetdb'
If I comment out the PQsetdb statement, etc., I can get the program to
compule and link. While I'm guessing that I could use libpostgresql
with PQconnect instead of libpostgresql, which I would do anyway, I'm
still curious as to why this isn't working. I can't see where any
problem could be with Kassa of the libpostgresql files, unless I'm
overlooking something. All that I can figure is that there's a
problem with the PostgreSQL library itself (I'm using version 7.1.3 of
PostgreSQL).
Any thoughts or ideas?
--
Copyright (C) 2003 R. D. Davis The difference between humans & other
animals:
All Rights Reserved an unnatural belief that we're above Nature
&
rdd@[EMAIL PROTECTED]
410-744-4900 her other creatures, using dogma to justify
such
http://www.rddavis.org
beliefs and to justify much human cruelty.


|