The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pro*c compilation error satvd High Level Programming 0 05-21-2008 02:04 AM
Compilation error : Please help jagan_kalluri High Level Programming 1 05-20-2008 01:48 PM
compilation error smanu High Level Programming 2 12-29-2006 06:11 AM
Regarding compilation error. sweta High Level Programming 1 12-10-2006 07:30 AM
compilation error in gcc ls1429 High Level Programming 9 06-21-2006 08:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-23-2007
Registered User
 

Join Date: Aug 2007
Posts: 27
Compilation error

I am compiling a software xchm on solaris 10.
First i run './configure'
There is no error.

But when i start compiling using 'gmake'
following error shown

/usr/local/include/wx-2.6/wx/x11/brush.h: In copy constructor `wxBrush::wxBrush(const wxBrush&)':
/usr/local/include/wx-2.6/wx/x11/brush.h:42: warning: base class `class wxBrushBase' should be explicitly initialized in the copy constructor
In file included from /usr/local/include/wx-2.6/wx/listbox.h:141,
from /usr/local/include/wx-2.6/wx/checklst.h:17,
from /usr/local/include/wx-2.6/wx/wx.h:55,
from ./chmframe.h:25,
from chmhtmlwindow.cpp:27:
/usr/local/include/wx-2.6/wx/motif/listbox.h: At global scope:
/usr/local/include/wx-2.6/wx/motif/listbox.h:103: warning: unused parameter 'item'
/usr/local/include/wx-2.6/wx/motif/listbox.h:103: warning: unused parameter 'x'
chmhtmlwindow.cpp: In member function `void CHMHtmlWindow::OnCopyLink(wxCommandEvent&)':
chmhtmlwindow.cpp:376: error: `wxTextDataObject' has not been declared
gmake[2]: *** [chmhtmlwindow.o] Error 1
gmake[2]: Leaving directory `/opt/softwares/xchm-1.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/softwares/xchm-1.9'
gmake: *** [all] Error 2


Please help me and tell me what is this error and how to solve this problem
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Are you using g++ or Sun's Studio-11?
Reply With Quote
  #3 (permalink)  
Old 10-23-2007
Registered User
 

Join Date: Aug 2007
Posts: 27
Both g++ and sunstudio 11 installed on my system and make project using gmake
Reply With Quote
  #4 (permalink)  
Old 10-23-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
It basically looks like you've got some C++ compilation problems to solve.

I would recommend ensuring that gcc and g++ are used, if that does not solve the problem then you have some work to do fixing somebody's C++ code.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0