[mythtv] compile problem with intel-based pc: multiple definition

Sigurd Nes sigurdne at online.no
Sat Jan 14 16:26:41 UTC 2006


I'm trying to upgrade my second and third frontend (intel-cpu) to the latest svn - but they both fails on compilation. There is no problems with the backend (AMD sempron)

anyone?

Regards

Sigurd

The errors:
tspacket.o:(.data.rel.local+0x0): multiple definition of `TSPacket::NULL_PACKET'
tspacket.o:(.data.rel.local+0x0): first defined here
tspacket.o:(.rodata+0xbc): multiple definition of `TSHeader::PAYLOAD_ONLY_HEADER'
tspacket.o:(.rodata+0xbc): first defined here
tspacket.o:(.rodata+0xc0): multiple definition of `TSPacket::PAYLOAD_SIZE'
tspacket.o:(.rodata+0xc0): first defined here
tspacket.o:(.rodata+0xc4): multiple definition of `TSHeader::HEADER_SIZE'
tspacket.o:(.rodata+0xc4): first defined here
tspacket.o:(.rodata+0xc8): multiple definition of `TSPacket::SIZE'
tspacket.o:(.rodata+0xc8): first defined here
tspacket.o: In function `TSPacket::toString() const':
tspacket.cpp:(.text+0x90): multiple definition of `TSPacket::toString() const'
tspacket.o:tspacket.cpp:(.text+0x90): first defined here
pespacket.o:(.rodata+0x0): multiple definition of `SequenceHeader::mpeg2_fps'
pespacket.o:(.rodata+0x0): first defined here
pespacket.o:(.rodata+0x40): multiple definition of `SequenceHeader::mpeg2_aspect'
pespacket.o:(.rodata+0x40): first defined here
pespacket.o:(.rodata+0x80): multiple definition of `SequenceHeader::mpeg1_aspect'
pespacket.o:(.rodata+0x80): first defined here
pespacket.o: In function `SequenceHeader::aspect(bool) const':
pespacket.cpp:(.text+0x60): multiple definition of `SequenceHeader::aspect(bool) const'
pespacket.o:pespacket.cpp:(.text+0x60): first defined here
pespacket.o: In function `pes_alloc(unsigned int)':
pespacket.cpp:(.text+0x2c0): multiple definition of `pes_alloc(unsigned int)'
pespacket.o:pespacket.cpp:(.text+0x2c0): first defined here
pespacket.o: In function `pes_free(unsigned char*)':
pespacket.cpp:(.text+0x630): multiple definition of `pes_free(unsigned char*)'
pespacket.o:pespacket.cpp:(.text+0x630): first defined here
pespacket.o: In function `PESPacket::AddTSPacket(TSPacket const*)':
pespacket.cpp:(.text+0xb90): multiple definition of `PESPacket::AddTSPacket(TSPacket const*)'
pespacket.o:pespacket.cpp:(.text+0xb90): first defined here
collect2: ld returned 1 exit status
make[2]: *** [libmythtv-0.19.so.0.19.0] Error 1
make[2]: Leaving directory `/home/sigurd/myth-cvs/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/sigurd/myth-cvs/mythtv/libs'
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list