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

Sagara Wijetunga sagaralists at yahoo.com
Wed Dec 10 21:24:34 PST 2003

Hi Carsten

Thanks for the reply.

Yep, I don’t have libX11.a. I use XFree86 4.3.0. It
compiles only libX11.so and it’s in /usr/X11R6/lib/.

In libtheora-1.0alpha2:
1.	make distclean
2.	./configure --enable-shared --disable-static
3.	make

It still complain the same. Please let me include the
new error message.

gcc -DPACKAGE=\"libtheora\" -DVERSION=\"0.0\"
-DHAVE_DLFCN_H=1  -I. -I.  -I../include     -O2 
-D_REENTRANT -c player_example.c
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.so -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 -Wl,--rpath
-Wl,--rpath -Wl,/usr/local/lib
/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


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
--- >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