Bug 43678 - Compilation error for OSMesa 7.10
Summary: Compilation error for OSMesa 7.10
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: 7.10
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 16:36 UTC by excolade
Modified: 2011-12-11 16:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description excolade 2011-12-09 16:36:00 UTC
Getting the following compilation (using gcc-4.4.5 20110214) errors while compiling OSMesa:

main/transformfeedback.c:43: error: expected identifier or ‘(’ before ‘/’ token
main/transformfeedback.c:43: error: stray ‘#’ in program
make[3]: *** [main/transformfeedback.o] Error 1
make[3]: Leaving directory `/data/kozaka/gerris-suite/Mesa-7.10/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/data/kozaka/gerris-suite/Mesa-7.10/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/data/kozaka/gerris-suite/Mesa-7.10'
make: *** [linux-osmesa32] Error 2


same error in src/mesa/state_tracker/st_context.h line:1
              src/glsl/glcpp/pp.c line:79  

I am no expert in C or C++ but I replaced the // with /* -- */ and the compilation was completed without any problems.
Comment 1 Brian Paul 2011-12-11 16:07:43 UTC
There aren't going to be any more 7.10.x releases.  This is fixed in 7.11 and later.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.