Results 1 to 4 of 4
Hi......
/usr/include has a file mpool.h and
/usr/lib/libdb.a
/usr/lib/libdb.so
/usr/lib/libdb.so.1
if i include this file in my code as
#include<db.h>
#include< mpool.h>
i m geting the following errors:
/usr/include/mpool.h:53: 'pgno_t' ...
- 04-04-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 13
memory pool
Hi......
/usr/include has a file mpool.h and
/usr/lib/libdb.a
/usr/lib/libdb.so
/usr/lib/libdb.so.1
if i include this file in my code as
#include<db.h>
#include< mpool.h>
i m geting the following errors:
/usr/include/mpool.h:53: 'pgno_t' is used as a type, but is not defined as a
type.
what is the meaning of the above error?
i have downloaded the mpool.h from site given below
TinyCOBOL documents written in wiki
- 04-04-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
First, remove that blank space in "< mpool.h>". Second, if you did not install mpool.h into the regular system include folders, then you need to indicate an absolute or relative path but using double quotes instead of the <...> pair. Like this:
Code:#include"path/to/mpool.h"
- 04-04-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 13
yes I have installed mpool.h into the regular system ( /usr/include/mpool.h )include folders n used it as <mpool.h>
- 04-04-2008 #4
Mugdha, what is the exact output you get when you do this at the command line, logged in as the same user who does the compilations?
Code:ls -ld /usr/include/mpool.h
--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote
