Opened 9 months ago

Closed 8 months ago

#9556 closed defect (fixed)

TOOLS: DeGob linker error

Reported by: raziel- Owned by: unkown
Priority: blocker Component: Ports
Keywords: Cc:


The github scummvm-tools page doesn't feature an issue tracker, so i guess it's ok to put it up here?

I get the following linker error on trying to build the tools

Running ./configure with the last specified parameters


Running ScummVM Tools configure...
Looking for C++ compiler... g++
Checking for compiler version... 5.3.0, ok
found non-gcc compiler version 5.3.0, ok
Building as C++11... yes
Checking endianness... big
Type with 1 byte... char
Type with 2 bytes... short
Type with 4 bytes... int
Alignment required... no
Checking hosttype... amigaos
Checking if host is POSIX compliant... no
Checking whether to have a verbose build... no
Checking for Ogg Vorbis... yes
Checking for Tremor... no (Ogg Vorbis/Tremor support is mutually exclusive)
Checking for FLAC >= 1.1.3... yes
Checking for MAD... yes
Checking for PNG >= 1.2.8... yes
Checking for zlib... yes
Checking for FreeType... 2.6.2
Checking for Boost => 1.32.0... no
Checking whether iconv.h is present... yes
Checking whether iconv needs linking against libiconv... no
Checking signature of iconv... iconv_t, const char , size_t *, char , size_t *
Checking for iconv... yes
Looking for wx-config... none found!

Creating config.h

C++ engines/cine/decine.o
LINK decine
C++ engines/gob/degob.o

engines/gob/degob.cpp: In function 'int getVersion(const char*)':
engines/gob/degob.cpp:132:35: error: 'strcasecmp' was not declared in this scope

if (!scumm_stricmp(verStr, "Gob1"))

engines/gob/degob.cpp: In function 'void printInfo(Script&)':
engines/gob/degob.cpp:225:72: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint32 {aka long unsigned int}' [-Wformat=]

printf("%d, directly embedded in the TOT\n", script.getTotTextCount());

engines/gob/degob.cpp:229:87: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'uint32 {aka long unsigned int}' [-Wformat=]

printf("%d, starting at 0x%08X\n", script.getTotResCount(), script.getTotResOffset());

gmake: * [engines/gob/degob.o] Error 1

gcc (adtools build 5.3.0) 5.3.0
AmigaOS4 - SDL(2) - BE - PPC

Change History (1)

comment:1 Changed 8 months ago by raziel-

Owner: set to unkown
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.