Opened 23 years ago

Closed 23 years ago

Last modified 6 years ago

#143 closed defect (invalid)

Undefined References in scummvm

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

Description

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: __gxx_personality_v0 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?

--codie

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

Change History (4)

comment:1 by (none), 23 years ago

Logged In: NO

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

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.

--codie

comment:2 by SF/ender, 23 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 software.

- Ender

comment:3 by SF/ender, 23 years ago

Resolution: invalid
Status: newclosed

comment:4 by digitall, 6 years ago

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