dbTalk Databases Forums  

Re: using palloc in extension functions in c

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss Re: using palloc in extension functions in c in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Fuhr
 
Posts: n/a

Default Re: using palloc in extension functions in c - 10-31-2004 , 08:04 AM






On Wed, Oct 27, 2004 at 01:59:56PM +0200, Kjetil Haaland wrote:
Quote:
bash-2.05b$ gcc smith-waterman.c
/tmp/cc0X3Urq.o(.text+0x4dd): In function `readScoreMatrix':
: undefined reference to `CurrentMemoryContext'
/tmp/cc0X3Urq.o(.text+0x4e5): In function `readScoreMatrix':
: undefined reference to `MemoryContextAlloc'
collect2: ld returned 1 exit status
See the "Compiling and Linking Dynamically-Loaded Functions"
documentation:

http://www.postgresql.org/docs/7.4/s...c-c.html#DFUNC

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.