Find the answer to your Linux question:
Results 1 to 2 of 2
I want to create a memory buffer pool for an linux application. I am using <db.h> <mpool.h> header files and tried to complie the program as g++ -c sampleapp.cc but ...
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    13

    Memory pool

    I want to create a memory buffer pool for an linux application.
    I am using
    <db.h>
    <mpool.h>
    header files and tried to complie the program as g++ -c sampleapp.cc
    but i am getting the following error:

    mpool.h: No such file or directory

    how to link this file?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Your compiler (the preprocessor part of it) is complaining because he can't find the mpool.h file. Check the directory settings.

    The linker did not even look at it yet, because it is ran after successful compilation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...