[XviD-devel] SGI: ERROR 33: Unresolved text symbol "sqrt"
Christoph Lampert
xvid-devel@xvid.org
Sat, 25 Jan 2003 16:28:15 +0100 (CET)
On Sat, 25 Jan 2003, Venkata Tumati wrote:
> >You have to compile with math-lib, gcc -lm ...
> The makefile already has that set so when I compile.
Yes, that would have been my first guess, too.
> LDFLAGS = -lc -lm
> /usr/sbin/gcc -Wall -Os -I ../src -c xvid_stat.c
> /usr/sbin/gcc -lc -lm -o xvid_stat xvid_stat.o
>
> is there something else I am supposed to do?
Hm, strange. Maybe you have to use a different order?
Try if
/usr/sbin/gcc -o xvid_stat xvid_stat.o -lm -lc
is different from
/usr/sbin/gcc -lc -lm -o xvid_stat xvid_stat.o
On gcc Linux, it sometimes matters... :(
gruel