I got the CVS version of Gem and tried to build it.
Configure failed on openGL. I remembered that there
was a bug in the configure script (see below). I
fixed this and configure got further, but still
wont find any of my extras like libdv or quicktime.
Can anyone help me?
Im trying to build Gem on an amd64 laptop.
Thanks!
-thewade
>From pd email: Thu, 18 Mar 2004
My reported bug was that Gems configure script was trying to
find GL by compiling conftest.c with the following command:
gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lGL -Wl,-shared
-Wl,-export-dynamic -lXxf86vm -lXext -lX11
(as taken from configure)
but my problems here seem obvious to Jacub, read below!
------- Additional Comments From jakub(a)redhat.com 2004-03-18 05:18 -------
That is to be expected. Never use -Wl,-shared, but -shared.
With -Wl,-shared, you don\'t tell the gcc driver that you are trying
to build a shared library, so it throws in crt objects for executable
etc., but you tell the linker to create a shared library with that.
With -shared, you tell the gcc driver that you are linking a shared
library and it will take care of the details (putting in correct crt
files, libraries etc. and of course also passing -shared to ld).