LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-03-2006, 01:19 AM   #1
manikan
LQ Newbie
 
Registered: Feb 2006
Posts: 12

Rep: Reputation: 0
compilation errors in g++


Hi,

I was not able to compile a c file in g++ due to some forward declaration limitations.THe same setup is compiling in other compilers.

So can anyone help me in resolving this issue.

The erros i got is as follows

n file included from ./inc/LOGInterface.h:32,
from ./DDMSDBAMgr.h:13,
from ./txTask.h:10,
from txTask.C:18:
/vobs/sdm/base/base/inc/slghgen.h:58:2: warning: #warning This header file is depricated in C++ code. For more info, see slghgen.h.
In file included from ./txTask.h:10,
from txTask.C:18:
./DDMSDBAMgr.h: In constructor `DDMSDBAgentManager<TxIdType, ClientIdType>:DMSDBAgentManager(TxMgrTask*, int, int)':
./DDMSDBAMgr.h:221: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:222: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:223: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:225: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:228: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::startMinimumDBAgents()':
./DDMSDBAMgr.h:257: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::startADBAgent()':
./DDMSDBAMgr.h:276: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::addDBA(const DDMSSessionKey&)':
./DDMSDBAMgr.h:366: error: `TxPending' undeclared (first use this function)
./DDMSDBAMgr.h:366: error: (Each undeclared identifier is reported only once for each function it appears in.)
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::removeDBA(const DDMSSessionKey&)':
./DDMSDBAMgr.h:394: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h:397: error: invalid use of undefined type `struct DDMSTxInfo'
./DDMSDBAMgr.h:17: error: forward declaration of `struct DDMSTxInfo'
./DDMSDBAMgr.h:398: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::removeDBA(int)':
./DDMSDBAMgr.h:433: error: invalid use of undefined type `struct TxMgrTask'
 
Old 02-03-2006, 05:31 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Moved: Not an LFS related question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors in Kernel Compilation btech_it Fedora 2 09-20-2005 03:27 AM
kernel compilation errors vishamr2000 Red Hat 3 04-09-2005 10:33 PM
lm sensor 2.9.0 compilation errors hippo159 Linux - Newbie 1 03-14-2005 05:47 AM
C++ compilation errors ??? glevine Programming 1 07-16-2004 03:15 PM
Compilation Errors ! vipinsharma Programming 0 06-01-2004 02:24 AM


All times are GMT -5. The time now is 08:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration