Re: Compilation error on 64 bits

Bernhard Praschinger <[email protected]> Sat, 24 Jan 2009 09:29:07 +0100
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Hallo

Fernando wrote:
> I've been told (from wxcam development) to report a bug regarding a
> duplicate redefinition of the typedef int64_t, in line 40 of the file
> mjpeg_types.h
Which version of the mjpegtools do you use ?

I think that you use a older version (1.8.0) of the mjpegtools. The 
current file is only 28 lines long, and does not include that definition 
any more. There was a patch some time ago that fixed that problem.

> ---------- Forwarded message ----------
> From: Marco Lorrai <[email protected]>
> Date: Wed, Jan 21, 2009 at 9:24 PM
> Subject: Re: Compilation error on 64 bits
> To: [email protected]
> 
> 
> Fernando wrote:
>> I'm using 64 bits version of Ubuntu, with all the dependencies
>> installed, but when I run make I get this error:
>>
>> In file included from ccvt.c:24:
>> /usr/include/mjpegtools/mjpeg_types.h:40: error: conflicting types for 'int64_t'
>> /usr/include/sys/types.h:198: error: previous declaration of 'int64_t' was here
>> make[2]: *** [ccvt.o] Error 1
>>
>> any help?
>>
>> Thanks
>>
>> --
>> Fernando
>>
>>
> 
> Hi! This seems a bug of the mjpegtools library. Try commenting the
> line 40 of file  mjpeg_types.h (use the // at the start of the line).
> If it works please report the bug here:
> 
> http://sourceforge.net/mail/?group_id=5776

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [email protected]
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword