LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-24-2003, 03:25 PM   #1
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Rep: Reputation: 15
Question why wont it compile?


after installing a slack 9.0 on my rig, i tried compiling winex. before that (8.1) it compiled great, any version i tried. now with any version i try it spits out this error:

Code:
make[2]: Entering directory `/tmp/winex_06032003/dlls/d3dgl'
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall -mpreferred-stack-boundary=2 -fno-keep-static-consts -D__int8=char -D__int16=short -D__int32=int "-D__int64=long long" -fPIC -D__WINE__  -D_REENTRANT -I/usr/X11R6/include -o caps.o caps.c
In file included from d3dgl_private.h:5,
                 from caps.c:20:
../../include/wine_gl.h:82: redefinition of `PFNGLACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2743: `PFNGLACTIVETEXTUREARBPROC' previously declared here
../../include/wine_gl.h:83: redefinition of `PFNGLCLIENTACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2744: `PFNGLCLIENTACTIVETEXTUREARBPROC' previously declared here
../../include/wine_gl.h:84: redefinition of `PFNGLMULTITEXCOORD2FARBPROC'
/usr/X11R6/include/GL/glext.h:2755: `PFNGLMULTITEXCOORD2FARBPROC' previously declared here
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/tmp/winex_06032003/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving directory `/tmp/winex_06032003/dlls'
make: *** [dlls] Error 2
anyone venture to guess what that is?
 
Old 03-24-2003, 04:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, gcc 3.2 is much less forgiving than
2.95.3 ... the latter just issued a warning
if you redefine a variable, the first will
(following ANSI) break with an error.

You might want to check whether you
can switch this feature off and put that
into your Makefile.

Cheers,
Tink
 
Old 03-25-2003, 01:58 PM   #3
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Tinkster
Well, gcc 3.2 is much less forgiving than
2.95.3 ... the latter just issued a warning
if you redefine a variable, the first will
(following ANSI) break with an error.

You might want to check whether you
can switch this feature off and put that
into your Makefile.

Cheers,
Tink
and uhhh, i dont suppose anyone knows how to switch that off?
 
Old 03-25-2003, 02:05 PM   #4
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
double post

Last edited by saturn_vk; 03-25-2003 at 02:08 PM.
 
Old 03-25-2003, 02:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Tried
Code:
man gcc
yet?

Cheers,
Tink
 
Old 03-25-2003, 03:01 PM   #6
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
yeah, the closest i got (it's a pretty big man page) was -fpermissive, but alas, it didnt work.

someone must have compiled this thing.
 
Old 03-25-2003, 11:17 PM   #7
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
./configure --help
see if there is --disable-werror or similar


Last edited by doublefailure; 03-25-2003 at 11:19 PM.
 
Old 03-26-2003, 01:58 PM   #8
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
no, there isnt
 
Old 03-26-2003, 03:40 PM   #9
arnold
Member
 
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
this has worked for me most of the time:

vi include/wine_gl.h

#ifdef TRY_HACK_NOTE
82
83
84
#endif
 
Old 03-28-2003, 03:29 PM   #10
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by arnold
this has worked for me most of the time:

vi include/wine_gl.h

#ifdef TRY_HACK_NOTE
82
83
84
#endif

nope, that did not work either
 
Old 03-30-2003, 02:52 AM   #11
wayney
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
install the MESA component, it should work then
 
Old 03-30-2003, 07:11 AM   #12
saturn_vk
Member
 
Registered: Feb 2003
Location: Sofia
Distribution: slackware
Posts: 104

Original Poster
Rep: Reputation: 15
mesa will seriously conflict with the nvidia driver, since it uses it's own glx library, doesnt it?
 
  


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
Simple program wont compile BACTRATE Linux - Software 14 07-24-2008 12:57 PM
MythTV wont compile murffatksig Linux - Software 1 09-05-2004 05:08 AM
libvorbis wont compile dopefish Linux - Software 3 08-17-2004 04:46 AM
Pureftp wont compile chongo2002 Linux - Software 0 01-28-2004 06:53 AM
QT, urm. It wont compile anything. f0d Programming 1 04-24-2002 04:25 PM

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

All times are GMT -5. The time now is 11:28 PM.

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