Re: [orca-list] atk compile errors?



Seems that the introspection stuff is using a wrong version of glib. Taking into account the problems you had, probably you have some old gobject introspection files installed.

So, my advice:
  * Clean your glib directory (git clean -fdx)
  * Clean your atk directory (git clean -fdx)
  * Update both (git pull)
  * Compile glib
  * Compile atk

In any case, as you are trying to compile atk from master, probably it would be good if you take a look to tools like Jhbuild:

https://live.gnome.org/Jhbuild

As it would be also compile all the required dependencies.

BR

Taking into account that you were using
On 03/19/2012 03:21 PM, Jakob Herrmann wrote:
Hello again,

shame on me! I was trying to re-compile glib-git which is outdated in
favor of glib2-git.
After the successful glib update I have still trouble to build atk
from git, however. This is the output of the build process before it
crashes

--------------------
/usr/bin/ld:
/home/jherrmann/builds/atk-git/src/atk-build/atk/tmp-introspectlRg4WH/Atk-1.0.o:
undefined reference to symbol 'g_module_symbol'
/usr/bin/ld: note: 'g_module_symbol' is defined in DSO
/usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line
/usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool',
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o',
'/home/jherrmann/builds/atk-git/src/atk-build/atk/tmp-introspectlRg4WH/Atk-1.0',
'-export-dynamic', '-march=x86-64', '-mtune=generic', '-O2', '-pipe',
'-fstack-protector', '--param=ssp-buffer-size=4',
'-D_FORTIFY_SOURCE=2', '-Wall', '-L.', 'libatk-1.0.la', '-pthread',
'-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0',
'/home/jherrmann/builds/atk-git/src/atk-build/atk/tmp-introspectlRg4WH/Atk-1.0.o']'
returned non-zero exit status 1
make[3]: *** [Atk-1.0.gir] error 1
make[3]: Leaving directory
`/home/jherrmann/builds/atk-git/src/atk-build/atk'
......

> _______________________________________________
> orca-list mailing list
> orca-list gnome org
> http://mail.gnome.org/mailman/listinfo/orca-list
> Visit http://live.gnome.org/Orca for more information on Orca.
> The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
> The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
> Log bugs and feature requests at http://bugzilla.gnome.org
> Find out how to help at http://live.gnome.org/Orca/HowCanIHelp
>


--
Alejandro Piñeiro Iglesias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]