LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2004, 09:33 PM   #1
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Rep: Reputation: 31
Problems compiling gv


I'm trying toi install gv-3.5.8 (no root priveliges), but the make is failing:
...
utton.c:111: warning: excess elements in scalar initializer
Button.c:111: warning: (near initialization for `buttonClassRec')
Button.c:112: warning: excess elements in scalar initializer
Button.c:112: warning: (near initialization for `buttonClassRec')
Button.c:113: warning: excess elements in scalar initializer
Button.c:113: warning: (near initialization for `buttonClassRec')
Button.c:114: warning: excess elements in scalar initializer
Button.c:114: warning: (near initialization for `buttonClassRec')
Button.c:115: warning: excess elements in scalar initializer
Button.c:115: warning: (near initialization for `buttonClassRec')
Button.c:116: warning: excess elements in scalar initializer
Button.c:116: warning: (near initialization for `buttonClassRec')
Button.c:117: warning: excess elements in scalar initializer
Button.c:117: warning: (near initialization for `buttonClassRec')
Button.c:118: warning: excess elements in scalar initializer
Button.c:118: warning: (near initialization for `buttonClassRec')
Button.c:119: warning: excess elements in scalar initializer
Button.c:119: warning: (near initialization for `buttonClassRec')
Button.c:120: warning: excess elements in scalar initializer
Button.c:120: warning: (near initialization for `buttonClassRec')
Button.c:121: warning: excess elements in scalar initializer
Button.c:121: warning: (near initialization for `buttonClassRec')
Button.c:122: warning: excess elements in scalar initializer
Button.c:122: warning: (near initialization for `buttonClassRec')
Button.c:124: warning: excess elements in scalar initializer
Button.c:124: warning: (near initialization for `buttonClassRec')
Button.c:124: initializer element is not constant
Button.c:124: (near initialization for `buttonClassRec')
Button.c:125: warning: braces around scalar initializer
Button.c:125: warning: (near initialization for `buttonClassRec')
Button.c:127: `XtInheritChangeSensitive' undeclared here (not in a function)
Button.c:127: initializer element is not constant
Button.c:127: (near initialization for `buttonClassRec')
Button.c:127: warning: excess elements in scalar initializer
Button.c:127: warning: (near initialization for `buttonClassRec')
Button.c:128: warning: braces around scalar initializer
Button.c:128: warning: (near initialization for `buttonClassRec')
Button.c:129: `XtInheritXaw3dShadowDraw' undeclared here (not in a function)
Button.c:129: initializer element is not constant
Button.c:129: (near initialization for `buttonClassRec')
Button.c:130: warning: excess elements in scalar initializer
Button.c:130: warning: (near initialization for `buttonClassRec')
Button.c:131: warning: braces around scalar initializer
Button.c:131: warning: (near initialization for `buttonClassRec')
Button.c:133: warning: excess elements in scalar initializer
Button.c:133: warning: (near initialization for `buttonClassRec')
Button.c:134: warning: braces around scalar initializer
Button.c:134: warning: (near initialization for `buttonClassRec')
Button.c:136: warning: excess elements in scalar initializer
Button.c:136: warning: (near initialization for `buttonClassRec')
Button.c:137: warning: braces around scalar initializer
Button.c:137: warning: (near initialization for `buttonClassRec')
Button.c:139: warning: excess elements in scalar initializer
Button.c:139: warning: (near initialization for `buttonClassRec')
Button.c:140: warning: data definition has no type or storage class
Button.c: In function `Initialize':
Button.c:173: dereferencing pointer to incomplete type
Button.c: In function `Destroy':
Button.c:203: dereferencing pointer to incomplete type
Button.c:204: dereferencing pointer to incomplete type
Button.c: In function `GetHighlightedBackgroundGC':
Button.c:218: dereferencing pointer to incomplete type
Button.c:219: dereferencing pointer to incomplete type
Button.c:220: dereferencing pointer to incomplete type
Button.c: In function `GetSetBackgroundGC':
Button.c:234: dereferencing pointer to incomplete type
Button.c:235: dereferencing pointer to incomplete type
Button.c:236: dereferencing pointer to incomplete type
Button.c: In function `PaintButtonWidget':
Button.c:257: dereferencing pointer to incomplete type
Button.c:258: dereferencing pointer to incomplete type
Button.c:259: dereferencing pointer to incomplete type
Button.c:260: dereferencing pointer to incomplete type
Button.c:262: dereferencing pointer to incomplete type
Button.c:264: dereferencing pointer to incomplete type
Button.c:264: dereferencing pointer to incomplete type
Button.c:266: dereferencing pointer to incomplete type
Button.c:267: dereferencing pointer to incomplete type
Button.c:268: dereferencing pointer to incomplete type
Button.c:269: dereferencing pointer to incomplete type
Button.c:273: dereferencing pointer to incomplete type
Button.c:274: dereferencing pointer to incomplete type
Button.c:275: dereferencing pointer to incomplete type
Button.c:277: `CommandWidgetClass' undeclared (first use in this function)
Button.c:277: (Each undeclared identifier is reported only once
Button.c:277: for each function it appears in.)
Button.c:277: `commandClassRec' undeclared (first use in this function)
Button.c:278: dereferencing pointer to incomplete type
Button.c:279: dereferencing pointer to incomplete type
Button.c:280: dereferencing pointer to incomplete type
Button.c:281: dereferencing pointer to incomplete type
Button.c:283: dereferencing pointer to incomplete type
Button.c:284: dereferencing pointer to incomplete type
Button.c:285: dereferencing pointer to incomplete type
Button.c:286: dereferencing pointer to incomplete type
Button.c:286: dereferencing pointer to incomplete type
Button.c:287: dereferencing pointer to incomplete type
Button.c:287: dereferencing pointer to incomplete type
Button.c:288: dereferencing pointer to incomplete type
Button.c:293: dereferencing pointer to incomplete type
Button.c:293: dereferencing pointer to incomplete type
Button.c: In function `ButtonHighlight':
Button.c:319: dereferencing pointer to incomplete type
Button.c:320: dereferencing pointer to incomplete type
Button.c:321: dereferencing pointer to incomplete type
Button.c:323: dereferencing pointer to incomplete type
Button.c: In function `ButtonSet':
Button.c:337: dereferencing pointer to incomplete type
Button.c:338: dereferencing pointer to incomplete type
Button.c: In function `ButtonUnset':
Button.c:354: dereferencing pointer to incomplete type
Button.c: In function `ButtonReset':
Button.c:369: dereferencing pointer to incomplete type
make[1]: *** [Button.o] Error 1
make[1]: Leaving directory `/home/vinayak/.inst/gv-3.5.8/source'
make: *** [all] Error 2

Any idea how to fix it?

Thanks
 
Old 11-11-2004, 02:20 AM   #2
daihard
Member
 
Registered: Jul 2003
Location: Seattle, WA
Distribution: Kubuntu 12.04
Posts: 913

Rep: Reputation: 32
I would make sure the Xaw3d widet set is installed on your Linux distribution. I just downloaded and compiled gv-3.5.8 myself. Aside from a few errors in the header file which I fixed, the build completed smoothly.

Did you also follow the procedures outlined in INSTALL.Unix?
 
Old 10-17-2005, 07:42 AM   #3
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Actually, Iīve been trying to install gv 3.6.1 on my Scientific Linux and I donīt seem to quite get how to deal with these Xaw3d libraries. The things is, ./configure tell me the following:

checking for XawInitializeWidgetSet in -lXaw3d... no
configure: error: Unable to find a valid Xaw3d library. Please install it and rerun configure.

but, when I have a look in /usr/X11R6/lib, I find the following:
lrwxr-xr-x 1 root root 15 Oct 13 19:01 libXaw3d.so.6 -> libXaw3d.so.6.1
-rwxr-xr-x 1 root root 281028 Jun 3 2004 libXaw3d.so.6.1
lrwxr-xr-x 1 root root 15 Oct 13 19:01 libXaw3d.so.7 -> libXaw3d.so.7.0
-rw-r--r-- 1 root root 278340 Jun 3 2004 libXaw3d.so.7.0

It isnīt clear to me why configure doesnīt find them since /usr/X11R6/lib is after all a pretty normal location... Do I need something else than these libraries? And what the heck is Xaw3d? :-)

Thanks for your help, I really need to get gv installed soon.
 
  


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
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Compiling problems garf12 Linux - Software 4 03-06-2004 09:37 PM
problems compiling thejubster Linux - Software 2 07-29-2003 04:26 AM
compiling problems cameronknives Linux - General 31 02-10-2002 09:56 PM


All times are GMT -5. The time now is 12:46 AM.

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