[Ffmpeg-devel] Linkage problems with avcodec_sample.0.4.9.cppprovided on Martin Bohme on a Mac

Attila Kinali attila
Sat Sep 2 09:57:19 CEST 2006


On Sat, 02 Sep 2006 00:50:44 -0700
shai deljo <shai at rexee.com> wrote:

> Good point :) but that still leaves me with errors:
> 
> gcc -I /Users/usr/ffmpeg/ffmpeg/libavformat -I
> /Users/usr/ffmpeg/ffmpeg/libavcodec -I /Users/usr/ffmpeg/ffmpeg/libavutil -o
> avcodec_sample.0.4.9 avcodec_sample.0.4.9.cpp -lavformat -lavcodec -lavutil
> -lz
> 
> Errors:
> 
> /usr/bin/ld: Undefined symbols:
> operator delete[](void*)
> operator new[](unsigned long)
> ___gxx_personality_v0

Compiling a C++ program with gcc is asking for such error messages :)
Either write plain c or use g++.

BTW: do not top post

				Attila Kinali

-- 
??????????????




More information about the ffmpeg-devel mailing list