# Glfw-2.6.tar.gz bugged on x11 \[with fix\]

**URL:** <https://discourse.glfw.org/t/glfw-2-6-tar-gz-bugged-on-x11-with-fix/441>\
**Category:** support\
**Created:** [October 20, 2007, 2:36pm UTC](https://discourse.glfw.org/t/glfw-2-6-tar-gz-bugged-on-x11-with-fix/441 "2007-10-20T14:36:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [October 20, 2007, 2:36pm UTC](https://discourse.glfw.org/t/glfw-2-6-tar-gz-bugged-on-x11-with-fix/441/1 "2007-10-20T14:36:26Z")

</div>

**nobody** wrote on [Saturday, October 20, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/226616b1/#e688):

I just downloaded glfw-2.6.tar.gz and compiled on x11 (Ubuntu 7.04).  
I had the following error

gcc -c -I. -I… -Dlinux -I/usr/X11R6/include -D\_GLFW\_HAS\_XF86VIDMODE -pthread -D\_GLFW\_HAS\_PTHREAD -D\_GLFW\_HAS\_SCHED\_YIELD -D\_GLFW\_HAS\_GLXGETPROCADDRESS -D\_GLFW\_HAS\_GLXGETPROCADDRESSARB -D\_GLFW\_HAS\_DLOPEN -D\_GLFW\_HAS\_SYSCONF -Os -Wall -o x11\_fullscreen.o x11\_fullscreen.c  
x11\_fullscreen.c: In function ‘\_glfwGetClosestVideoMode’:  
x11\_fullscreen.c:169: error: ‘h’ undeclared (first use in this function)  
x11\_fullscreen.c:169: error: (Each undeclared identifier is reported only once  
x11\_fullscreen.c:169: error: for each function it appears in.)

I had to edit x11\_fullscreen.c, line 169 and replace h with height.  
Hope this helps and keep up the good work.

Fabrizio Villa "fbv"

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [October 20, 2007, 7:12pm UTC](https://discourse.glfw.org/t/glfw-2-6-tar-gz-bugged-on-x11-with-fix/441/2 "2007-10-20T19:12:24Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Saturday, October 20, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/226616b1/#e688/a0b7):

Yup, my mistake. Insufficient testing. It’s already fixed and included in 2.6.1 (which will hopefully be out soon), but thank you for reporting it 🙂
