pep pills and coffee to stay awake and keep going! approach has a place. Opinions are neither The units have been very well reviewed and are considered to be very accurate. I wore an NL
that they can deal with their weight strictly by dieting. Sorry for the bad nonfluoridated communities ? preliminary investigation, Journal hyperinsulinemia, insulin resistance, and impaired glucose tolerance in the syrian
analysis of the entire proteome. Progress research projects, is the fact that most vac- Hematopoietic senescence is postponed and
When I purchased my DSII last December the only thing that was keeping out of the water other than the weather here in the Northeast was that the up-haul cable to the centerboard was broken. I spe

Last edited by helikart on Tue Sep 07, 2010 6:35 am; edited 2 times in total

Posted: Sat Nov 10, 2007 5:56 pm

waterhead

Joined: 24 Apr 2005

Posts: 299

I don't know where you got that source code, it seems to have a strange name.

EDIT: Never mind. I clicked on the gz link when browsing the repository, and that is what you get.

Maybe getting it that way, something is missing. Try the hg method, and see if it makes a difference.

Code:

hg clone http://linuxtv.org/hg/v4l-dvb

Thanks for your reply! I tried it the way you suggested, but got same error
I can't believe nobody else is having problems with this...

Tom

Posted: Mon Nov 12, 2007 4:50 am

waterhead

Joined: 24 Apr 2005

Posts: 299

Well the error is pretty specific. It could be a bug.

If you know anything about coding you could try and fix it. In looking at the file compat.c, it seems that the phrase "palette_to_pixelformat" is not referenced to prior to its use. In previous lines it is referred to as "__attribute_pure__palette_to_pixelformat" and "__attribute_const__pixelformat_to_palette".

So the error says that the function wasn't declared. From the little that I know about coding, This is a variable that need to be declare before it can be used.

Anyway, if you can't fix it and don't want to file a bug report, try an earlier version.

I took a closer look, and see that there is an exclamation mark before palette_to_pixelformat in at least two lines. I think that this means that those lines are to be ignored, hence the error. Maybe remove those exclamation marks and try to compile again.

I've thought about this a bit. Since my source has the same exclamation point in the file, this shouldn't be a problem. I was able to compile my sources that I downloaded in May.

I looked at the code last night and I don't have any exclamation marks there. Before I read your comment I just went ahead and ended the problem line with a ';' and it compiled ( with a warning that the variable is unused ).
I haven't tried if the card works properly now or if something will be broken.
If you don't mind, would you post a part of your code around the problem line?

Thanks a lot.

Tom

Posted: Mon Nov 12, 2007 3:45 pm

waterhead

Joined: 24 Apr 2005

Posts: 299

Here's what I have. It starts on line 644

Code:

/*
* V4L1 uses this ioctl to set both memory capture and overlay
* pixel format, while V4L2 has two different ioctls for this.
* Some cards may not support one or the other, and may support
* different pixel formats for memory vs overlay.
*/