[theora] libtheora fails to compile examples on Solaris

Roland Haeder r.haeder at web.de
Sat Jan 17 14:28:48 PST 2009


Hi together,

I have compiled so far a lot libs and already some programs on my
Solaris 5.7 box (old, I know). When I try to compile libtheora the
examples are not compiling:

make[2]: Entering directory
`/export/home/quix0r/more/libtheora-1.0/examples'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   
-I/usr/local/include   -I/usr/local/include/libpng12   -Wall
-Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer
-finline-functions -funroll-loops  -MT png2theora-png2theora.o -MD -MP
-MF ".deps/png2theora-png2theora.Tpo" -c -o png2theora-png2theora.o
`test -f 'png2theora.c' || echo './'`png2theora.c; \
        then mv -f ".deps/png2theora-png2theora.Tpo"
".deps/png2theora-png2theora.Po"; else rm -f
".deps/png2theora-png2theora.Tpo"; exit 1; fi
png2theora.c: In function `main':
png2theora.c:510: warning: implicit declaration of function `scandir'
png2theora.c:510: error: `alphasort' undeclared (first use in this
function)
png2theora.c:510: error: (Each undeclared identifier is reported only
once
png2theora.c:510: error: for each function it appears in.)
make[2]: *** [png2theora-png2theora.o] Error 1
make[2]: Leaving directory
`/export/home/quix0r/more/libtheora-1.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/quix0r/more/libtheora-1.0'
make: *** [all] Error 2
bash-3.2$ 

As I can remember from other libs, their configure script checks for
that missing alphasort symbol and if it is missing, like on my machine,
it tries other sorter as well.

Maybe you can rewrite your configure script for checking the existence
of alphasort? Unfortunally I am not a C++ guru and I don't know an other
sorter.

Regards,
Roland


More information about the theora mailing list