Opened 12 years ago

Closed 11 years ago

Last modified 6 months ago

#3296 closed defect (fixed)

PSP: Compilation failed with lastest toolchain

Reported by: SF/pinkley Owned by: joostp
Priority: normal Component: Port: PSP
Keywords: Cc:
Game:

Description

Last svn version.
Last PSP toolchain version.

mkdir -p tools/.deps
cc -Wall -o tools/convbdf ../../../tools/convbdf.c
mkdir -p tools/.deps
cc -Wall -o tools/md5table ../../../tools/md5table.c
mkdir -p ./.deps
psp-g++ -Wp,-MMD,"./.deps/psp_main.d",-MQ,"psp_main.o",-MP -I../../.. -I. -I../../../engines/ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -Wall -D__PSP__ -DNONSTANDARD_PORT -DUSE_ZLIB -Wno-multichar `/usr/local/pspdev/psp/sdk/../bin/sdl-config --cflags` -DUSE_MAD -DUSE_VORBIS -DUSE_TREMOR -fno-exceptions -fno-rtti -DDISABLE_SCALERS -DDISABLE_HQ_SCALERS -c psp_main.cpp -o psp_main.o
../../../common/scummsys.h:374: erreur: conflicting declaration typedef int int32
/usr/local/pspdev/psp/sdk/include/psptypes.h:90: erreur: int32 has a previous declaration as typedef int32_t int32
make: *** [psp_main.o] Erreur 1

After having deleted line 90 in psptypes.h, it does work.

Ticket imported from: #1749559. Ticket imported from: bugs/3296.

Change History (8)

comment:1 Changed 12 years ago by sev-

As I understand, backends are intended to be compilable only with certain toolchain versions, so no wonder here.

comment:2 Changed 12 years ago by sev-

Owner: set to joostp

comment:3 Changed 12 years ago by fingolfin

Summary: Compilation failed on backend PSP with last toolchainPSP: Compilation failed with lastest toolchain

comment:4 Changed 12 years ago by fingolfin

Joost, care to comment on this?

comment:5 Changed 12 years ago by joostp

I don't get this error with my version of the toolchain (which is about a year old now), so it looks like this typedef in psptypes.h is `new`.
When I have some time to spend on ScummVM again I'll update to the latest toolchain and fix any problems with it, for now, removing this particular typedef from scummsys.h should do the trick.

comment:6 Changed 11 years ago by joostp

I've just installed the latest toolchain on a new machine, and it compiles the latest ScummVM source without problems.

I guess this problem solved itself.. :)

comment:7 Changed 11 years ago by joostp

Resolution: fixed
Status: newclosed

comment:8 Changed 6 months ago by digitall

Component: Port: PSP
Note: See TracTickets for help on using tickets.