You are not logged in.
I took the PKGBUILD from the AUR, and added --enable-x264 to the configure line, then tried to makepkg.
gcc -O3 -g -Wall -Wno-switch -march=i686 -O2 -pipe -I. -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build' -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavutil -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavcodec -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffmpeg.o ffmpeg.c
ffmpeg.c: In function 'output_packet':
ffmpeg.c:1229: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
gcc -O3 -g -Wall -Wno-switch -march=i686 -O2 -pipe -I. -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build' -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavutil -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavcodec -I'/var/abs/ffmpeg-cvs/src/ffmpeg-build'/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o cmdutils.o cmdutils.c
gcc -Wl,--warn-common -rdynamic -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lm -lx264 -lz -ldl -lpthread -lvorbisenc -lvorbis -logg -lfaac -lxvidcore
./libavcodec/libavcodec.so: undefined reference to `XSync'
./libavcodec/libavcodec.so: undefined reference to `XDrawPoint'
./libavcodec/libavcodec.so: undefined reference to `XMapWindow'
./libavcodec/libavcodec.so: undefined reference to `XCreateImage'
./libavcodec/libavcodec.so: undefined reference to `XSetForeground'
./libavcodec/libavcodec.so: undefined reference to `XAllocNamedColor'
./libavcodec/libavcodec.so: undefined reference to `XResizeWindow'
./libavcodec/libavcodec.so: undefined reference to `XAllocSizeHints'
./libavcodec/libavcodec.so: undefined reference to `XFree'
./libavcodec/libavcodec.so: undefined reference to `XCreateColormap'
./libavcodec/libavcodec.so: undefined reference to `XDrawLine'
./libavcodec/libavcodec.so: undefined reference to `XCreateWindow'
./libavcodec/libavcodec.so: undefined reference to `XNextEvent'
./libavcodec/libavcodec.so: undefined reference to `XDrawRectangle'
./libavcodec/libavcodec.so: undefined reference to `XSelectInput'
./libavcodec/libavcodec.so: undefined reference to `XSetStandardProperties'
./libavcodec/libavcodec.so: undefined reference to `XPutImage'
./libavcodec/libavcodec.so: undefined reference to `XOpenDisplay'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1I get the same error whether I use the build for the current CVS version in stable, or the latest CVS. I just tried taking out the --enable-x264 and I still get the same error. It looks like it won't compile with GCC4. gcc-compat has disappeared from the AUR, so what am I supposed to do to get gcc3.4 back again? This is why so many other distros haven't switched to gcc4.
Offline
old post...but i'd like to note I have the same problem
I really need to recompile ffmpeg w/ x264 support...
Compaq R3000Z + Arch = Secks
Offline
google:ffmpeg gcc4 - there's a patch out there......
Hey, that's the first time I've used the google: tags... ![]()
Offline