Thu 26 Oct 2006 12:52:00 PM UTC, comment #17:
I have just tried current CVS and it's working fine now.
|
Thu 19 Oct 2006 10:22:05 AM UTC, comment #16:
Ok, it seems that the macros/opengl.m4 check actually
finds it though, so we must check why it is found at
configure time. The fact that no -L is included can be
triggered by two factors:
- library dir is /usr/lib (so it is stripped by the macro)
- AC_CHECK_LIB found the library with the currently set LIBS
variable
In any case, it seems that your g++ call includes the -nostdlib
flag, so I guess this clashes with the need to include /usr/lib
which is deliberately skipped.
Can you confirm that removing the -nostdlib flag from the g++ line fixes the problem ?
|
Mon 16 Oct 2006 12:41:14 PM UTC, comment #15:
And I get always the same compile error...
|
Mon 16 Oct 2006 12:38:06 PM UTC, comment #14:
I just did a fresh checkout, ./autogen.sh and ./configure .
configure script ends with no error and a Makefile is created.
I attach the new config.log
Output of ./configure:
Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
Web server support disabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
XML and XMLSocket enabled (default). Use --disable-xml to disable.
Firefox plugin disabled (default). Use --enable-plugin to enable.
Konqueror plugin disabled (default). Use --enable-klash to enable.
GNOME help disabled (default). Use --enable-ghelp to enable.
Unit testing support disabled
Renderer engine: opengl
GUI: gtk
Sound handler: none
Configured paths for i686-pc-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -lxml2 -lz -lm
PNG flags are: -I/usr/include/libpng12
PNG libs are: -lpng12 -lz -lm
JPEG flags are: default include path
JPEG libs are: -ljpeg
Ogg flags are:
Ogg libs are: -logg
OpenGL flags are: default include path
OpenGL libs are: -lGL -lGLU
GtkGLExt flags are: -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include
GtkGLExt libs are: -lgtkglext-x11-1.0 -lgdkglext-x11-1.0
GTK2 flags are: -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GTK2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Pango flags are: -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Pango libs are: -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpangox-1.0
GLib flags are: -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
GLib libs are: -lglib-2.0
ATK flags are: -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
ATK libs are: -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
POSIX Threads lib is:
This version of libCurl doesn't have RTMP support
CURL flags are: default include path
CURL libs are: -L/usr/lib -lcurl -L/lib -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz
BOOST flags are: -I/usr/include
BOOST libs are: -lboost_thread-mt -lrt -lm
|
Fri 13 Oct 2006 09:51:33 AM UTC, comment #13:
ok, from scratch :)
please update current CVS, run ./autogen.sh and ./configure again.
First of all, if OPENGL libs are not found but are required
(renderer=opengl) the ./configure script should exit with an error.
Can you confirm this ?
|
Thu 12 Oct 2006 03:25:46 PM UTC, comment #12:
Note there was a typo: however, after replacing
--with-openg-libs
with
--with-opengl-libs
nothins changes.
|
Thu 12 Oct 2006 03:21:14 PM UTC, comment #11:
Seems no: I configured with:
./configure --with-openg-libs
but I get again the same error:
g++ -shared -nostdlib /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crti.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtbeginS.o .libs/config.o .libs/container.o .libs/image.o .libs/image_filters.o .libs/jpeg.o .libs/log.o .libs/membuf.o .libs/network.o .libs/postscript.o .libs/rc.o .libs/triangulate_float.o .libs/triangulate_sint32.o .libs/tu_file.o .libs/tu_random.o .libs/tu_timer.o .libs/tu_types.o .libs/utf8.o .libs/utility.o .libs/curl_adapter.o .libs/noseek_fd_adapter.o .libs/zlib_adapter.o .libs/Thread.o .libs/URL.o -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/. -ljpeg -L/usr/lib /usr/lib/libcurl.so -L/lib /usr/lib/libidn.so -lssl -lcrypto -ldl -lz -lGL -lGLU -lrt -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6 -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../.. /usr/lib/./libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtendS.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crtn.o -march=pentium3 -Wl,-soname -Wl,libgnashbase.so.0 -o .libs/libgnashbase.so.0.0.0
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[2]: *** [libgnashbase.la] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2
|
Thu 12 Oct 2006 03:09:52 PM UTC, comment #10:
Weird, -lGLU (w/out -L switches) is found during ./configure but you report it is not found during 'make'.
Does using --with-openg-libs actually adds an -L/usr/X11R6/lib to the build line ?
|
Thu 12 Oct 2006 02:58:32 PM UTC, comment #9:
1) config.log is attached
2)
$ find / -name libGLU.so
/usr/X11R6/lib/libGLU.so
3) Compiling with:
--with-opengl-lib=/usr/X11R6/lib/
works fine.
|
Thu 12 Oct 2006 02:51:24 PM UTC, comment #8:
Can you attach your config.log ?
Can you find libGLU.so on your system ?
|
Thu 12 Oct 2006 02:48:04 PM UTC, comment #7:
Original compilation problem of this bug is now fixed.
GtkGLExt problem is also fixed (was bug# 17417).
However "cannot find -lGLU" problem is NOT yet fixed (was bug #17393): I get:
g++ -shared -nostdlib /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crti.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtbeginS.o .libs/config.o .libs/container.o .libs/image.o .libs/image_filters.o .libs/jpeg.o .libs/log.o .libs/membuf.o .libs/network.o .libs/postscript.o .libs/rc.o .libs/triangulate_float.o .libs/triangulate_sint32.o .libs/tu_file.o .libs/tu_random.o .libs/tu_timer.o .libs/tu_types.o .libs/utf8.o .libs/utility.o .libs/curl_adapter.o .libs/noseek_fd_adapter.o .libs/zlib_adapter.o .libs/Thread.o .libs/URL.o -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath -Wl,/usr/lib/. -ljpeg -L/usr/lib /usr/lib/libcurl.so -L/lib /usr/lib/libidn.so -lssl -lcrypto -ldl -lz -lGL -lGLU -lrt -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6 -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../.. /usr/lib/./libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/crtendS.o /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../crtn.o -march=pentium3 -Wl,-soname -Wl,libgnashbase.so.0 -o .libs/libgnashbase.so.0.0.0
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[2]: *** [libgnashbase.la] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/libbase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2
|
Wed 11 Oct 2006 04:04:43 PM UTC, comment #6:
Please try now, should be fixed.
|
Wed 11 Oct 2006 03:50:58 PM UTC, comment #5:
With make dumpconfig I get again:
GLEXT_LIBS is /usr/local/lib
however note that I had to configure with:
./configure --with-glext-incl=/usr/local/include/gtkglext-1.0/ --with-glext-lib=/usr/local/lib --with-opengl-lib=/usr/X11R6/lib/
or else I cannot configure/compile. I had already filed two bugs for these: bug #17393 and bug #17417.
Yes, I always run ./autogen.sh . To be sure I also remove the whole gnash dir and do a fresh checkout.
|
Wed 11 Oct 2006 03:10:25 PM UTC, comment #4:
Also, are you sure you run ./autogen.sh after update ?
|
Wed 11 Oct 2006 03:08:26 PM UTC, comment #3:
GLEXT_LIBS is /usr/local/lib
^^ That's our enemy, please report that line on next
communications (from dump).
Now, how are you running ./configure ?
|
Wed 11 Oct 2006 03:02:08 PM UTC, comment #2:
Still having the error after the update. output of make dumpconfig is attached.
|
Wed 11 Oct 2006 02:05:47 PM UTC, comment #1:
Please send output of 'make dumpconfig'.
Also, please update again before retrying, as we just fixed a similar problem.
|
Wed 11 Oct 2006 01:20:15 PM UTC, original submission:
On my Slackware 10.2 with current CVS I get this error:
g++ -O1 -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type /usr/local/lib -o .libs/gnash gnash.o /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so ./.libs/libgnashgui.so ../libamf/.libs/libgnashamf.so ../backend/.libs/libgnashbackend.so ../server/.libs/libgnashserver.so ../server/asobj/.libs/libgnashasobjs.a /home/fabio/sorgenti/gnash/libamf/.libs/libgnashamf.so -L/usr/lib -L/lib -L/usr/X11R6/lib -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/../.. /usr/lib/libxml2.so /usr/lib/libogg.so /home/fabio/sorgenti/gnash/libbase/.libs/libgnashbase.so /usr/lib/libcurl.so /usr/lib/libidn.so /usr/lib/./libstdc++.so ../libgeometry/.libs/libgnashgeo.so ../libbase/.libs/libgnashbase.so ./.libs/libgnashplayer.so -lm -lpng -ljpeg -lssl -lcrypto -lz -lGL -lGLU -ldl -lrt -Wl,--rpath -Wl,/usr/lib/.
/usr/local/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [gnash] Error 1
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2
|