[theora-dev] libtheora-1.0alpha2.tar.gz make fails

Sagara Wijetunga sagaralists at yahoo.com
Mon Dec 8 21:21:19 PST 2003


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
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.


Do you Yahoo!?
Free Pop-Up Blocker - Get it now
--- >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