Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Modula 3 > SRC Modula-3 an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 88 of 148
Post > Topic >>

SRC Modula-3 and undefined rerenence w/ Postresql

by rdd@[EMAIL PROTECTED] (R. D. Davis) Feb 28, 2004 at 08:43 PM

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.




 2 Posts in Topic:
SRC Modula-3 and undefined rerenence w/ Postresql
rdd@[EMAIL PROTECTED] (R  2004-02-28 20:43:48 
Problem solved (was: SRC Modula-3 and undefined reference...)
rdd@[EMAIL PROTECTED] (R  2004-02-29 06:32:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 18:43:00 CDT 2008.