Opened 18 years ago

Closed 18 years ago

Last modified 11 months ago

#143 closed defect (invalid)

Undefined References in scummvm

Reported by: (none) Owned by:
Priority: normal Component: Port: Linux
Keywords: Cc:


When trying to compile the latest version of scummvm
(1.0b) and even the CVS (as of 4-7-02) if get the
following errors from gcc:

Undefined references to:
vtable for __cxxabiv1::__si_class_type_info
operator delete(void*)
operator new(unsigned)

All the errors come from /v3 /v4. I'm running Redhat
Linux 7.2, SDL 1.2.3, Kernel 2.4.18, gcc 3.0.2. The
problem also occurs trying to compile simon.

Any Ideas?


Ticket imported from: #540857. Ticket imported from: bugs/143.

Change History (4)

comment:1 by (none), 18 years ago

Logged In: NO

Alright, I've discovered the major problem and here's the

Compile scummvm and related tools with gcc-2.96 or similar.

Seems as if scummvm stuff has a nasty problem with gcc-3.0+
I duno understand why but that's why it wouldn't work for me
with these errors.


comment:2 by SF/ender, 18 years ago

You probably need to link against libstdc++ - a properly
configured compiler should do this automatically, but
Redhat is known to ship VERY VERY buggy compilers.

Please do not file bug reports against a GCC3 compiled
build - GCC3 is still beta itself, and introduces more bugs
into the program, expecially under RedHat. They like to
fiddle with it, and compilers are very delicate bits of

- Ender

comment:3 by SF/ender, 18 years ago

Resolution: invalid
Status: newclosed

comment:4 by digitall, 11 months ago

Component: --Unset--Port: Linux
Note: See TracTickets for help on using tickets.