On 06/17/2011 10:28 PM, Dave Plater wrote:
I've started with getting the dump files for mjpegtools's liblavfile and have already encountered an error, any idea what this is : The GCC parameters: gcc -fdump-translation-unit -fkeep-inline-functions -c -x c++-header /tmp/0wWT2X3rQX/dump1.h -I/usr/include/mjpegtools -I/usr/include/lqt
In file included from /tmp/0wWT2X3rQX/dump1.h:12:0: /usr/include/mjpegtools/frequencies.h:91:8: error: redefinition of ‘struct CHANLIST’ /usr/include/mjpegtools/frequencies.h:91:17: error: previous definition of ‘struct CHANLIST’ /usr/include/mjpegtools/frequencies.h:96:8: error: redefinition of ‘struct CHANLISTS’ /usr/include/mjpegtools/frequencies.h:96:18: error: previous definition of ‘struct CHANLISTS’
Here's the offending section of frequencies.h : /* --------------------------------------------------------------------- */
struct CHANLIST { const char *name; int freq; };
struct CHANLISTS { const char *name; struct CHANLIST *list; int count; };
#define CHAN_COUNT(x) (sizeof(x)/sizeof(struct CHANLIST))
/* --------------------------------------------------------------------- */
extern struct CHANLISTS chanlists[]; extern int chantab; extern struct CHANLIST *chanlist; extern int chancount;
Is this harmless or a potential problem?
There's another two headers with symbol redefinition errors, which look to me as if there should be an "#ifdef" statement somewhere. The abis of mjpegtools versions 1.9.0 and 2.0.0 are 100% compatible according to "abi-compliance-checker.pl" although it tested successfully with python3-3.1 to 3.2 and picked up all the documented abi changes. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org