gnash
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Gnash] Re: gnash not linking to the right libGL when --enable-plugin is
From
:
Gian Paolo Mureddu
Subject
:
[Gnash] Re: gnash not linking to the right libGL when --enable-plugin is selected.
Date
:
Fri, 14 Jul 2006 12:48:15 -0500
I have noticed one thing, though... In the failing line, whose error message is:
g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.1/crtbeginS.o .libs/plugin.o .libs/npn_gate.o .libs/npp_gate.o .libs/np_entry.o -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/backend/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/server/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/libgeometry/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/libbase/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/lib64/mozilla/plugins -L/usr/lib -lSDL -L/usr/lib64 /usr/lib/libGL.so -lGLU /usr/lib64/libgtkglext-
x11-1.0.so
/usr/lib64/libgdkglext-
x11-1.0.so
-lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lcairo -latk-1.0 -lglib-2.0 -lxml2 -lz -ljpeg -lpng -logg ../backend/.libs/libgnashbackend.so ../server/.libs/libgnashasobjs.so ../server/.libs/libgnashserver.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so -lSDL_mixer -lrt -lX11 -lXi -L/usr/lib/gcc/x86_64-redhat-linux/4.1.1 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crtn.o -Wl,-soname -Wl, libgnashplugin.so -o .libs/libgnashplugin.so
/usr/lib/libGL.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [
libgnashplugin.la
] Error 1
make[3]: Leaving directory `/home/gianni/Programas/gnash/gnash/plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gianni/Programas/gnash/gnash/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gianni/Programas/gnash/gnash'
make: *** [all] Error 2
If I do a series of substitutions, like this:
g++ -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.1.1/crtbeginS.o .libs/plugin.o .libs/npn_gate.o .libs/npp_gate.o .libs/np_entry.o -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/backend/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/server/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/libgeometry/.libs -Wl,--rpath -Wl,/home/gianni/Programas/gnash/gnash/libbase/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/lib64/mozilla/plugins -L/usr/lib -lSDL -L/usr/lib64 /usr/lib64/libGL.so -lGLU /usr/lib64/libgtkglext-
x11-1.0.so
/usr/lib64/libgdkglext-
x11-1.0.so
-lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lcairo -latk-1.0 -lglib-2.0 -lxml2 /usr/lib64/libz.so -ljpeg -lpng -logg ../backend/.libs/libgnashbackend.so ../server/.libs/libgnashasobjs.so ../server/.libs/libgnashserver.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so -lSDL_mixer /usr/lib64/librt.so -lX11 -lXi -L/usr/lib/gcc/x86_64-redhat-linux/4.1.1 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ /usr/lib64/libm.so /usr/lib64/libc.so -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crtn.o -Wl,-soname -Wl, libgnashplugin.so -o .libs/libgnashplugin.so
It does build, however, I wonder why configure is not picking the right paths for: libGL, libz, librt, libm and libc, any way to force configure to actually see these, without hard coding them into the script?
reply via email to
[
Prev in Thread
]
Current Thread
[Next in Thread]
[Gnash] gnash not linking to the right libGL when --enable-plugin is selected.
,
Gian Paolo Mureddu
,
2006/07/14
[Gnash] Re: gnash not linking to the right libGL when --enable-plugin is selected.
,
Gian Paolo Mureddu
<=
Prev by Date:
Re: [Gnash] How do you AMD64 guys get mozilla to see plugin
Next by Date:
Re: [Gnash] How do you AMD64 guys get mozilla to see plugin
Previous by thread:
[Gnash] gnash not linking to the right libGL when --enable-plugin is selected.
Next by thread:
[Gnash] Gnash crashes seamonkey
Index(es):
Date
Thread