On Fri, Oct 24, 2008 at 02:37:16AM -0300, Rodrigo Bistolfi wrote:
| Hi awesomers, I am getting a persistent error building awesome-3.
| Awesome builds ok if I comment out the section around the 635 line, but
| I wold like to avoid that. I paste the code here so you dont have to
| cat ;-). I also paste the cmake log. I am building against xcb-utils
| from git.
| 
| Cheers, rbistolfi
| 
| root:# sh awesome.SlackBuild 
[...]
| [ 16%] Building C object CMakeFiles/awesome.dir/event.c.o
| /home/rbistolfi/tmp/awesome-10242008/event.c: In function
| 'event_handle_randr_screen_change_notify': 
/home/rbistolfi/tmp/awesome-10242008/event.c:632:
| warning: implicit declaration of function
| 'xcb_randr_set_screen_size' [ 18%] Building C object

None of the included header files declare that the function
xcb_randr_set_screen_size exists.  I like to instruct the compiler to
consider this an error instead of a warning.  It usually means
something is wrong and will fail later if it is ignored now.

[...]
| executable awesome CMakeFiles/awesome.dir/event.c.o: In function
| `event_handle_randr_screen_change_notify': 
/home/rbistolfi/tmp/awesome-10242008/event.c:635:
| undefined reference to `xcb_randr_set_screen_size' collect2: ld
| returned 1 exit status make[2]: *** [awesome] Error 1 make[1]: ***

Even though the compiler ignores the missing declaration (it decides
it is "implicit"), the function in fact does not exist in any of the
object files.

If I were you, I would check the source of xcb-utils and see where
that function is defined.  See if, perhaps, that function was removed
or renamed recently, particularly since you are using the latest
development version (from the git repo).

HTH,
-Derrick

PS. I don't know anything about xcb-utils or xlib, but knowing C
development and these error messages, that is how I would proceed.

-- 
If your life is a hard drive,
Christ can be your backup.
 
www: http://dman13.dyndns.org/                  jabber: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to