[Mesa-dev] [Bug 43678] New: Compilation error for OSMesa 7.10

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 9 16:36:00 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43678

             Bug #: 43678
           Summary: Compilation error for OSMesa 7.10
    Classification: Unclassified
           Product: Mesa
           Version: 7.10
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: excolade at gmail.com


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list