Tried to compile the lastest wine and gcc choked up on it as follows: gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o baseshader.o baseshader.c baseshader.c: In function `print_glsl_info_log': baseshader.c:688: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared (first use in this function) baseshader.c:688: error: (Each undeclared identifier is reported only once baseshader.c:688: error: for each function it appears in.) make[2]: *** [baseshader.o] Error 1 make[2]: Leaving directory `/usr/local/src/wine-0.9.14/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/usr/local/src/wine-0.9.14/dlls' make: *** [dlls] Error 2 Any ideas? Small patch? Thanks If you wrestle in the mud with a pig. you both get dirty, and the pig likes it. -- Dave Dawson
David Dawson <gobble_em_up@hotmail.com> wrote:> Any ideas? Small patch?Well, I have no problems, so it possible is something with your system. What distribution are you using? What gcc version? What OpenGL packages (in which version) do you have installed? Daniel
Were you able to compile 0.9.13 just fine? ----- Original Message ---- From: David Dawson <gobble_em_up@hotmail.com> To: wine-users@winehq.org Sent: Thursday, May 25, 2006 1:01:04 PM Subject: [Wine] Wine 0.9.14.compile error (fatal) Tried to compile the lastest wine and gcc choked up on it as follows: gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o baseshader.o baseshader.c baseshader.c: In function `print_glsl_info_log': baseshader.c:688: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared (first use in this function) baseshader.c:688: error: (Each undeclared identifier is reported only once baseshader.c:688: error: for each function it appears in.) make[2]: *** [baseshader.o] Error 1 make[2]: Leaving directory `/usr/local/src/wine-0.9.14/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/usr/local/src/wine-0.9.14/dlls' make: *** [dlls] Error 2 Any ideas? Small patch? Thanks If you wrestle in the mud with a pig. you both get dirty, and the pig likes it. -- Dave Dawson _______________________________________________ wine-users mailing list wine-users@winehq.org http://www.winehq.org/mailman/listinfo/wine-users
Hiji wrote:> Were you able to compile 0.9.13 just fine?I had no problem with 0.9.13. it is installed now; (I uninstalled it to do the 0.9.14 build/install however.), then reinstalled it for now. I don't know how the parameter in the macro call in baseshader.c should be declared. I assume that would be sufficient.> > > ----- Original Message ---- > From: David Dawson <gobble_em_up@hotmail.com> > To: wine-users@winehq.org > Sent: Thursday, May 25, 2006 1:01:04 PM > Subject: [Wine] Wine 0.9.14.compile error (fatal) > > Tried to compile the lastest wine and gcc choked up on it as follows: > > gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include > -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing > -gstabs+ -Wpointer-arith > -g -O2 -o baseshader.o baseshader.c > baseshader.c: In function `print_glsl_info_log': > baseshader.c:688: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared (first > use in this function) > baseshader.c:688: error: (Each undeclared identifier is reported only once > baseshader.c:688: error: for each function it appears in.) > make[2]: *** [baseshader.o] Error 1 > make[2]: Leaving directory `/usr/local/src/wine-0.9.14/dlls/wined3d' > make[1]: *** [wined3d] Error 2 > make[1]: Leaving directory `/usr/local/src/wine-0.9.14/dlls' > make: *** [dlls] Error 2 > > > Any ideas? Small patch? > Thanks > If you wrestle in the mud with a pig. > you both get dirty, and the pig likes it. > > -- Dave Dawson > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users-- If you wrestle in the mud with a pig. you both get dirty, and the pig likes it. -- Dave Dawson
David Dawson wrote:> Tried to compile the lastest wine and gcc choked up on it as follows: > > gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include > -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ > -Wpointer-arith > -g -O2 -o baseshader.o baseshader.c > baseshader.c: In function `print_glsl_info_log': > baseshader.c:688: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared (first > use in this function) > baseshader.c:688: error: (Each undeclared identifier is reported only once > baseshader.c:688: error: for each function it appears in.) > make[2]: *** [baseshader.o] Error 1 > make[2]: Leaving directory `/usr/local/src/wine-0.9.14/dlls/wined3d' > make[1]: *** [wined3d] Error 2 > make[1]: Leaving directory `/usr/local/src/wine-0.9.14/dlls' > make: *** [dlls] Error 2 >I had this one too; well if it's possible you could get cvs of today, the problem seems to be fixed (though I don't know what changed at the moment) HTH, Joris
Joris Huizer wrote:> David Dawson wrote: >> Tried to compile the lastest wine and gcc choked up on it as follows: >> >> gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include >> -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing >> -gstabs+ -Wpointer-arith >> -g -O2 -o baseshader.o baseshader.c >> baseshader.c: In function `print_glsl_info_log': >> baseshader.c:688: error: `GL_OBJECT_INFO_LOG_LENGTH_ARB' undeclared >> (first use in this function) >> baseshader.c:688: error: (Each undeclared identifier is reported only >> once baseshader.c:688: error: for each function it appears in.) >> make[2]: *** [baseshader.o] Error 1 >> make[2]: Leaving directory `/usr/local/src/wine-0.9.14/dlls/wined3d' >> make[1]: *** [wined3d] Error 2 >> make[1]: Leaving directory `/usr/local/src/wine-0.9.14/dlls' >> make: *** [dlls] Error 2 >> > > I had this one too; well if it's possible you could get cvs of today, > the problem seems to be fixed (though I don't know what changed at the > moment) > > HTH, > > JorisThanks all, but the solution was the patch that Plamen Vassilev pointed me to. It compiled upon applying the patch. It _seems_ to be ok now. Do you have any comments on this? Thanks -- If you wrestle in the mud with a pig. you both get dirty, and the pig likes it. -- Dave Dawson
Apparently Analagous Threads
- Patch for baseheader compilation problems
- IE install with Wine 0.9.12 under Debian Sarge
- PrintMaster 7.0 *nearly*, *very* nearly printing properly
- Created rpm from wine 0.9.14 does not install - conflict with desktop-file-utils-0.10-9
- Compiling old wine versions in opensuse 11.1