#19448: mesa 7.4 wont build -- gl problem ----------------------------------+----------------------------------------- Reporter: frstan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: mesa GL | Port: mesa ----------------------------------+----------------------------------------- Comment(by frstan@…): Replying to [comment:2 jeremyhu@…]:
glcontextmodes.c:132: error: syntax error before '*' token glcontextmodes.c:133: warning: no previous prototype for '_gl_copy_visual_to_context_mode' glcontextmodes.c: In function '_gl_copy_visual_to_context_mode': glcontextmodes.c:134: error: 'mode' undeclared (first use in this function) glcontextmodes.c:134: error: (Each undeclared identifier is reported only once glcontextmodes.c:134: error: for each function it appears in.) glcontextmodes.c:139: error: 'config' undeclared (first use in this function) make[2]: *** [glcontextmodes.o] Error 1 make[1]: *** [subdirs] Error 1 make: *** [default] Error 1
What is your cpp doing for those lines? Can you please provide the cpp output (change -c to -E in the gcc command and attach the output)
Jeremy, all I see is make and makedepend commands.... I dont see gcc ever being invoked -- Ticket URL: <http://trac.macports.org/ticket/19448#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS