[FFmpeg-devel] Build failed on Solaris 10

Måns Rullgård mans
Tue Jun 5 00:40:35 CEST 2007

Piero Bugoni <crboca32 at yahoo.com> writes:

>> gcc: unrecognized option `-rdynamic'
>> ld: fatal: option -dn and -P are incompatible
>> ld: fatal: Flags processing errors
>> collect2: ld returned 1 exit status
>> check_cc
>> BEGIN /tmp/ffmpeg-conf-31317-29245-30497.c
>>      1	asm (".align 3");
>> END /tmp/ffmpeg-conf-31317-29245-30497.c
>> gcc -fomit-frame-pointer -g
>> -Wdeclaration-after-statement -Wall -Wno-switch
>> -Wdisabled-optimization -Wpointer-arith
>> -Wredundant-decls -O3 -c -o
>> /tmp/ffmpeg-conf-27206-29245-3450.o
>> /tmp/ffmpeg-conf-31317-29245-30497.c
>> /var/tmp//ccmJkNNh.s: Assembler messages:
>> /var/tmp//ccmJkNNh.s:11: Error: alignment not a
>> power of 2
> Note that you still have errors at the end of your
> output.

Those are normal.

> What was said in the previous post regarding POSIX may
> work, by using the compiler stuff under /usr/xpg4/bin.
> (PATH, and other environment variables are important).

Solaris unfortunately has a host of non-POSIX compliant tools under
/bin, including grep and sed (and of course sh which we detect).
Proper tools are available in /usr/xpg4/bin so I really recommend
trying those.  If that still doesn't work we can start talking.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list