- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Files not being included
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 01:31 AM
тАО06-02-2009 01:31 AM
Files not being included
When i give the same path with -I it includes only one file and gives an error of unsatisfied symbol for the rest. What can possibly be a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 02:03 AM
тАО06-02-2009 02:03 AM
Re: Files not being included
"unsatisfied symbol" is typically a linker error, not a compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 03:11 AM
тАО06-02-2009 03:11 AM
Re: Files not being included
Objectivity requires me to include "ooObjy.h" file. In the code first a connection is made then a session. All the respective header files for session and connection are in the same dir where ooObjy.h is present. The compiler cant read these files
I have included the dir using -I. I also tried to include these header files individually.
The error i get is ::
Unsatisfied symbols:
ooSession::fd() (first referenced in Sample.o) (code)
opiHandle
ooConnection::createSession(const char *,unsigned int,unsigned int,unsigned int,bool,int) (first referenced in Sample.o) (code)
ooKernelException::get_kind() const (first referenced in Sample.o) (code)
ooKernelException::what() const (first referenced in Sample.o) (code)
static ooObjy::shutdown() (first referenced in Sample.o) (code)
ooSession::smDefaultMrowMode (first referenced in Sample.o) (data)
ooSession::commit() (first referenced in Sample.o) (code)
opiHandle
ooSession::smDefaultIndexMode (first referenced in Sample.o) (data)
opiProcessInit() (first referenced in Sample.o) (code)
opiHandle
ooObjy::smDefaultAutoRecover (first referenced in Sample.o) (data)
static ooObjy::getConnection(const char *,bool) (first referenced in Sample.o) (code)
typeid
static ooObjy::startup(unsigned int,ooAMSUsage,bool) (first referenced in Sample.o) (code)
opiHandle
ooSession::begin(ooMode,ooMode,ooIndexMode) (first referenced in Sample.o) (code)
opiHandle
opiHandle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 07:24 AM
тАО06-02-2009 07:24 AM
Re: Files not being included
It found, and read, the .h at compile time. What it can't find is the library file containing the objects listed above.
Also, you failed to provide the actual command line as requested.
Unsat's means it couldn't find the symbols either in the code you compiled or the libraries you provided. In your case the later...so where are the Objectivity lib files located?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 08:48 AM
тАО06-02-2009 08:48 AM
Re: Files not being included
Again, which compiler version? What OS version?
>The error I get is: Unsatisfied symbols:
Where are these symbols suppose to be defined?
In some lib on the link line?