multimedia/x264 help understand gcc error
Anton Shterenlikht
mexas at bris.ac.uk
Mon Jul 29 10:14:56 UTC 2013
multimedia/x264 build fails on ia64 (PR 180456).
With default OS gcc the error is:
gcc -Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -I. -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
In file included from common/osdep.h:60,
from common/common.h:88,
from x264.c:33:
/usr/include/math.h:236: error: expected ')' before '/' token
/usr/include/math.h:320: error: expected ')' before '/' token
gmake: *** [x264.o] Error 1
but with lang/gcc48, the error is different:
gcc48 -Wshadow -O3 -ffast-math -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -Wall -I. -I. -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc48 -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
In file included from common/common.h:88:0,
from x264.c:33:
common/osdep.h:40:24: error: expected ')' before '/' token
#define log2(x) (log(x)/0.693147180559945)
^
common/osdep.h:39:26: error: expected ')' before '/' token
#define log2f(x) (logf(x)/0.693147180559945f)
Has the diagnostics improved in gcc48?
Anyway, what is this error telling me, I'm not sure.
Thanks
Anton
More information about the freebsd-ports
mailing list