public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* build error on 1.16.2-1
@ 2014-12-01 19:09 J. Offerman
  2014-12-01 23:37 ` J. Offerman
  0 siblings, 1 reply; 4+ messages in thread
From: J. Offerman @ 2014-12-01 19:09 UTC (permalink / raw)
  To: cygwin-xfree

Can somebody help me overcome this error? What am I missing this time?
Last time I tried to build X was 2 months ago and it was 1.16.1-1,
which was built just fine. Thanks for your help.

====================================================
make[5]: Entering directory
'/usr/src/xorg-server-1.16.2-1.src/xorg-server-1.16.2-1.x86_64/src/xserver-cygwin-1.16.2-1/hw/xwin/glx'
  CC       libnativeGLthunk_la-glthunk.lo
In file included from glthunk.c:87:0:
generated_gl_thunks.c: In function 'glVertex2bOESWrapper':
generated_gl_thunks.c:7098:3: error: too few arguments to function 'proc'
   RESOLVED_PROC(PFNGLVERTEX2BOESPROC)( x_ );
   ^
generated_gl_thunks.c: In function 'glVertex3bOESWrapper':
generated_gl_thunks.c:7110:3: error: too few arguments to function 'proc'
   RESOLVED_PROC(PFNGLVERTEX3BOESPROC)( x_, y_ );
   ^
generated_gl_thunks.c: In function 'glVertex4bOESWrapper':
generated_gl_thunks.c:7122:3: error: too few arguments to function 'proc'
   RESOLVED_PROC(PFNGLVERTEX4BOESPROC)( x_, y_, z_ );
   ^
Makefile:712: recipe for target 'libnativeGLthunk_la-glthunk.lo' failed

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error on 1.16.2-1
  2014-12-01 19:09 build error on 1.16.2-1 J. Offerman
@ 2014-12-01 23:37 ` J. Offerman
  2014-12-05 14:19   ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: J. Offerman @ 2014-12-01 23:37 UTC (permalink / raw)
  To: cygwin-xfree

This is an obvious source-header discrepancy. The source
file(auto-generated anyway) doesn't seem to be changed recently, while
the header file(glext.h) has a timestamp of Nov 16 now. So it looks
like only the header file got advanced here. Looking at the
announcements, it should be the Mesa update on Nov 17 that renewed it.
Should I just add the extra arguments for those 3 funcs in the source
file as defined in the new header file? That looks like working.

On Mon, Dec 1, 2014 at 11:09 AM, J. Offerman <jofferman@gmail.com> wrote:
> Can somebody help me overcome this error? What am I missing this time?
> Last time I tried to build X was 2 months ago and it was 1.16.1-1,
> which was built just fine. Thanks for your help.
>
> ====================================================
> make[5]: Entering directory
> '/usr/src/xorg-server-1.16.2-1.src/xorg-server-1.16.2-1.x86_64/src/xserver-cygwin-1.16.2-1/hw/xwin/glx'
>   CC       libnativeGLthunk_la-glthunk.lo
> In file included from glthunk.c:87:0:
> generated_gl_thunks.c: In function 'glVertex2bOESWrapper':
> generated_gl_thunks.c:7098:3: error: too few arguments to function 'proc'
>    RESOLVED_PROC(PFNGLVERTEX2BOESPROC)( x_ );
>    ^
> generated_gl_thunks.c: In function 'glVertex3bOESWrapper':
> generated_gl_thunks.c:7110:3: error: too few arguments to function 'proc'
>    RESOLVED_PROC(PFNGLVERTEX3BOESPROC)( x_, y_ );
>    ^
> generated_gl_thunks.c: In function 'glVertex4bOESWrapper':
> generated_gl_thunks.c:7122:3: error: too few arguments to function 'proc'
>    RESOLVED_PROC(PFNGLVERTEX4BOESPROC)( x_, y_, z_ );
>    ^
> Makefile:712: recipe for target 'libnativeGLthunk_la-glthunk.lo' failed

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error on 1.16.2-1
  2014-12-01 23:37 ` J. Offerman
@ 2014-12-05 14:19   ` Jon TURNEY
  2015-01-31 14:22     ` Jon TURNEY
  0 siblings, 1 reply; 4+ messages in thread
From: Jon TURNEY @ 2014-12-05 14:19 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: jofferman

On 01/12/2014 23:37, J. Offerman wrote:
> This is an obvious source-header discrepancy. The source
> file(auto-generated anyway) doesn't seem to be changed recently, while
> the header file(glext.h) has a timestamp of Nov 16 now. So it looks
> like only the header file got advanced here. Looking at the
> announcements, it should be the Mesa update on Nov 17 that renewed it.
> Should I just add the extra arguments for those 3 funcs in the source
> file as defined in the new header file? That looks like working.

Thanks for drawing this to my attention.

Yes, it seems that the the glext.h header file (which comes from Khronos 
via the w32api-headers package) now has the fix (svn r27313) to add the 
extra argument to the prototype, but the XML used for the generated code 
(which comes from Khronos via the khronos-opengl-registry package) is 
only on svn r27116.

I'm afraid you'll have to fix this manually until I generate a new 
khronos-opengl-registry package

Since keeping these things in sync is kind of a pain, and limits it to 
handling GL functions which are known about at build time, I'd like to 
replace this compile-time thunk generation with something which does it 
dynamically at run-time, but I haven't found the time to do that...

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: build error on 1.16.2-1
  2014-12-05 14:19   ` Jon TURNEY
@ 2015-01-31 14:22     ` Jon TURNEY
  0 siblings, 0 replies; 4+ messages in thread
From: Jon TURNEY @ 2015-01-31 14:22 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: jofferman

On 05/12/2014 14:19, Jon TURNEY wrote:
> On 01/12/2014 23:37, J. Offerman wrote:
>> This is an obvious source-header discrepancy. The source
>> file(auto-generated anyway) doesn't seem to be changed recently, while
>> the header file(glext.h) has a timestamp of Nov 16 now. So it looks
>> like only the header file got advanced here. Looking at the
>> announcements, it should be the Mesa update on Nov 17 that renewed it.
>> Should I just add the extra arguments for those 3 funcs in the source
>> file as defined in the new header file? That looks like working.
>
> Thanks for drawing this to my attention.
>
> Yes, it seems that the the glext.h header file (which comes from Khronos
> via the w32api-headers package) now has the fix (svn r27313) to add the
> extra argument to the prototype, but the XML used for the generated code
> (which comes from Khronos via the khronos-opengl-registry package) is
> only on svn r27116.
>
> I'm afraid you'll have to fix this manually until I generate a new
> khronos-opengl-registry package

This build issue should be resolved with khronos-opengl-registry 
20141230_svn27684-1 and xorg-server 1.16.3-1

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-31 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-01 19:09 build error on 1.16.2-1 J. Offerman
2014-12-01 23:37 ` J. Offerman
2014-12-05 14:19   ` Jon TURNEY
2015-01-31 14:22     ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).