-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/27/11 6:19 PM, Hanspeter Niederstrasser wrote: > On 04/27/2011 5:56 PM, John K. Parejko wrote: >> Hello, >> >> I'm getting the following build error for libx264-98-shlibs (coming in as a >> dependency on one of the gimp packages) for 10.6 64-bit. There was a >> discussion of a similar error last year: >> >> http://www.mail-archive.com/[email protected]/msg33339.html >> >> but I'm building with the standard Xcode gcc. >> >> Any ideas? Just a missing dependency? I installed lame, lame-dev, >> lame-shlibs, but that didn't help. >> >> Thanks, >> John >> >> gcc -O3 -ffast-math -I. -fno-common -I/sw/include -msse2 -Wall -I. >> -falign-loops=16 -arch x86_64 -std=gnu99 -fPIC -s -fomit-frame-pointer >> -I/sw/include -c -o input/lavf.o input/lavf.c >> input/lavf.c: In function 'check_swscale': >> input/lavf.c:68: warning: 'sws_getContext' is deprecated (declared at >> /usr/local/include/libswscale/swscale.h:194) >> input/lavf.c: In function 'read_frame_internal': >> input/lavf.c:124: warning: passing argument 2 of 'sws_scale' from >> incompatible pointer type >> ar rc libx264.a common/mc.o common/predict.o common/pixel.o >> common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o >> common/common.o common/mdate.o common/rectangle.o common/set.o >> common/quant.o common/deblock.o common/vlc.o common/mvpred.o >> common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o >> encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o >> encoder/encoder.o encoder/lookahead.o common/visualize.o >> common/display-x11.o common/x86/mc-c.o common/x86/predict-c.o >> common/x86/const-a.o common/x86/cabac-a.o common/x86/dct-a.o >> common/x86/deblock-a.o common/x86/mc-a.o common/x86/mc-a2.o >> common/x86/pixel-a.o common/x86/predict-a.o common/x86/quant-a.o >> common/x86/sad-a.o common/x86/cpu-a.o common/x86/dct-64.o >> common/x86/bitstream-a.o >> ranlib libx264.a >> gcc -o x264 x264.o input/timecode.o input/yuv.o input/y4m.o output/raw.o >> output/matroska.o output/matroska_ebml.o output/flv.o >> output/flv_bytestream.o input/thread.o input/lavf.o libx264.a >> -L/usr/X11R6/lib -lX11 -L/sw/lib -lm -arch x86_64 -lpthread -s -L. >> -lavformat -lswscale -lpostproc -lavcodec -lavutil -lm -lz -lbz2 -lpthread >> ld: warning: option -s is obsolete and being ignored >> Undefined symbols: >> "_lame_set_quality", referenced from: >> _MP3lame_encode_init in libavcodec.a(libmp3lame.o) >> _MP3lame_encode_init in libavcodec.a(libmp3lame.o) >> "_lame_close", referenced from: >> _MP3lame_encode_close in libavcodec.a(libmp3lame.o) >> _MP3lame_encode_init in libavcodec.a(libmp3lame.o) > > In the middle of the build output, between the configure steps and the > actual compiling, there should be a list of options as to how x264 is > being built. On 10.5/i386, I'm getting the following: > > Platform: X86 > System: MACOSX > asm: yes > avs input: no > lavf input: no > ffms input: no > mp4 output: no > pthread: yes > debug: no > gprof: no > PIC: yes > shared: yes > visualize: yes > > What do you have here? > > And the output of 'fink list -it libav libpostproc libswscale' as well. > Thanks, > > Hanspeter >
I've got (10.6/x86_64): #!/bin/sh -ev export CFLAGS="-I. -fno-common -I/sw64/include" if test "x86_64" != "powerpc"; then CFLAGS="$CFLAGS -msse2"; fi ./configure --prefix=/sw64 --enable-visualize --enable-pic - --enable-shared --host=x86_64-apple-darwin`uname -r` uname -r ./version.sh: line 2: git: command not found Platform: X86_64 System: MACOSX asm: yes avs input: no lavf input: no ffms input: no mp4 output: no pthread: yes debug: no gprof: no PIC: yes shared: yes visualize: yes - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk24m9MACgkQB8UpO3rKjQ9HUACdG/uwnaX7PytWOOTQ2P2k19CO nNkAn3Xc0XFCLzencoT7GilNrcVeeYT9 =/Tet -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
