#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 , 23 years ago
comment:2 by , 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 , 23 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 6 years ago
Component: | --Unset-- → Port: Linux |
---|
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