ssanthosh243 / semicomplete

Automatically exported from code.google.com/p/semicomplete
0 stars 0 forks source link

Undefined symbols: _XGetGeometry #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As you know, xdotool 1.20100416.2809 built fine on Mac OS X, but 
2.20100524.2886 has this 
error:

/usr/bin/gcc-4.2 -o xdotool xdotool.o cmd_click.o cmd_mousemove.o 
cmd_mousemove_relative.o 
cmd_mousedown.o cmd_mouseup.o cmd_getmouselocation.o cmd_type.o cmd_key.o 
cmd_windowmove.o cmd_windowactivate.o cmd_windowfocus.o cmd_windowraise.o 
cmd_windowsize.o cmd_set_window.o cmd_search.o cmd_getwindowfocus.o 
cmd_getwindowpid.o 
cmd_getactivewindow.o cmd_windowmap.o cmd_windowunmap.o cmd_set_num_desktops.o 
cmd_get_num_desktops.o cmd_set_desktop.o cmd_get_desktop.o 
cmd_set_desktop_for_window.o 
cmd_get_desktop_for_window.o -L. -lxdo -L/opt/local/lib  -lm
Undefined symbols:
  "_XGetGeometry", referenced from:
      _cmd_mousemove in cmd_mousemove.o
ld: symbol(s) not found

I had to add -lX11 to the LDFLAGS to get it to build.

Original issue reported on code.google.com by ryandesi...@gmail.com on 25 May 2010 at 12:38

GoogleCodeExporter commented 9 years ago
Ahh. I'll move the XGetGeometry call into libxdo instead of cmd_mousemove 
(xdotool) 
and put up a fixed release shortly.

Thanks for the detailed report :)

Original comment by jls.semi...@gmail.com on 25 May 2010 at 12:40

GoogleCodeExporter commented 9 years ago

Original comment by jls.semi...@gmail.com on 25 May 2010 at 12:40

GoogleCodeExporter commented 9 years ago
http://semicomplete.googlecode.com/files/xdotool-2.20100524.2888.tar.gz

This should fix your problems :)

Original comment by jls.semi...@gmail.com on 25 May 2010 at 5:24

GoogleCodeExporter commented 9 years ago
This should be fixed now. Feel free to reopen if this isn't the case :)

Original comment by jls.semi...@gmail.com on 25 May 2010 at 5:36