Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2015 14:54:19 -0600
From:      Bob Willcox <bob@immure.com>
To:        ports list <freebsd-ports@freebsd.org>
Subject:   multimedia/x264 build failure
Message-ID:  <20150206205419.GD96060@rancor.immure.com>

next in thread | raw e-mail | index | archive | help
I'm getting the following error when trying to build x264:

cc -o x264  x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o output/mp4.o  -lgpac -lz  -L/usr/local/lib -lx264   -m64  -fstack-protector -L/usr/local/lib -lm -pthread
x264.o: In function `main':
x264.c:(.text+0x1aea): undefined reference to `x264_encoder_open_142'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:177: recipe for target 'x264' failed
gmake[1]: *** [x264] Error 1
gmake[1]: Leaving directory '/usr/ports/multimedia/x264/work/x264-snapshot-20140827-2245-stable'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/x264


Also, I get these warnings on every compilation:

cc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -O2 -pipe  -fstack-protector -fno-strict-aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o output/mp4.o output/mp4.c
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
      [-Wunknown-warning-option]
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'?
      [-Wunknown-warning-option]

But they don't seem to be failing the build (it's the link error shown above).

I'm currently at revision 378554 (just updated minutes ago).

System info:

FreeBSD vader.immure.com 10.1-STABLE FreeBSD 10.1-STABLE #0 r276511: Thu Jan  1 16:19:21 CST 2015     bob@vader.immure.com:/usr/obj/usr/src/sys/GENERIC  amd64


Bob

-- 
Bob Willcox    | You climb to reach the summit, but once
bob@immure.com | there, discover that all roads lead down.
Austin, TX     |       -- Stanislaw Lem, "The Cyberiad"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150206205419.GD96060>