Date: Mon, 29 Jul 2013 11:06:03 +0100 (BST) From: Anton Shterenlikht <mexas@bris.ac.uk> To: freebsd-ports@freebsd.org Subject: multimedia/x264 help understand gcc error Message-ID: <201307291006.r6TA630o080583@mech-cluster241.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307291006.r6TA630o080583>