Me TV 0.8.11 make fails

Asked by Matias Korhonen

I cannot compile Me TV 0.8.11, 0.8.9 still compiled fine (haven't tried 0.8.10).

I use:
./configure --prefix=/usr

And the errors I get are something like this:

/usr/include/sys/types.h:46: error: conflicting declaration ‘typedef __loff_t loff_t’
/usr/include/linux/types.h:30: error: ‘loff_t’ has a previous declaration as ‘typedef __kernel_loff_t loff_t’
/usr/include/sys/types.h:62: error: conflicting declaration ‘typedef __dev_t dev_t’
/usr/include/linux/types.h:13: error: ‘dev_t’ has a previous declaration as ‘typedef __kernel_dev_t dev_t’

For a full output of make see http://gist.github.com/109307

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Solved by:
Jeff Bailes
Solved:
Last query:
Last reply:
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#1

It compiles for me, and others. You might like to include more information as to why it's not compiling, such as your kernel version. I wonder if that's the issue.

Revision history for this message
Best Jeff Bailes (thepizzaking) said :
#2

I'm fairly sure this is because you're trying to compile with gcc 4.4. Me-tv won't compile with 4.4 yet with the default options.
For a temporary solution, instead of using:
 ./configure --prefix=/usr
try:
 ./configure CXXFLAGS=-D__KERNEL_STRICT_NAMES --prefix=/usr

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#3

Thanks Jeff, I'll look at fixing that soon. I might have to switch to karmic because Debian unstable still only has 4.3.

Revision history for this message
Matias Korhonen (k33l0r) said :
#4

Thanks Jeff Bailes, that solved my question.