Guru question:
On a couple of occasions when compiling a source package I've had errors such as that below. The common factor appears to be the "error: `__ASSERT_FUNCTION' undeclared". Have I got something set up wrong in my system?
-- GT
------------------------------------------------------------------------------------------------- make all-am make[1]: Entering directory `/home/graham/Documents/dvgrab-1.2' source='avi.cc' object='avi.o' libtool=no \ depfile='.deps/avi.Po' tmpdepfile='.deps/avi.TPo' \ depmode=gcc3 /bin/sh ./depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I. -D_FILE_OFFSET_BITS=64 -Wno-deprecated -O2 -Wall -D_REENTRANT -c -o avi.o `test -f 'avi.cc' || echo './'`avi.cc avi.cc: In member function `virtual void AVIFile::Init(int, int, int)': avi.cc:285: error: `assert' undeclared (first use this function) avi.cc:285: error: (Each undeclared identifier is reported only once for each function it appears in.) avi.cc: In member function `virtual int AVIFile::GetDVFrameInfo(off_t&, int&, int)': avi.cc:388: error: `__ASSERT_FUNCTION' undeclared (first use this function) avi.cc: In member function `virtual void AVI1File::Init(int, int, int)': avi.cc:951: error: `assert' undeclared (first use this function) avi.cc: In member function `virtual void AVI2File::Init(int, int, int)': avi.cc:1240: error: `assert' undeclared (first use this function) make[1]: *** [avi.o] Error 1 make[1]: Leaving directory `/home/graham/Documents/dvgrab-1.2' make: *** [all] Error 2 -------------------------------------------------------------------------------------------------