[Scummvm-tracker] [ScummVM :: Bugs] #14290: Compilation error on Arch Linux

ScummVM :: Bugs trac at scummvm.org
Fri Mar 3 21:18:51 UTC 2023


#14290: Compilation error on Arch Linux
---------------------------+--------------------
Reporter:  Paolo86cripple  |      Owner:  (none)
    Type:  defect          |     Status:  new
Priority:  blocker         |  Component:  Common
 Version:                  |   Keywords:
    Game:                  |
---------------------------+--------------------
 Can't compile scummvm on Arch using latest code due to hpl1
 MetaEngineDetection.

 /usr/bin/ld: engines/hpl1/libhpl1.a(detection.o):(.data.rel.ro.local+0x0):
 multiple definition of `Hpl1MetaEngineDetection::debugFlagList';
 engines/hpl1/detection.o:(.data.rel.ro.local+0x0): first defined here
 /usr/bin/ld: engines/hpl1/libhpl1.a(detection.o): in function
 `Hpl1MetaEngineDetection::Hpl1MetaEngineDetection()':
 detection.cpp:(.text+0x0): multiple definition of
 `Hpl1MetaEngineDetection::Hpl1MetaEngineDetection()';
 engines/hpl1/detection.o:detection.cpp:(.text+0x0): first defined here
 /usr/bin/ld:
 engines/hpl1/libhpl1.a(detection.o):(.data.rel.ro.local+0x6a0): multiple
 definition of `Hpl1::GAME_NAMES';
 engines/hpl1/detection.o:(.data.rel.ro.local+0x6a0): first defined here
 /usr/bin/ld:
 engines/hpl1/libhpl1.a(detection.o):(.data.rel.ro.local+0x100): multiple
 definition of `Hpl1::GAME_DESCRIPTIONS';
 engines/hpl1/detection.o:(.data.rel.ro.local+0x100): first defined here
 /usr/bin/ld: engines/hpl1/libhpl1.a(detection.o): in function
 `Hpl1MetaEngineDetection::Hpl1MetaEngineDetection()':
 detection.cpp:(.text+0x0): multiple definition of
 `Hpl1MetaEngineDetection::Hpl1MetaEngineDetection()';
 engines/hpl1/detection.o:detection.cpp:(.text+0x0): first defined here
 /usr/bin/ld: engines/hpl1/libhpl1.a(detection.o): in function
 `g_HPL1_DETECTION_getObject()':
 detection.cpp:(.text+0x30): multiple definition of
 `g_HPL1_DETECTION_getObject()';
 engines/hpl1/detection.o:detection.cpp:(.text+0x30): first defined here
 /usr/bin/ld: engines/hpl1/libhpl1.a(detection.o):(.bss+0x0): multiple
 definition of `g_HPL1_DETECTION_type';
 engines/hpl1/detection.o:(.bss+0x0): first defined here
 collect2: error: ld returned 1 exit status
 make: *** [Makefile.common:133: scummvm] Error 1
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14290>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list