[x264-devel] maybe BUG

赵旭 zhao.xu at marstor.com
Tue Jun 17 05:15:45 CEST 2014


Hi,

         When I compile the last version at OpenIndiana, there are errors.

./configure --enable-shared --disable-asm --prefix=/usr

make

 

¡­¡­¡­¡­..

gcc -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 extras/getopt.o libx264.a  -m32  /usr/lib/values-xpg6.o -lm
-lpthread 

Undefined                       first referenced

symbol                             in file

__sync_fetch_and_add_4              libx264.a(frame.o)

ld: fatal: symbol referencing errors. No output written to x264

collect2: ld returned 1 exit status

make: *** [x264] Error 1

 

if I use command:

./configure --enable-shared --disable-asm --prefix=/usr ¨Cdisable-thread

make

then:

¡­¡­¡­¡­¡­..(many many)

__udivdi3                           0x7a3       encoder/ratecontrol.o

__udivdi3                           0x7fc       encoder/ratecontrol.o

__udivdi3                           0x8b8       encoder/ratecontrol.o

__udivdi3                           0x900       encoder/ratecontrol.o

__udivdi3                           0x15b4      encoder/ratecontrol.o

__udivdi3                           0x1638      encoder/ratecontrol.o

__udivdi3                           0x16c9      encoder/ratecontrol.o

__udivdi3                           0x5e5d      encoder/ratecontrol.o

__udivdi3                           0x5e7a      encoder/ratecontrol.o

__udivdi3                           0x935a      encoder/ratecontrol.o

__udivdi3                           0x157b      encoder/macroblock.o

__udivdi3                           0x3d75      encoder/encoder.o

__divdi3                            0x2a162     encoder/analyse.o

__divdi3                            0xb07c      encoder/ratecontrol.o

__divdi3                            0x225       encoder/set.o

ld: fatal: relocations remain against allocatable but non-writable sections

collect2: ld returned 1 exit status

make: *** [libx264.so.142] Error 1

 

 

I used gcc:

gcc -v

Using built-in specs.

Target: i386-pc-solaris2.11

Configured with: ../../configure --prefix=/opt/gcc/4.4.4
--with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/bin/ld
--without-gnu-ld --enable-languages=c,c++,objc --enable-shared
--with-mpfr-include=/usr/include/mpfr --with-gmp-include=/usr/include/gmp
--with-pkgversion='Illumos tags/gcc-4.4.4-il-3' --with-bugurl=http://github.
com/illumos/gcc/issues

Thread model: posix

gcc version 4.4.4 (Illumos tags/gcc-4.4.4-il-3)

 

 

 

zhaoxu

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20140617/aae5fcab/attachment.html>


More information about the x264-devel mailing list