I installed Xcode 3.2 and everything builds fine.
Problem SOLVED.
--
Pozdrawiam / Regards,
Jacek Malinowski
Wiadomość napisana przez Jacek Malinowski w dniu 2012-02-29, o godz. 00:20:
> I had to do this because of build error in another package.
>
> I've deleted /usr/bin/gcc-4.2 but now is the same error with gcc:
>
> gcc -I. -I"/sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10"
> -I/sw/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -DPIC -DHAVE_AV_CONFIG_H -I/sw/lib/libspeex1/include -I/sw/include
> -I/usr/X11R6/include -MD -std=c99 -fomit-frame-pointer -fPIC
> -I/sw/include/dirac -I/sw/include/freetype2 -I/sw/include
> -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -Wdeclaration-after-statement -Wall
> -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith
> -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef
> -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno -mllvm
> -stack-alignment=16 -MMD -MF libavcodec/h264_cavlc.d -MT
> libavcodec/h264_cavlc.o -c -o libavcodec/h264_cavlc.o
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_cavlc.c
> gcc -I. -I"/sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10"
> -I/sw/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -DPIC -DHAVE_AV_CONFIG_H -I/sw/lib/libspeex1/include -I/sw/include
> -I/usr/X11R6/include -MD -std=c99 -fomit-frame-pointer -fPIC
> -I/sw/include/dirac -I/sw/include/freetype2 -I/sw/include
> -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -g -Wdeclaration-after-statement -Wall
> -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith
> -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef
> -Wmissing-prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno -mllvm
> -stack-alignment=16 -MMD -MF libavcodec/h264_direct.d -MT
> libavcodec/h264_direct.o -c -o libavcodec/h264_direct.o
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:
> In function 'pred_spatial_direct_motion':
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:292:
> warning: assignment from incompatible pointer type
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:293:
> warning: assignment from incompatible pointer type
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:
> In function 'pred_temp_direct_motion':
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:479:
> warning: assignment from incompatible pointer type
> /sw/src/fink.build/libavcodec53-shlibs-0.8.10-1/ffmpeg-0.8.10/libavcodec/h264_direct.c:480:
> warning: assignment from incompatible pointer type
> cc1: error in backend: Ran out of registers during register allocation!
> make: *** [libavcodec/h264_cabac.o] Error 1
>
>
> --
> Pozdrawiam / Regards,
> Jacek Malinowski
>
>
> Wiadomość napisana przez Hanspeter Niederstrasser w dniu 2012-02-29, o godz.
> 00:13:
>
>> On 2/28/2012 6:09 PM, Jacek Malinowski wrote:
>>> On 10.6.8 after installing Xcode 4.2 I didn't have /usr/bin/gcc-4.2 so I've
>>> made ln -s gcc gcc-4.2
>>>
>>> Additional info:
>>>
>>> lrwxr-xr-x 1 root wheel 12 26 lut 12:36 gcc -> llvm-gcc-4.2
>>> lrwxr-xr-x 1 root wheel 3 28 lut 02:58 gcc-4.2 -> gcc
>>
>> Then you broke the compiler test in the ffmpeg package because it tests for
>> whether it's using gcc-4.2 or llvm-gcc-4.2 and applies the fix for the
>> latter, but your 'gcc-4.2' is not really gcc-4.2. Messing with files in
>> /usr/bin, especially the compilers is a Bad Idea.
>>
>> Hanspeter
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
> Fink-users mailing list
> Fink-users@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.macosx.fink.user
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-users
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users