LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-04-2007, 08:11 PM   #1
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Rep: Reputation: 15
help compiling using make


I am trying to compile the RX320 0.6.1 GUI software (http://xclass.sourceforge.net/rx320.html) on Ubuntu 6.10. So far, I have done

Code:
sudo apt-get install build-essential
then installed xclass-common, libxclass0c2a, & libxclass0-dev (versions 0.9.1) from the Synaptic Package Manager since they are required for RX320. I then downloaded the tar and extracted it to a folder on my Desktop. From the terminal, I entered the folder and typed "make" at which point I got about 16 pages of errors - so many errors, in fact, that the terminal did not keep all of them if I scroll all the way to the top. Just some excerpts of the errors since they are basically the same, just different variables. I can post the whole thing, but it will be long...

Code:
/usr/include/xclass/OXMenu.h:188: error: ‘XKeyEvent’ has not been declared
/usr/include/xclass/OXSlider.h:70: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXSlider.h:71: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXSlider.h:91: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXSlider.h:92: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXSlider.h:109: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXSlider.h:110: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OResourcePool.h:133: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:134: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:136: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:137: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:138: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:194: error: ‘Cursor’ does not name a type
/usr/include/xclass/OResourcePool.h:195: error: ‘Cursor’ does not name a type
/usr/include/xclass/OResourcePool.h:199: error: ‘Colormap’ does not name a type
/usr/include/xclass/OResourcePool.h:211: error: expected ‘;’ before ‘*’ token
/usr/include/xclass/OResourcePool.h:213: error: ‘Colormap’ does not name a type
/usr/include/xclass/OResourcePool.h:215: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:244: error: ‘Pixmap’ does not name a type
/usr/include/xclass/OResourcePool.h:126: error: ‘False’ was not declared in this scope
ORX320.h:109: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXToolBar.h:76: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXToolBar.h:76: error: ‘False’ was not declared in this scope
/usr/include/xclass/OX3dLines.h: In member function ‘virtual void OXHorizontal3dLine::DrawBorder()’:
/usr/include/xclass/OX3dLines.h:42: error: ‘_shadowGC’ was not declared in this scope
/usr/include/xclass/OX3dLines.h:43: error: ‘_hilightGC’ was not declared in this scope
/usr/include/xclass/OX3dLines.h: In member function ‘virtual void OXVertical3dLine::DrawBorder()’:
/usr/include/xclass/OX3dLines.h:57: error: ‘_shadowGC’ was not declared in this scope
/usr/include/xclass/OX3dLines.h:58: error: ‘_hilightGC’ was not declared in this scope
/usr/include/xclass/OXResizer.h: At global scope:
/usr/include/xclass/OXResizer.h:158: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXResizer.h:159: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXResizer.h:199: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXResizer.h:200: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXResizer.h:240: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXResizer.h:242: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OGC.h:34: error: expected `)' before ‘*’ token
/usr/include/xclass/OGC.h:48: error: ‘GC’ does not name a type
/usr/include/xclass/OGC.h:50: error: ‘XGCValues’ has not been declared
/usr/include/xclass/OGC.h:44: error: ‘const class OXGC’ has no member named ‘_dpy’
/usr/include/xclass/OGC.h:44: error: ‘_d’ was not declared in this scope
/usr/include/xclass/OGC.h:56: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:56: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:56: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:56: error: ‘GCLineWidth’ was not declared in this scope
/usr/include/xclass/OGC.h:56: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetLineStyle(int)’:
/usr/include/xclass/OGC.h:57: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:57: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:57: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:57: error: ‘GCLineStyle’ was not declared in this scope
/usr/include/xclass/OGC.h:57: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetCapStyle(int)’:
/usr/include/xclass/OGC.h:58: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:58: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:58: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:58: error: ‘GCCapStyle’ was not declared in this scope
/usr/include/xclass/OGC.h:58: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetJoinStyle(int)’:
/usr/include/xclass/OGC.h:59: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:59: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:59: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:59: error: ‘GCJoinStyle’ was not declared in this scope
/usr/include/xclass/OGC.h:59: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetFillStyle(int)’:
/usr/include/xclass/OGC.h:60: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:60: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:60: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:60: error: ‘GCFillStyle’ was not declared in this scope
/usr/include/xclass/OGC.h:60: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetFillRule(int)’:
/usr/include/xclass/OGC.h:61: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:61: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:61: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:61: error: ‘GCFillRule’ was not declared in this scope
/usr/include/xclass/OGC.h:61: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetTile(int)’:
/usr/include/xclass/OGC.h:62: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:62: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:62: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:62: error: ‘GCTile’ was not declared in this scope
/usr/include/xclass/OGC.h:62: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetStipple(int)’:
/usr/include/xclass/OGC.h:63: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:63: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:63: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:63: error: ‘GCStipple’ was not declared in this scope
/usr/include/xclass/OGC.h:63: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetTileStipXOrigin(int)’:
/usr/include/xclass/OGC.h:64: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:64: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:64: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:64: error: ‘GCTileStipXOrigin’ was not declared in this scope
/usr/include/xclass/OGC.h:64: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetTileStipYOrigin(int)’:
/usr/include/xclass/OGC.h:65: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:65: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:65: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:65: error: ‘GCTileStipYOrigin’ was not declared in this scope
/usr/include/xclass/OGC.h:65: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetFont(int)’:
/usr/include/xclass/OGC.h:66: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:66: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:66: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:66: error: ‘GCFont’ was not declared in this scope
/usr/include/xclass/OGC.h:66: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetSubwindowMode(int)’:
/usr/include/xclass/OGC.h:67: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:67: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:67: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:67: error: ‘GCSubwindowMode’ was not declared in this scope
/usr/include/xclass/OGC.h:67: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetGraphicsExposures(int)’:
/usr/include/xclass/OGC.h:68: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:68: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:68: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:68: error: ‘GCGraphicsExposures’ was not declared in this scope
/usr/include/xclass/OGC.h:68: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetClipXOrigin(int)’:
/usr/include/xclass/OGC.h:69: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:69: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:69: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:69: error: ‘GCClipXOrigin’ was not declared in this scope
/usr/include/xclass/OGC.h:69: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetClipYOrigin(int)’:
/usr/include/xclass/OGC.h:70: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:70: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:70: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:70: error: ‘GCClipYOrigin’ was not declared in this scope
/usr/include/xclass/OGC.h:70: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetClipMask(int)’:
/usr/include/xclass/OGC.h:71: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:71: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:71: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:71: error: ‘GCClipMask’ was not declared in this scope
/usr/include/xclass/OGC.h:71: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetDashOffset(int)’:
/usr/include/xclass/OGC.h:72: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:72: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:72: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:72: error: ‘GCDashOffset’ was not declared in this scope
/usr/include/xclass/OGC.h:72: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetDashList(char)’:
/usr/include/xclass/OGC.h:73: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:73: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:73: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:73: error: ‘GCDashList’ was not declared in this scope
/usr/include/xclass/OGC.h:73: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘void OXGC::SetArcMode(int)’:
/usr/include/xclass/OGC.h:74: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h:74: error: ‘_dpy’ was not declared in this scope
/usr/include/xclass/OGC.h:74: error: ‘_gc’ was not declared in this scope
/usr/include/xclass/OGC.h:74: error: ‘GCArcMode’ was not declared in this scope
/usr/include/xclass/OGC.h:74: error: ‘XChangeGC’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetFunction() const’:
/usr/include/xclass/OGC.h:79: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘long unsigned int OXGC::GetForeground() const’:
/usr/include/xclass/OGC.h:80: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘long unsigned int OXGC::GetBackground() const’:
/usr/include/xclass/OGC.h:81: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetLineWidth() const’:
/usr/include/xclass/OGC.h:82: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetLineStyle() const’:
/usr/include/xclass/OGC.h:83: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetCapStyle() const’:
/usr/include/xclass/OGC.h:85: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetJoinStyle() const’:
/usr/include/xclass/OGC.h:86: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetFillStyle() const’:
/usr/include/xclass/OGC.h:87: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: In member function ‘int OXGC::GetFillRule() const’:
/usr/include/xclass/OGC.h:88: error: ‘_values’ was not declared in this scope
/usr/include/xclass/OGC.h: At global scope:
/usr/include/xclass/OGC.h:106: error: expected ‘;’ before ‘(’ token
/usr/include/xclass/OGC.h:109: error: expected ‘,’ or ‘...’ before ‘gc’
/usr/include/xclass/OGC.h:114: error: ‘XGCValues’ has not been declared
/usr/include/xclass/OGC.h:115: error: ‘XGCValues’ has not been declared
/usr/include/xclass/OXScrollBar.h: In constructor ‘OXScrollBarElt::OXScrollBarElt(const OXWindow*, const OPicture*, int, int, unsigned int, long unsigned int)’:
/usr/include/xclass/OXScrollBar.h:66: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXScrollBar.h: At global scope:
/usr/include/xclass/OXScrollBar.h:83: error: ‘Pixmap’ does not name a type
/usr/include/xclass/OXScrollBar.h:94: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXScrollBar.h:95: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXScrollBar.h:115: error: ‘Window’ does not name a type
/usr/include/xclass/OXScrollBar.h:100: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXScrollBar.h:103: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXScrollBar.h:125: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXScrollBar.h:126: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXScrollBar.h:132: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXView.h:178: error: ‘XGraphicsExposeEvent’ has not been declared
/usr/include/xclass/OXView.h:180: error: ‘XCrossingEvent’ has not been declared
/usr/include/xclass/OXView.h:182: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXView.h:184: error: ‘XKeyEvent’ has not been declared
/usr/include/xclass/OXView.h:189: error: ‘Atom’ does not name a type
/usr/include/xclass/OXView.h:193: error: ‘Atom’ does not name a type
/usr/include/xclass/OXView.h:199: error: ‘GetDNDdata’ declared as a ‘virtual’ field
/usr/include/xclass/OXView.h:199: error: expected ‘;’ before ‘(’ token
/usr/include/xclass/OXView.h:202: error: expected `;' before ‘}’ token
/usr/include/xclass/OXView.h: In member function ‘virtual int OXViewCanvas::HandleExpose(int*)’:
/usr/include/xclass/OXView.h:177: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXView.h: In member function ‘virtual int OXViewCanvas::HandleGraphicsExpose(int*)’:
/usr/include/xclass/OXView.h:179: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXItemView.h: At global scope:
/usr/include/xclass/OXItemView.h:87: error: ‘GC’ does not name a type
/usr/include/xclass/OXItemView.h:110: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXItemView.h:111: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXItemView.h:112: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXItemView.h:115: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXItemView.h:105: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXItemView.h: In member function ‘virtual bool OXItemView::ItemLayout()’:
/usr/include/xclass/OXItemView.h:145: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXListView.h: At global scope:
/usr/include/xclass/OXListView.h:81: error: ‘GC’ has not been declared
/usr/include/xclass/OXListView.h:114: error: ‘XKeyEvent’ has not been declared
/usr/include/xclass/OXListView.h:115: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXListView.h:132: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXListView.h:142: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXHelpWindow.h:48: error: ‘XMapEvent’ has not been declared
main.h:68: error: ‘XButtonEvent’ has not been declared
main.h:69: error: ‘XKeyEvent’ has not been declared
main.h:82: error: ‘True’ was not declared in this scope
main.h:83: error: ‘True’ was not declared in this scope
/usr/include/xclass/OXTextEntry.h:61: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:62: error: ‘XButtonEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:63: error: ‘XMotionEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:64: error: ‘XKeyEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:65: error: ‘XCrossingEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:66: error: ‘XSelectionEvent’ has not been declared
/usr/include/xclass/OXTextEntry.h:92: error: ‘GC’ has not been declared
/usr/include/xclass/OXTextEntry.h:93: error: ‘GC’ has not been declared
/usr/include/xclass/OXTextEntry.h:99: error: ‘Window’ has not been declared
/usr/include/xclass/OXTextEntry.h:99: error: ‘Atom’ has not been declared
/usr/include/xclass/OXTextEntry.h:75: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXTextEntry.h:76: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXTextEntry.h:77: error: ‘False’ was not declared in this scope
/usr/include/xclass/OXTextEntry.h:78: error: ‘False’ was not declared in this scope
OXSMeter.h:59: error: ‘Pixmap’ does not name a type
OXSlideRuler.h:43: error: ‘XButtonEvent’ has not been declared
OXSlideRuler.h:44: error: ‘XMotionEvent’ has not been declared
OXSlideRuler.h:63: error: ‘Pixmap’ does not name a type
OXTuningKnob.h:49: error: ‘XButtonEvent’ has not been declared
OXTuningKnob.h:50: error: ‘XMotionEvent’ has not been declared
OXScan.h:54: error: ‘XButtonEvent’ has not been declared
OXScan.h:55: error: ‘XMotionEvent’ has not been declared
OXScan.h:56: error: ‘XCrossingEvent’ has not been declared
OXScan.h:83: error: ‘Pixmap’ does not name a type
OXDialogs.h:60: error: ‘False’ was not declared in this scope
main.cc: In constructor ‘OXMain::OXMain(const OXWindow*, int, int)’:
main.cc:182: error: ‘False’ was not declared in this scope
main.cc:197: error: ‘False’ was not declared in this scope
main.cc:224: error: ‘False’ was not declared in this scope
main.cc:232: error: ‘False’ was not declared in this scope
main.cc:378: error: ‘True’ was not declared in this scope
main.cc:467: error: ‘ButtonPressMask’ was not declared in this scope
main.cc:467: error: ‘ButtonReleaseMask’ was not declared in this scope
main.cc: In member function ‘virtual int OXMain::CloseWindow()’:
main.cc:480: error: ‘False’ was not declared in this scope
main.cc:484: error: ‘True’ was not declared in this scope
main.cc:485: error: ‘False’ was not declared in this scope
main.cc: In member function ‘virtual int OXMain::ProcessMessage(OMessage*)’:
main.cc:828: error: ‘False’ was not declared in this scope
main.cc:897: error: ‘True’ was not declared in this scope
main.cc: In member function ‘void OXMain::GrabKeys()’:
main.cc:1056: error: ‘XK_KP_0’ was not declared in this scope
main.cc:1056: error: ‘XK_KP_1’ was not declared in this scope
main.cc:1056: error: ‘XK_KP_2’ was not declared in this scope
main.cc:1056: error: ‘XK_KP_3’ was not declared in this scope
main.cc:1056: error: ‘XK_KP_4’ was not declared in this scope
main.cc:1064: error: ‘XK_minus’ was not declared in this scope
main.cc:1064: error: ‘XK_KP_Subtract’ was not declared in this scope
main.cc:1067: error: ‘GetDisplay’ was not declared in this scope
main.cc:1067: error: ‘XKeysymToKeycode’ was not declared in this scope
main.cc:1068: error: ‘AnyModifier’ was not declared in this scope
main.cc:1068: error: ‘_id’ was not declared in this scope
main.cc:1068: error: ‘True’ was not declared in this scope
main.cc:1069: error: ‘GrabModeAsync’ was not declared in this scope
main.cc:1069: error: ‘XGrabKey’ was not declared in this scope
main.cc: At global scope:
main.cc:1073: error: ‘int OXMain::HandleKey’ is not a static member of ‘class OXMain’
main.cc:1073: error: ‘XKeyEvent’ was not declared in this scope
main.cc:1073: error: ‘event’ was not declared in this scope
main.cc:1073: error: expected ‘,’ or ‘;’ before ‘{’ token
main.cc:1210: error: ‘int OXMain::HandleButton’ is not a static member of ‘class OXMain’
main.cc:1210: error: ‘XButtonEvent’ was not declared in this scope
main.cc:1210: error: ‘event’ was not declared in this scope
main.cc:1210: error: expected ‘,’ or ‘;’ before ‘{’ token
main.cc: In member function ‘void OXMain::StartScan()’:
main.cc:1306: error: ‘False’ was not declared in this scope
main.cc:1312: error: ‘True’ was not declared in this scope
main.cc: In member function ‘void OXMain::StopScan()’:
main.cc:1324: error: ‘False’ was not declared in this scope
main.cc:1330: error: ‘True’ was not declared in this scope
make: *** [main.o] Error 1
username@Ubuntu610:~/Desktop/rx320-0.6.1$
Anyone have any idea what is wrong?
 
Old 03-04-2007, 08:18 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
most likely an INSTALL and/or README file came with whatever you downloaded. make sure to read them and that your system and what you are doing is correct.

did you run './configure' before 'make'?
 
Old 03-05-2007, 07:19 AM   #3
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
no, I did not run ./configure... the install file didn't say to do so. I guess I need to do that first?
 
Old 03-05-2007, 09:19 AM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
it looks like you did do it properly, then. so there must be something not installed.

can you try and install the xclass package from here and run the initial make again?
http://sourceforge.net/project/downl...irror=internap

Last edited by nadroj; 03-05-2007 at 09:21 AM.
 
Old 03-05-2007, 09:52 AM   #5
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
is the gui toolkit different than the packages available in Synaptic? (xclass-common, libxclass0c2a, & libxclass0-dev (versions 0.9.1))
 
Old 03-05-2007, 09:59 AM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
i really dont know. my only suggestion is to install the package specifically linked to from the RX320 site.
 
Old 03-05-2007, 05:01 PM   #7
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
I tried make again and hit ctrl+c so I could get the initial errors...

Code:
username@Ubuntu:~/Desktop/rx320-0.6.1$ make
c++ `xc-config --cflags` -g -c main.cc
main.cc:30:24: error: X11/keysym.h: No such file or directory
In file included from main.cc:34:
/usr/include/xclass/OXClient.h:25:22: error: X11/Xlib.h: No such file or directory
In file included from /usr/include/xclass/OXClient.h:29,
                 from main.cc:34:
/usr/include/xclass/OXSList.h:27:23: error: X11/Xutil.h: No such file or directory
/usr/include/xclass/OXSList.h:28:27: error: X11/Xresource.h: No such file or directory
In file included from /usr/include/xclass/OXCompositeFrame.h:25,
                 from /usr/include/xclass/OXMainFrame.h:25,
                 from /usr/include/xclass/OXTransientFrame.h:25,
                 from main.cc:35:
/usr/include/xclass/OXFrame.h:25:24: error: X11/Xproto.h: No such file or directory
In file included from /usr/include/xclass/OXPictureButton.h:28,
                 from main.cc:37:
/usr/include/xclass/OPicture.h:29:21: error: X11/xpm.h: No such file or directory
In file included from main.cc:45:
/usr/include/xclass/OResourcePool.h:25:19: error: X11/X.h: No such file or directory
In file included from /usr/include/xclass/OXItemView.h:29,
                 from /usr/include/xclass/OXListView.h:32,
                 from OXFreqDB.h:31,
                 from main.cc:49:
/usr/include/xclass/OXView.h:27:23: error: X11/Xatom.h: No such file or directory
/usr/include/xclass/OXSList.h:42: error: ‘XPointer’ does not name a type
/usr/include/xclass/OXSList.h:50: error: expected `)' before ‘data’
/usr/include/xclass/OXSList.h:53: error: ‘XPointer’ has not been declared
/usr/include/xclass/OXSList.h:54: error: ‘Bool’ does not name a type
/usr/include/xclass/OXSList.h:56: error: ‘Bool’ does not name a type
/usr/include/xclass/OXSList.h:57: error: ‘Bool’ does not name a type

Last edited by m_a_b; 03-05-2007 at 05:02 PM.
 
Old 03-05-2007, 05:14 PM   #8
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
do you have 'libx11-dev' installed?
 
Old 03-05-2007, 06:00 PM   #9
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
no I don't... do I need it?
 
Old 03-05-2007, 06:05 PM   #10
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
well, I went ahead and installed libx11-dev and tried to make the rx320 program again and my errors are GREATLY reduced, but still have errors:

Code:
username@Ubuntu:~/Desktop/rx320-0.6.1$ make
c++ `xc-config --cflags` -g -c main.cc
In file included from /usr/include/xclass/OXPictureButton.h:28,
                 from main.cc:37:
/usr/include/xclass/OPicture.h:29:21: error: X11/xpm.h: No such file or directory
/usr/include/xclass/OPicture.h:60: error: ‘XpmAttributes’ does not name a type
/usr/include/xclass/OPicture.h: In member function ‘int OPicture::GetWidth() const’:
/usr/include/xclass/OPicture.h:40: error: ‘_attributes’ was not declared in this scope
/usr/include/xclass/OPicture.h: In member function ‘int OPicture::GetHeight() const’:
/usr/include/xclass/OPicture.h:41: error: ‘_attributes’ was not declared in this scope
/usr/include/xclass/OPicture.h: At global scope:
/usr/include/xclass/OPicture.h:93: error: ‘XpmColorSymbol’ does not name a type
/usr/include/xclass/OResourcePool.h:133: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:134: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:136: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:137: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:138: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:139: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:141: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:142: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:144: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:145: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:147: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:148: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:215: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:216: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:217: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:218: error: ‘Pixel’ does not name a type
/usr/include/xclass/OResourcePool.h:219: error: ‘Pixel’ does not name a type
make: *** [main.o] Error 1
 
Old 03-05-2007, 06:17 PM   #11
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
I installed libxpm-dev and was able to make the program without errors. Thanks for the help...
 
Old 03-05-2007, 06:53 PM   #12
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
glad you got it to work.
 
Old 05-24-2007, 01:04 PM   #13
m_a_b
Member
 
Registered: Aug 2003
Distribution: Ubuntu 6.10 Edgy
Posts: 90

Original Poster
Rep: Reputation: 15
well, I upgraded to 7.04 Feisty Fawn today and it broke this application. Now, if I try to run it I get the following error:

Code:
username@Ubuntu:~/Desktop/rx320-0.6.1$ rx320
rx320: error while loading shared libraries: libxclass.so.0.9.1: cannot open shared object file: No such file or directory
So I thought I would try to re-install it and I am getting the same errors as before, but when I go into Synaptic to reinstall the packages above, they are showing as already installed. Any idea how I can either fix this or get make to work?

Code:
username@Ubuntu:~/Desktop/rx320-0.6.1$ sudo make
c++ `xc-config --cflags` -g -c main.cc
/bin/sh: xc-config: not found
main.cc:32:26: error: xclass/utils.h: No such file or directory
main.cc:33:28: error: xclass/version.h: No such file or directory
main.cc:34:29: error: xclass/OXClient.h: No such file or directory
main.cc:35:37: error: xclass/OXTransientFrame.h: No such file or directory
main.cc:36:33: error: xclass/OXTextButton.h: No such file or directory
main.cc:37:36: error: xclass/OXPictureButton.h: No such file or directory
main.cc:38:34: error: xclass/OXAboutDialog.h: No such file or directory
main.cc:39:27: error: xclass/OXMenu.h: No such file or directory
main.cc:40:27: error: xclass/OXIcon.h: No such file or directory
main.cc:41:29: error: xclass/OXMsgBox.h: No such file or directory
main.cc:42:29: error: xclass/OXSlider.h: No such file or directory
main.cc:43:28: error: xclass/OString.h: No such file or directory
main.cc:44:29: error: xclass/OIniFile.h: No such file or directory
main.cc:45:34: error: xclass/OResourcePool.h: No such file or directory
In file included from main.cc:47:
ORX320.h:27:31: error: xclass/OComponent.h: No such file or directory
ORX320.h:28:33: error: xclass/OFileHandler.h: No such file or directory
ORX320.h:29:27: error: xclass/OTimer.h: No such file or directory
ORX320.h:30:29: error: xclass/OMessage.h: No such file or directory
In file included from main.cc:48:
OFreqRecord.h:25:32: error: xclass/OBaseObject.h: No such file or directory
In file included from main.cc:49:
OXFreqDB.h:26:32: error: xclass/OXMainFrame.h: No such file or directory
OXFreqDB.h:27:30: error: xclass/OXToolBar.h: No such file or directory
OXFreqDB.h:28:32: error: xclass/OXStatusBar.h: No such file or directory
OXFreqDB.h:29:30: error: xclass/OX3dLines.h: No such file or directory
OXFreqDB.h:31:31: error: xclass/OXListView.h: No such file or directory
In file included from OXFreqDB.h:36,
                 from main.cc:49:
main.h:27:33: error: xclass/OXHelpWindow.h: No such file or directory
In file included from main.cc:50:
OXDisplayPanel.h:25:37: error: xclass/OXCompositeFrame.h: No such file or directory
OXDisplayPanel.h:26:32: error: xclass/OXTextEntry.h: No such file or directory
OXDisplayPanel.h:27:28: error: xclass/OXLabel.h: No such file or directory
In file included from OXDisplayPanel.h:31,
                 from main.cc:50:
OXSMeter.h:25:28: error: xclass/OXFrame.h: No such file or directory
OXSMeter.h:27:27: error: xclass/OXFont.h: No such file or directory
OXSMeter.h:28:24: error: xclass/OGC.h: No such file or directory
In file included from main.cc:51:
OXSlideRuler.h:27:31: error: xclass/ODimension.h: No such file or directory
In file included from main.cc:52:
OXTuningKnob.h:26:29: error: xclass/OXWidget.h: No such file or directory
OXTuningKnob.h:28:29: error: xclass/OPicture.h: No such file or directory
ORX320.h:62: error: expected class-name before ‘{’ token
ORX320.h:64: error: expected `)' before ‘*’ token
ORX320.h:67: error: ‘OFileHandler’ has not been declared
ORX320.h:68: error: ‘OTimer’ has not been declared
ORX320.h:117: error: ISO C++ forbids declaration of ‘OFileHandler’ with no type
ORX320.h:117: error: expected ‘;’ before ‘*’ token
ORX320.h:119: error: ISO C++ forbids declaration of ‘OTimer’ with no type
ORX320.h:119: error: expected ‘;’ before ‘*’ token
ORX320.h:109: error: ‘False’ was not declared in this scope
OFreqRecord.h:35: error: expected class-name before ‘{’ token
main.h:60: error: expected class-name before ‘{’ token
main.h:65: error: expected ‘,’ or ‘...’ before ‘*’ token
main.h:65: error: ISO C++ forbids declaration of ‘OXWindow’ with no type
main.h:68: error: ‘XButtonEvent’ has not been declared
main.h:69: error: ‘XKeyEvent’ has not been declared
main.h:70: error: ‘OMessage’ has not been declared
main.h:88: error: expected ‘,’ or ‘...’ before ‘*’ token
main.h:88: error: ISO C++ forbids declaration of ‘OXWindow’ with no type
main.h:110: error: ISO C++ forbids declaration of ‘OXPopupMenu’ with no type
main.h:110: error: expected ‘;’ before ‘*’ token
main.h:113: error: ISO C++ forbids declaration of ‘OXTextButton’ with no type
main.h:113: error: expected ‘;’ before ‘*’ token
main.h:114: error: ISO C++ forbids declaration of ‘OXPictureButton’ with no type
main.h:114: error: expected ‘;’ before ‘*’ token
main.h:115: error: ISO C++ forbids declaration of ‘OXTextButton’ with no type
main.h:115: error: expected ‘;’ before ‘*’ token
main.h:116: error: ISO C++ forbids declaration of ‘OXVSlider’ with no type
main.h:116: error: expected ‘;’ before ‘*’ token
main.h:129: error: ISO C++ forbids declaration of ‘OXHelpWindow’ with no type
main.h:129: error: expected ‘;’ before ‘*’ token
main.h:82: error: ‘True’ was not declared in this scope
main.h:83: error: ‘True’ was not declared in this scope
OXFreqDB.h:41: error: expected class-name before ‘{’ token
OXFreqDB.h:43: error: expected ‘,’ or ‘...’ before ‘*’ token
OXFreqDB.h:44: error: ISO C++ forbids declaration of ‘OXListView’ with no type
OXFreqDB.h:54: error: expected class-name before ‘{’ token
OXFreqDB.h:56: error: expected ‘,’ or ‘...’ before ‘*’ token
OXFreqDB.h:56: error: ISO C++ forbids declaration of ‘OXWindow’ with no type
OXFreqDB.h:59: error: ‘OMessage’ has not been declared
OXFreqDB.h:88: error: ISO C++ forbids declaration of ‘OXPopupMenu’ with no type
OXFreqDB.h:88: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:90: error: ISO C++ forbids declaration of ‘OXToolBar’ with no type
OXFreqDB.h:90: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:91: error: ISO C++ forbids declaration of ‘OXStatusBar’ with no type
OXFreqDB.h:91: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:92: error: ISO C++ forbids declaration of ‘OXHorizontal3dLine’ with no type
OXFreqDB.h:92: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:93: error: ISO C++ forbids declaration of ‘OXListView’ with no type
OXFreqDB.h:93: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:95: error: ISO C++ forbids declaration of ‘OLayoutHints’ with no type
OXFreqDB.h:95: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:97: error: ISO C++ forbids declaration of ‘OXMenuBar’ with no type
OXFreqDB.h:97: error: expected ‘;’ before ‘*’ token
OXFreqDB.h:98: error: ISO C++ forbids declaration of ‘OXPopupMenu’ with no type
OXFreqDB.h:98: error: expected ‘;’ before ‘*’ token
OXSMeter.h:35: error: expected class-name before ‘{’ token
OXSMeter.h:37: error: expected ‘,’ or ‘...’ before ‘*’ token
OXSMeter.h:37: error: ISO C++ forbids declaration of ‘OXWindow’ with no type
OXSMeter.h:40: error: ‘ODimension’ does not name a type
OXSMeter.h:56: error: ISO C++ forbids declaration of ‘OXGC’ with no type
OXSMeter.h:56: error: expected ‘;’ before ‘*’ token
OXSMeter.h:57: error: ISO C++ forbids declaration of ‘OXFont’ with no type
OXSMeter.h:57: error: expected ‘;’ before ‘*’ token
OXSMeter.h:59: error: ‘Pixmap’ does not name a type
OXDisplayPanel.h:38: error: expected class-name before ‘{’ token
OXDisplayPanel.h:40: error: expected ‘,’ or ‘...’ before ‘*’ token
OXDisplayPanel.h:40: error: ISO C++ forbids declaration of ‘OXWindow’ with no type
OXDisplayPanel.h:43: error: ‘OTimer’ has not been declared
OXDisplayPanel.h:59: error: ISO C++ forbids declaration of ‘OXHorizontalFrame’ with no type
OXDisplayPanel.h:59: error: expected ‘;’ before ‘*’ token
OXDisplayPanel.h:60: error: ISO C++ forbids declaration of ‘OXVerticalFrame’ with no type
OXDisplayPanel.h:60: error: expected ‘;’ before ‘*’ token
OXDisplayPanel.h:61: error: ISO C++ forbids declaration of ‘OXLabel’ with no type
OXDisplayPanel.h:61: error: expected ‘;’ before ‘*’ token
OXDisplayPanel.h:62: error: ISO C++ forbids declaration of ‘OXLabel’ with no type
OXDisplayPanel.h:62: error: expected ‘;’ before ‘*’ token
OXDisplayPanel.h:63: error: ISO C++ forbids declaration of ‘OXIcon’ with no type
 
  


Reply



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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Compiling error with make DaBlade Linux - Software 7 12-23-2004 08:23 AM
compiling make Darkfalz Feather 7 12-16-2004 09:56 AM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM
Compiling Errors when : [$ make] Maxwell Rain Linux - General 4 07-20-2004 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration