.. cannot find the library `/usr//lib/libglib-2.0.la' ..
Does that mean, you have /usr/lib/ in your path ? ?
Must probably be excluded by starting every terminal session for
cross compiling with :
'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/imx21_ida24/ \
ltib-imx21ads-20070609/rootfs/lib/', etc. etc.
Then the system path :/lib:/usr/lib:/usr/local/lib etc. is not used.
If you are just missing a 'libglib-2.0.la' text file, an example
file is attached. Please rename to libglib-2.0.la, edit file names,
.... and the path in line 41 .