compilation error
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
compilation error | info sylvax.net | 12 Jun 10:42 |
compilation error | Tom Williams | 12 Jun 15:41 |
compilation error
hello,
I am trying to compile gimp 1.2.4 and I got that error (different from the previous one!)
creating CEL
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../intl
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/i
nclude -I/usr/X11R6/include -I/usr/local/include -DLOCALEDI
R=\""/usr/local/share/locale"\" -DGTK_DISABLE_COMPAT_H -g -O2 -Wall -c
CML_explorer.c
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o CML_explorer
CML_explorer.o ../../libgimp/libgimpui.la
./libgimp/libgimp.la -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgm
odule -lglib -ldl -lXi -lXext -lX11 -lm
gcc -g -O2 -Wall -o .libs/CML_explorer CML_explorer.o -rdynamic
../../libgimp/.libs/libgimpui.so -L/usr/X11R6/lib
../../libgimp/.libs/libgimp.so /usr/lib/libgtk.so /usr/lib/libgdk.so
/usr/lib/libgmodule.so
/usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -Wl,--rpath -Wl,/usr/local/li
b
creating CML_explorer
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../intl
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/i
nclude -I/usr/X11R6/include -I/usr/local/include -DLOCALEDI
R=\""/usr/local/share/locale"\" -DGTK_DISABLE_COMPAT_H -g -O2 -Wall -c aa.c
aa.c: In function `get_type_from_string':
aa.c:110: warning: initialization from incompatible pointer type
aa.c: In function `type_dialog':
aa.c:367: warning: initialization from incompatible pointer type
aa.c:377: warning: passing arg 4 of `gtk_signal_connect' discards qualifiers
from pointer target type
/bin/sh ../../libtool --mode=link gcc -g -O2 -Wall -o aa aa.o
../../libgimp/libgimpui.la
../../libgimp/libgimp.la -laa
-L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -l
X11 -lm
gcc -g -O2 -Wall -o .libs/aa aa.o -rdynamic
../../libgimp/.libs/libgimpui.so -L/usr/X11R6/lib
../../libgimp/.libs/libgimp.so /usr/lib/libaa.so -lslang -lgpm
/usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so
/usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm -Wl,--rpath -Wl,/usr/local/li
b
/usr/bin/ld: cannot find -lgpm
collect2: ld returned 1 exit status
make[3]: *** [aa] Erreur 1
make[3]: Leaving directory
`/home/sylvax/soft/gimp/gimp-1.2.4/plug-ins/common'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/home/sylvax/soft/gimp/gimp-1.2.4/plug-ins'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/sylvax/soft/gimp/gimp-1.2.4'
make: *** [all-recursive-am] Erreur 2
[root@localhost gimp-1.2.4]#
I can't find any rpm on my mandrake 9.1 that looks like lgpm...
what can I do?
thanks
compilation error
"info sylvax.net" wrote:
/usr/bin/ld: cannot find -lgpm
collect2: ld returned 1 exit status
make[3]: *** [aa] Erreur 1
make[3]: Leaving directory
`/home/sylvax/soft/gimp/gimp-1.2.4/plug-ins/common' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory
`/home/sylvax/soft/gimp/gimp-1.2.4/plug-ins' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/sylvax/soft/gimp/gimp-1.2.4' make: *** [all-recursive-am] Erreur 2 [root@localhost gimp-1.2.4]#I can't find any rpm on my mandrake 9.1 that looks like lgpm...
Use this command to see if the "libgpm" file is on your system: find / -name libgpm
If you get a "hit", make sure the path to that file is in the linker path. If you don't get a "hit", search Mandrake's site for the "libgpm" library. If you can't find it on Mandrake's site, you can install "gpm" from source:
http://freshmeat.net/projects/gpm/?topic_id=136%2C861
Good luck!
Peace...
Tom