Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: WANTED : KaxTV testers



On Friday 03 December 2004 17:24, Andrew Wilson wrote:
> I'm getting a compile error on kernel 2.6.9. I'll work around it for now.
>
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
> -I/usr/share/qt/include -I/usr/X11R6/include  -I/usr/include
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long
> -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith
> -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions
> -fno-check-new  -c -o scandialog.o `test -f scandialog.cpp || echo
> './'`scandialog.cpp
> cc1plus: warning: "-Wbad-function-cast" is valid for C/ObjC but not for C++
> scandialog.cpp:36:20: types.h: No such file or directory
> In file included from dvbsection.h:21,
>                   from dvbsi.h:21,
>                   from scandialog.cpp:40:
> /usr/include/linux/dvb/dmx.h:165: error: '__u64' is used as a type, but
> is not
>     defined as a type.

Its because of -ansi in the compile statement. Remove the two (!)
occurences of it in the Makefile and it works.

Kind regards,
Stefan




Home | Main Index | Thread Index