Re: (no subject)

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

 



On Tue, 30 Mar 2004 17:36:49 +0800, Leslie Tan <tango1980@xxxxxxx>  said:
> Hello guys,
> 
> I been trying to get GTK+ onto my system running AIX 5. However I could not 
> install glib successfully. Below is my error log.

> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" 
> -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COM
> PILATION -I/Home3/mems/mems0206/usr/local/include -mthreads -g -O2 -Wall -c 
> gatomic.c -Wp,-MD,.deps/gatomic.TPlo  -DPIC
> -o .libs/gatomic.o
> Assembler:
> /tmp/cclRMq9h.s: line 268: Error In Syntax
> /tmp/cclRMq9h.s: line 268: Instruction lwarx is not implemented in the 
> current assembly mode COM.

Your gcc is installed wrong, and isn't agreeing with the assembler you have
on your system.  If it was configured to use the 'gas' assembler or the binutils
assembler rather than the system assembler, you need to make sure that's the one
that gets invoked.

You may wish to go look at the Bull site where there's a lot of pre-build
"installp" packages that can be installed via SMIT (although given the presence
of "/home3/mems', that may not be an option). http://www.bullfreeware.com/
(Although it looks like they don't have gtk2 there yet).

> exec(): 0509-036 Cannot load program 
> /Home3/mems/mems0206/gtk+-2.2.4/gtk/.libs/lt-gtk-query-immodules-2.0 because 
> of the
> following errors:
>         0509-022 Cannot load module /usr/lib/libX11.a(shr4.o).
>         0509-150   Dependent module 
> /Home3/mems/mems0206/usr/local/lib/libiconv.a(shr4.o) could not be loaded.
>         0509-152   Member shr4.o is not found in archive

This is libtool brain-damage.  The basic problem is that when it linked the gtk shared
libraries, it failed to pass in all the -L parameters needed.  Basically, you need to go back
and re-build each library with the correct -L list (if you don't list it when you
build the library, it won't resolve it at runtime).

*WARNING* - hackish solution follows.

For each library, edit the 'libtool' script, find the line that has a '-berok' and remove it,
and then add the "-Lwhat -Lever -Lneeded" flags to get a clean link.  I can't remember
if there's more than one -berok in the 'libtool' script.

Attachment: pgp00076.pgp
Description: PGP signature


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux