[theora-dev] libtheora-1.0alpha2.tar.gz make fails
Carsten Haese
carsten at xiph.org
Tue Dec 9 05:26:38 PST 2003
On Tue, 2003-12-09 at 00:21, Sagara Wijetunga wrote:
> Hi
>
> My PC is Intel Pentium P4-HT, running Linux kernel
> 2.6.0-test10. I have the latest GNU automake/autoconf
> system. The make fails on libtheora with the following
> error msgs:
>
> player_example.c:29:1: warning: "_REENTRANT" redefined
> player_example.c:1:1: warning: this is the location of
> the previous definition
> /bin/sh ../libtool --mode=link gcc -O2 -D_REENTRANT
> -all-static -o player_example player_example.o
> ../lib/libtheora.la -logg -lm -L/usr/local/lib
> -Wl,-rpath,/usr/local/lib -lSDL -lpthread -lm -ldl
> -L/usr/X11R6/lib -lX11 -lXext -lvorbis -lpthread
> gcc -O2 -D_REENTRANT -static -o player_example
> player_example.o -Wl,-rpath -Wl,/usr/local/lib
> ../lib/.libs/libtheora.a -L/usr/local/lib
> /usr/local/lib/libSDL.a -L/usr/X11R6/lib -ldl -lX11
> -lXext /usr/local/lib/libvorbis.a -lm
> /usr/local/lib/libogg.a -lpthread
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[1]: *** [player_example] Error 1
> make[1]: Leaving directory
> `/usr/local/Ogg_Vorbis/libtheora-1.0alpha2/examples'
> make: *** [all-recursive] Error 1
>
> The libX11.so exists and my X11 libraries are in
> /usr/X11R6/lib and it is defined in /etc/ld.so.conf.
I'm writing this before coffee, so I could be wrong, but it looks like
gcc wants to link statically. Do you have libX11.a?
Hope this helps,
Carsten.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Theora-dev
mailing list